comparison test/org/tmatesoft/hg/test/TestStatus.java @ 147:a05145db4d0c

Bring test repos along with us to recreate testbench
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 22 Feb 2011 15:49:26 +0100
parents 4a948ec83980
children c17a08095e44
comparison
equal deleted inserted replaced
146:8c9f729f4dfa 147:a05145db4d0c
157 /* 157 /*
158 * With warm-up of previous tests, 10 runs, time in milliseconds 158 * With warm-up of previous tests, 10 runs, time in milliseconds
159 * 'hg status -A': Native client total 953 (95 per run), Java client 94 (9) 159 * 'hg status -A': Native client total 953 (95 per run), Java client 94 (9)
160 * 'hg status -A --rev 3:80': Native client total 1828 (182 per run), Java client 235 (23) 160 * 'hg status -A --rev 3:80': Native client total 1828 (182 per run), Java client 235 (23)
161 * 'hg log --debug', 10 runs: Native client total 1766 (176 per run), Java client 78 (7) 161 * 'hg log --debug', 10 runs: Native client total 1766 (176 per run), Java client 78 (7)
162 *
163 * 18.02.2011
164 * 'hg status -A --rev 3:80', 10 runs: Native client total 2000 (200 per run), Java client 250 (25)
165 * 'hg log --debug', 10 runs: Native client total 2297 (229 per run), Java client 125 (12)
162 */ 166 */
163 public void testPerformance() throws Exception { 167 public void testPerformance() throws Exception {
164 final int runs = 10; 168 final int runs = 10;
165 final long start1 = System.currentTimeMillis(); 169 final long start1 = System.currentTimeMillis();
166 for (int i = 0; i < runs; i++) { 170 for (int i = 0; i < runs; i++) {