- 08 Sep, 2002 4 commits
-
-
Guido van Rossum authored
Sort options alphabetically. Remove dependency between -S, -q and -v options (-S no longer disables -q and enables -v). Remove dependency between -S and -h (histogram is printed regardless of dostats).
-
Guido van Rossum authored
in, right, Jeremy? :-)
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
- 07 Sep, 2002 6 commits
-
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
Repair comments in _call() about how wait() handles reply lock.
-
Jeremy Hylton authored
# NB: commit() is responsible for calling tpc_begin() on the storage. # It uses self._begun to track whether it has been called. When # self._begun is None, it has not been called. # This arrangement allows us to handle the special case of a # transaction with no modified objects. It is possible for # registration to be occur unintentionally and for a persistent # object to compensate by making itself as unchanged. When this # happens, it's possible to commit a transaction with no modified # objects. # Since tpc_begin() may raise a ReadOnlyError, don't call it if there # are no objects. This avoids spurious (?) errors when working with # a read-only storage. Add code to handle this in Connection's tpc_begin() and commit() methods. Add two tests in testZODB.
-
Jeremy Hylton authored
An earlier revision (1.68) fixed invalidation code when an object had no oid (oid == None). There is no longer anyway to get None in _invalidated, and it has been a long time since a None there meant "invalidate everything." At long last, then, remove all the code deal with the invalidate everything behavior.
-
Jeremy Hylton authored
-
- 06 Sep, 2002 9 commits
-
-
Guido van Rossum authored
invalidations instead of only the ones that hit the cache. - Support reading gzipped files. This is triggered automatically when the filename ends in .gz. Also support reading from stdin (pass '-' as filename). - Widen the FLIPS column by one to match the EVICTS column width of the LRU simulation. - Support simulating alternative caching strategies. For now, only LRU is supported, triggered by the -l option. - Change the Simulation base class to store the cachelimit argument. (The constructor signature must be the same across all subclasses.)
-
Guido van Rossum authored
the filename ends in .gz. Also support reading from stdin (pass '-' as filename).
-
Guido van Rossum authored
base class.
-
Guido van Rossum authored
report overall statistics for all columns.
-
Jeremy Hylton authored
-
Guido van Rossum authored
-
Guido van Rossum authored
ZEO_CACHE_TRACE set (see stats.py for file format description).
-
Guido van Rossum authored
correct header sizes.
-
Guido van Rossum authored
-
- 05 Sep, 2002 6 commits
-
-
Guido van Rossum authored
loads and hits and the hit rate is now reported every 15 minutes.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Toby Dickenson authored
added DanglingReferenceError. A new exception for storages to report the fact that a transaction is storing a reference to an object that does not exist. Doing this is 'a bad thing', although it is not entirely clear that it is prohibited. So far only DirectoryStorage makes this check. This is given its own exception class because some code may be able to catch it, and regenerate the object that the storage thinks does not exist.
-
- 04 Sep, 2002 6 commits
-
-
Jeremy Hylton authored
p can be negative, which merely means the offset is in the other file.
-
Jeremy Hylton authored
p can be negative, which merely means the offset is in the other file.
-
Guido van Rossum authored
- Always print start and flip events. Add the newline before the stats back.
-
Guido van Rossum authored
-
Guido van Rossum authored
records). Report distribution of "current file" bit.
-
Guido van Rossum authored
trace data; first and last timestamp, and their difference in seconds; how many records had their version bit set. - All large numbers reported are formatted with commas (e.g. '1,234,567').
-
- 30 Aug, 2002 7 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
more. (ZEO1 will follow after lunch.)
-
Guido van Rossum authored
records. This is much faster (the old code took 16 second to write 120,000 records on my home box, the new code takes about 2.7 seconds). A new script, stats.py, is provided to analyze statistics.
-
- 29 Aug, 2002 2 commits
-
-
Jeremy Hylton authored
As suggested by Toby Dickenson.
-
Jeremy Hylton authored
-