Another (unscientific) comparison of Mercurial and Bazaar
Fabio Machado de Oliveira
absfabio at terra.com.br
Tue Jul 31 20:16:02 BST 2007
My main performance issue would be with the commit command (if I could
get past the barrier of convincing 200+ people to change their version
control). A single file commit in a project with 10000 files and 115
directories:
1337607 function calls (1299480 primitive calls) in 32.526
CPU seconds
Ordered by: cumulative time
List reduced from 1023 to 20 due to restriction <20>
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.000 0.000 32.526 32.526
commands.py:368(run_argv_aliases)
1 0.002 0.002 32.518 32.518 builtins.py:2187(run)
10211/141 0.317 0.000 32.212 0.228 <string>:1(<module>)
1 0.000 0.000 31.648 31.648 workingtree_4.py:242(commit)
1 0.291 0.291 31.625 31.625 mutabletree.py:195(commit)
1 0.001 0.001 31.321 31.321 commit.py:161(commit)
1 0.064 0.064 26.271 26.271
commit.py:574(_update_builder_with_changes)
1 0.702 0.702 25.998 25.998
commit.py:625(_populate_from_inventory)
10042 0.441 0.000 14.977 0.001 commit.py:705(_record_entry)
10042 0.481 0.000 12.783 0.001
repository.py:1976(record_entry_contents)
10041 0.298 0.000 10.967 0.001 inventory.py:419(snapshot)
10042 0.447 0.000 7.785 0.001 workingtree_4.py:542(kind)
9927 0.399 0.000 6.928 0.001
inventory.py:700(_read_tree_state)
9927 1.242 0.000 5.441 0.001
workingtree_4.py:408(get_file_sha1)
19971 0.566 0.000 4.645 0.000
workingtree_4.py:390(_get_entry)
3 0.082 0.027 4.159 1.386 knit.py:741(_add)
2 0.038 0.019 3.835 1.918
knit.py:634(_merge_annotations)
19972 0.757 0.000 3.754 0.000 dirstate.py:1361(_get_entry)
1 0.000 0.000 3.400 3.400
inventory.py:440(_snapshot_into_revision)
1 0.009 0.009 3.400 3.400
inventory.py:719(_snapshot_text)
More information about the bazaar
mailing list