2007-01-05

bzr/hg performance comparison with newest versions

Actually, the numbers come from bzr .13 and a checkout of hg that I updated after 0.9.3 came out. The performance numbers straight from my comparison script are below. Do realize I did not update the software on my server. I am only doing this because someone asked.

+ Create/initialize the main repository
- time
* bzr : 1.38 sec.
* bzr_shared_repo: 1.23 sec.
* hg : 0.60 sec.
- disk usage
* bzr : 0 KB
* bzr_shared_repo: 0 KB
* hg : 0 KB
+ Add the test files
- time
* bzr : 2.17 sec.
* bzr_shared_repo: 1.85 sec.
* hg : 1.07 sec.
- disk usage
* bzr : 397 KB
* bzr_shared_repo: 397 KB
* hg : 391 KB
+ Commit the adding of the test file
- time
* bzr : 6.86 sec.
* bzr_shared_repo: 7.78 sec.
* hg : 1.82 sec.
- disk usage
* bzr : 728 KB
* bzr_shared_repo: 434 KB
* hg : 587 KB
+ Commit an added line to the test files
- time
* bzr : 9.15 sec.
* bzr_shared_repo: 11.00 sec.
* hg : 1.85 sec.
- disk usage
* bzr : 753 KB
* bzr_shared_repo: 433 KB
* hg : 599 KB
+ Initialize repository on the server
- time
* bzr : 11.72 sec.
* bzr_shared_repo: 10.12 sec.
* hg : 2.89 sec.
- disk usage
* bzr : 753 KB
* bzr_shared_repo: 433 KB
* hg : 599 KB
+ Push local repository to server
- time
* bzr : 34.26 sec.
* bzr_shared_repo: 35.78 sec.
* hg : 2.74 sec.
- disk usage
* bzr : 753 KB
* bzr_shared_repo: 433 KB
* hg : 599 KB
+ Pull from server to create a pristine branch
- time
* bzr : 28.72 sec.
* bzr_shared_repo: 8.47 sec.
* hg : 3.72 sec.
- disk usage
* bzr : 1498 KB
* bzr_shared_repo: 1179 KB
* hg : 1195 KB
+ Clone local repository
- time
* bzr : 9.32 sec.
* bzr_shared_repo: 5.39 sec.
* hg : 1.97 sec.
- disk usage
* bzr : 2244 KB
* bzr_shared_repo: 1605 KB
* hg : 1790 KB
+ Commit change in cloned branch
- time
* bzr : 12.38 sec.
* bzr_shared_repo: 13.09 sec.
* hg : 2.57 sec.
- disk usage
* bzr : 784 KB
* bzr_shared_repo: 438 KB
* hg : 615 KB
+ Push changes to server
- time
* bzr : 27.53 sec.
* bzr_shared_repo: 26.01 sec.
* hg : 2.88 sec.
- disk usage
* bzr : 784 KB
* bzr_shared_repo: 438 KB
* hg : 615 KB
+ Pull from server to update pristine branch
- time
* bzr : 22.18 sec.
* bzr_shared_repo: 8.99 sec.
* hg : 5.09 sec.
- disk usage
* bzr : 787 KB
* bzr_shared_repo: 439 KB
* hg : 615 KB