Packing takes one hour, and gets log -v time down from 46s to 38s:
$ time ./bzr log -v >& /dev/null
real 0m38.243s
user 0m36.830s
sys 0m1.072s
I'm attaching a profile of doing log -v in this scenario, can be opened using kcachegrind. Running with profiling enabled takes about 73s.
Here's a shell script to set everything up, it runs in about 6h on my system:
#!/bin/bash
set -e
set -x
date
bzr branch lp:bzr bzr-log-v-bench >& /dev/null
cd bzr-log-v-bench
date
time ./bzr log -v >& /dev/null
date
time ./bzr upgrade --development6-rich-root >& /dev/null
date
time ./bzr log -v >& /dev/null
date
time ./bzr pack >& /dev/null
date
time ./bzr log -v >& /dev/null
date
time ./bzr --lsprof-file ./callgrind.out log -v >& /dev/null
date
Packing takes one hour, and gets log -v time down from 46s to 38s:
$ time ./bzr log -v >& /dev/null
real 0m38.243s
user 0m36.830s
sys 0m1.072s
I'm attaching a profile of doing log -v in this scenario, can be opened using kcachegrind. Running with profiling enabled takes about 73s.
Here's a shell script to set everything up, it runs in about 6h on my system:
#!/bin/bash rich-root >& /dev/null
set -e
set -x
date
bzr branch lp:bzr bzr-log-v-bench >& /dev/null
cd bzr-log-v-bench
date
time ./bzr log -v >& /dev/null
date
time ./bzr upgrade --development6-
date
time ./bzr log -v >& /dev/null
date
time ./bzr pack >& /dev/null
date
time ./bzr log -v >& /dev/null
date
time ./bzr --lsprof-file ./callgrind.out log -v >& /dev/null
date