A. Jesse Jiryu Davis
2fa1750b07
Update copyright notices and company name.
2014-01-31 09:36:46 -05:00
A. Jesse Jiryu Davis
d35bec12e5
Tests use MongoClient instead of Connection PYTHON-451
2013-02-11 20:57:17 -05:00
behackett
0ee7170cc2
It's 2012...
2012-04-19 12:40:38 -07:00
Ross Lawley
341c391efb
PYTHON-305 updated replica pair test.
...
Connection syntax has changed.
Removed old auto reconnect test in tools as lots of
testcases for auto reconnect.
2012-02-09 08:50:20 -08:00
behackett
2ed05bec70
PEP8 cleanups.
2011-04-06 14:57:17 -07:00
Mike Dirolf
e9088badbc
update tools/clean.py
2010-09-14 16:41:21 -04:00
Mike Dirolf
789296c6ef
Split C extension in two (pymongo, bson) PYTHON-60
2010-09-14 13:55:41 -04:00
Mike Dirolf
7a79560f5f
better auto-reconnect test helper
2010-08-05 09:35:04 -04:00
Mike Dirolf
0726f21543
Rework connection handling, and add support for replSets
2010-07-15 11:58:10 -04:00
Mike Dirolf
3c2cb08edf
minor: cleaning
2010-04-05 15:51:22 -04:00
Mike Dirolf
03bcb23053
helper to check for C extension PYTHON-51
2010-03-10 10:16:44 -05:00
Mike Dirolf
3d7240e57f
It's 2010!
2010-01-30 10:48:26 -05:00
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