~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2474.1.46.

  • Committer: John Arbash Meinel
  • Date: 2007-05-07 20:28:04 UTC
  • mto: This revision was merged to the branch mainline in revision 2643.
  • Revision ID: john@arbash-meinel.com-20070507202804-5w45ajlfp3xoc3kl
Finish implementing _c_read_dirblocks for any number of parents.
bench_dirstate.BenchmarkDirState.test__c_read_dirblocks_20k_tree_0_parents    OK      367ms/    4353ms
bench_dirstate.BenchmarkDirState.test__c_read_dirblocks_20k_tree_1_parent     OK      594ms/    8958ms
bench_dirstate.BenchmarkDirState.test__c_read_dirblocks_20k_tree_2_parents    OK      842ms/   10490ms
bench_dirstate.BenchmarkDirState.test__py_read_dirblocks_20k_tree_0_parents   OK      560ms/    4298ms
bench_dirstate.BenchmarkDirState.test__py_read_dirblocks_20k_tree_1_parent    OK      692ms/    8658ms
bench_dirstate.BenchmarkDirState.test__py_read_dirblocks_20k_tree_2_parents   OK     1006ms/   10710ms

So overall the performance benefit is about 15-30%

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: