Rev 2489: No need to benchmark bisect_dirblock_compiled_cached in http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/dirstate_pyrex
John Arbash Meinel
john at arbash-meinel.com
Fri May 4 17:03:42 BST 2007
At http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/dirstate_pyrex
------------------------------------------------------------
revno: 2489
revision-id: john at arbash-meinel.com-20070504160330-jai9q6h8ts1ddb2i
parent: john at arbash-meinel.com-20070504160216-v19b36wj16g0awwi
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: dirstate_pyrex
timestamp: Fri 2007-05-04 11:03:30 -0500
message:
No need to benchmark bisect_dirblock_compiled_cached
The cache isn't used in the compiled form.
modified:
bzrlib/benchmarks/bench_dirstate.py bench_dirstate.py-20070503203500-gs0pz6zkvjpq9l2x-1
-------------- next part --------------
=== modified file 'bzrlib/benchmarks/bench_dirstate.py'
--- a/bzrlib/benchmarks/bench_dirstate.py 2007-05-04 04:12:42 +0000
+++ b/bzrlib/benchmarks/bench_dirstate.py 2007-05-04 16:03:30 +0000
@@ -182,15 +182,3 @@
self.checkOffsets(offsets)
finally:
state.unlock()
-
- def test_bisect_dirblock_compiled_cached(self):
- self.requireFeature(CompiledDirstateHelpersFeature)
- from bzrlib.compiled.dirstate_helpers import bisect_dirblock
- state = self.build_10k_dirstate_dirs()
- state.lock_read()
- try:
- self.setup_paths_and_offsets(state)
- offsets = self.time(self.do_bisect_list_cached, bisect_dirblock)
- self.checkOffsets(offsets)
- finally:
- state.unlock()
More information about the bazaar-commits
mailing list