Mike Dirolf
244ada075f
minor: update deprecated api
2010-01-08 16:40:05 -05:00
Mike Dirolf
826fb0d4db
Simplification of connection pooling.
...
Makes driver ~2x faster for simple benchmarks.
DEPRECATED pool_size, auto_start_request and timeout parameters to Connection
DEPRECATED Connection.start_request
Each thread now gets it's own socket reserved on it's first operation. Those
sockets are held until Connection.end_request is called by that thread, or
Connection.disconnect is called by any thread, or the thread dies.
Calling Connection.end_request allows the socket to be returned to the pool,
and to be used by other threads instead of creating a new socket. Judicious use
of this method is important for applications with many threads or with long
running threads that make few calls to PyMongo operations.
2010-01-08 15:13:50 -05:00
Mike Dirolf
54be5db873
removing all support for mongo-qa tests
...
allows us to remove SON.from_xml
- not deprecating this as it was used internally only AFAIK
therefore eliminates driver dependency on elementtree
2010-01-05 14:20:12 -05:00
Mike Dirolf
1d1346bef1
revert to old benchmark script, even though neither of these is really being used
2009-10-21 17:31:51 -04:00
Mike Dirolf
682ed95a89
API CHANGE: deprecating passing direction to ensure_index, create_index for single key - just creates an ascending index since direction doesn't matter
2009-09-02 17:38:35 -04:00
Mike Dirolf
76537ce5b7
minor: return posted data in benchmark script
2009-08-27 15:20:54 -04:00
Michael DIrolf
3b7ada5556
clean out pyd build artifacts as well MINOR
2009-06-08 16:49:54 -04:00
Mike Dirolf
fc381e38e0
new benchmark setup
2009-04-20 16:58:20 -04:00
Mike Dirolf
4aa0438f76
minor: clean script fails if cleaning fails
2009-04-08 14:01:52 -04:00
Mike Dirolf
9edafa2167
make sure we're using utc
2009-02-25 17:42:03 -05:00
Mike Dirolf
df221cf2fe
replace old benchmark suite with new one
2009-02-25 10:07:16 -05:00
Mike Dirolf
19f0d9a041
ops / second, fix range tests
2009-02-25 10:06:42 -05:00
Mike Dirolf
68667ef189
new benchmark suite
2009-02-24 17:42:49 -05:00
Mike Dirolf
f7a1349f74
oops -a by accident
...
This reverts commit 28d2d0cbb0 .
2009-02-23 18:05:47 -05:00
Mike Dirolf
28d2d0cbb0
use cursorInfo command instead of intr collection
2009-02-23 18:05:20 -05:00
Mike Dirolf
92f671958d
add simple auto-reconnect test script
2009-02-23 15:37:53 -05:00
Mike Dirolf
d8bca13d43
reraise to see why this is failing sometimes
2009-02-23 09:02:29 -05:00
Mike Dirolf
f167101a3e
changes to support python 2.4
2009-02-20 10:38:17 -05:00
Mike Dirolf
e37432d917
spam
2009-02-18 17:35:13 -05:00
Mike Dirolf
016a7b1c84
update driver tests to run gridfs tests
2009-02-18 16:44:01 -05:00
Mike Dirolf
75232ceefa
dont time remove(), decipherable output
2009-02-10 14:16:03 -05:00
Mike Dirolf
3f34c877cf
jim's benchmark
2009-02-10 14:10:37 -05:00
Mike Dirolf
ff31222ebf
doc
2009-02-09 16:14:34 -05:00
Mike Dirolf
2bbe311c2a
simple tool that fails if the _cbson module doesn't exist
2009-02-09 16:14:21 -05:00
Mike Dirolf
4a731c4c0d
don't worry about it if the file is already missing
2009-02-09 15:31:35 -05:00
Mike Dirolf
4dfcf3e872
more accurate benchmarking by adding _to_dict helper
2009-02-05 15:43:43 -05:00
Mike Dirolf
1b535bbbb2
hide to_dicts as _to_dicts
2009-02-05 15:40:07 -05:00
Mike Dirolf
f5aa8f66f1
just alias cProfile to profile
2009-02-05 14:43:02 -05:00
Mike Dirolf
6aba7c9cdb
support for the new driver tests
2009-02-05 10:35:24 -05:00
Mike Dirolf
bacf2de02b
make sure results are correct
2009-02-04 14:56:33 -05:00
Mike Dirolf
4639bf843f
clean script for hudson
2009-02-04 10:56:08 -05:00
Mike Dirolf
ff8a59125c
only print collections starting with dbs
2009-02-04 10:24:25 -05:00
Mike Dirolf
312f8c3cf3
c bool encoding
2009-02-04 10:03:26 -05:00
Mike Dirolf
4a3105d727
print one collection name per line, to match expected output
2009-02-04 09:37:11 -05:00
Mike Dirolf
69a9167a35
factor out common code for strings and unicode
2009-02-03 16:48:09 -05:00
Mike Dirolf
3f098ce8a7
admin and dbs test. remove circular test entirely. don't print anything if the test is skipped
2009-02-03 14:44:42 -05:00
Mike Dirolf
fab5ce00a3
output to file
2009-02-02 15:14:38 -05:00
Mike Dirolf
df11350493
oops. needs to be a list
2009-02-02 10:38:07 -05:00
Mike Dirolf
ee3cefc8e8
update driver tests script to use default db and add count1 test
2009-01-30 14:17:09 -05:00
Mike Dirolf
704fd8cc3f
simple benchmarking tests for bson module vs simplejson module
2009-01-28 16:37:06 -05:00
Mike Dirolf
b93126434b
again, work around if egg is installed
2009-01-28 16:35:13 -05:00
Mike Dirolf
25024a70ad
insert, not save
2009-01-27 15:50:33 -05:00
Mike Dirolf
006800411f
tests for the rest of the driver test framework
2009-01-27 15:45:10 -05:00
Mike Dirolf
12b3fc66c5
test functions don't do their own timing. framework will do the setup (removing the collection)
2009-01-27 15:33:28 -05:00
Mike Dirolf
b385d31340
doc on driver_tests.py
2009-01-27 15:13:01 -05:00
Mike Dirolf
27826d36b6
driver_tests.py. report timing to framework as well
2009-01-27 15:10:43 -05:00
Mike Dirolf
738e4dd786
first test implementation for kristina's framework
2009-01-27 14:15:57 -05:00
Mike Dirolf
adb7a06354
run validate.py from the base directory
2009-01-27 13:41:39 -05:00
Mike Dirolf
88a62b0c3e
license
2009-01-22 15:10:00 -05:00
Mike Dirolf
b1e2294a0b
move validate scripts to tools/ directory, add README there
2009-01-22 14:17:53 -05:00