I'm probably missing something obvious, but why can't it just do a normal bzr log and then only display the relevant paths? Bzr log is fast after all.
: [dev ~/src]; time ~/bazaar/bzr-2.3.0/bzr log > /dev/null real 0m6.980s user 0m6.232s sys 0m0.195s
Anyway, here's the output for your script: : [dev ~/src/head]; python ~/bazaar/2.4-log-subdir/time_delta_search.py --path sub/dir --delta --filter Took 25.654s for 100 revisions (256 changes, 187584 file_ids) and path: sub/dir : [dev ~/src/head]; python ~/bazaar/2.4-log-subdir/time_delta_search.py --path sub/dir --filter Took 20.528s for 100 revisions (0 changes, 187584 file_ids) and path: sub/dir : [dev ~/src/head]; python ~/bazaar/2.4-log-subdir/time_delta_search.py --path sub/dir --delta Took 13.308s for 100 revisions (173 changes, 187584 file_ids) and path: sub/dir : [dev ~/src/head]; python ~/bazaar/2.4-log-subdir/time_delta_search.py --path sub/dir Took 3.807s for 100 revisions (0 changes, 187584 file_ids) and path: sub/dir
Those differences in the changes part doesn't really look that good...
I'm probably missing something obvious, but why can't it just do a normal bzr log and then only display the relevant paths? Bzr log is fast after all.
: [dev ~/src]; time ~/bazaar/ bzr-2.3. 0/bzr log > /dev/null
real 0m6.980s
user 0m6.232s
sys 0m0.195s
Anyway, here's the output for your script: 2.4-log- subdir/ time_delta_ search. py --path sub/dir --delta --filter 2.4-log- subdir/ time_delta_ search. py --path sub/dir --filter 2.4-log- subdir/ time_delta_ search. py --path sub/dir --delta 2.4-log- subdir/ time_delta_ search. py --path sub/dir
: [dev ~/src/head]; python ~/bazaar/
Took 25.654s for 100 revisions (256 changes, 187584 file_ids) and path: sub/dir
: [dev ~/src/head]; python ~/bazaar/
Took 20.528s for 100 revisions (0 changes, 187584 file_ids) and path: sub/dir
: [dev ~/src/head]; python ~/bazaar/
Took 13.308s for 100 revisions (173 changes, 187584 file_ids) and path: sub/dir
: [dev ~/src/head]; python ~/bazaar/
Took 3.807s for 100 revisions (0 changes, 187584 file_ids) and path: sub/dir
Those differences in the changes part doesn't really look that good...