Rev 21: adding some timing info in http://bzr.arbash-meinel.com/plugins/test_graph

John Arbash Meinel john at arbash-meinel.com
Fri Apr 25 03:48:05 BST 2008


At http://bzr.arbash-meinel.com/plugins/test_graph

------------------------------------------------------------
revno: 21
revision-id: john at arbash-meinel.com-20080425024205-a0flyyhm20ivpw73
parent: john at arbash-meinel.com-20080424223243-mu6fvbl4msr8vl58
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: test_graph
timestamp: Thu 2008-04-24 21:42:05 -0500
message:
  adding some timing info
added:
  tweak_timings.txt              tweak_timings.txt-20080425024200-kdg1netm0v7ubh8d-1
-------------- next part --------------
=== added file 'tweak_timings.txt'
--- a/tweak_timings.txt	1970-01-01 00:00:00 +0000
+++ b/tweak_timings.txt	2008-04-25 02:42:05 +0000
@@ -0,0 +1,91 @@
+find_seen_ancestors()*n
+
+~/dev/bzr/1.4-dev/find_unique_ancestors/bzr test-graph 
+getting revision_graph
+getting rev_id map
+Cache hit: 13305, miss: 9592, inner: 0, nodes: 8462                            
+trivial unique:                                                                
+{'avg_time': 0.00054945054945058198,
+ 'count': 4823,
+ 'max_rev': 'mbp at sourcefrog.net-20050711064100-c2eb947e0212f487',
+ 'max_time': 0.030000000000001137,
+ 'min_rev': 'pqm at pqm.ubuntu.com-20070321043308-436d9f24274a7e49',
+ 'min_time': 0.0,
+ 'total_time': 2.6500000000001567}
+find unique:
+{'avg_time': 0.097586564379016569,
+ 'count': 4823,
+ 'max_rev': 'robertc at robertcollins.net-20080206040642-2efx3l4iv5f95lxp',
+ 'max_time': 3.1399999999999864,
+ 'min_rev': 'pqm at pqm.ubuntu.com-20060609114357-8314adbc35000d24',
+ 'min_time': 0.0,
+ 'total_time': 470.6599999999969}
+
+--count=100
+time ~/dev/bzr/1.4-dev/find_unique_ancestors/bzr test-graph --count=100 
+getting revision_graph
+getting rev_id map
+Cache hit: 13305, miss: 9592, inner: 0, nodes: 8462                            
+trivial unique:                                                                
+{'avg_time': 0.00089999999999987421,
+ 'count': 100,
+ 'max_rev': 'pqm at pqm.ubuntu.com-20080411023221-tiv070pmkmf5q726',
+ 'max_time': 0.010000000000001563,
+ 'min_rev': 'pqm at pqm.ubuntu.com-20080410210348-pb55271fnuv0huk0',
+ 'min_time': 0.0,
+ 'total_time': 0.089999999999987423}
+find unique:
+{'avg_time': 0.25580000000000025,
+ 'count': 100,
+ 'max_rev': 'bialix at ukr.net-20080403205142-7b3q6eh1zhojuy0d',
+ 'max_time': 2.5800000000000018,
+ 'min_rev': 'pqm at pqm.ubuntu.com-20080416060444-1mgq4chv82tgm2sc',
+ 'min_time': 0.0,
+ 'total_time': 25.580000000000023}
+~/dev/bzr/1.4-dev/find_unique_ancestors/bzr test-graph --count=100  41.26s user 0.49s system 99% cpu 41.776 total
+
+
+start_searching no query
+time ~/dev/bzr/1.4-dev/find_unique_ancestors/bzr test-graph 
+getting revision_graph
+getting rev_id map
+Cache hit: 13305, miss: 9592, inner: 0, nodes: 8462                            
+trivial unique:                                                                
+{'avg_time': 0.00042919344806136088,
+ 'count': 4823,
+ 'max_rev': 'mbp at sourcefrog.net-20050711064100-c2eb947e0212f487',
+ 'max_time': 0.030000000000001137,
+ 'min_rev': 'pqm at pqm.ubuntu.com-20070321043308-436d9f24274a7e49',
+ 'min_time': 0.0,
+ 'total_time': 2.0699999999999434}
+find unique:
+{'avg_time': 0.063105950653119774,
+ 'count': 4823,
+ 'max_rev': 'robertc at robertcollins.net-20080206040642-2efx3l4iv5f95lxp',
+ 'max_time': 1.75,
+ 'min_rev': 'pqm at pqm.ubuntu.com-20060609114357-8314adbc35000d24',
+ 'min_time': 0.0,
+ 'total_time': 304.35999999999666}
+~/dev/bzr/1.4-dev/find_unique_ancestors/bzr test-graph  329.01s user 3.53s system 99% cpu 5:32.69 total
+
+--count=100
+getting revision_graph
+getting rev_id map
+Cache hit: 13305, miss: 9592, inner: 0, nodes: 8462                            
+trivial unique:                                                                
+{'avg_time': 0.000899999999999963,
+ 'count': 100,
+ 'max_rev': 'john at arbash-meinel.com-20080422200449-mknvyea4ndx8uxw0',
+ 'max_time': 0.010000000000005116,
+ 'min_rev': 'pqm at pqm.ubuntu.com-20080410210348-pb55271fnuv0huk0',
+ 'min_time': 0.0,
+ 'total_time': 0.089999999999996305}
+find unique:
+{'avg_time': 0.17420000000000019,
+ 'count': 100,
+ 'max_rev': 'bialix at ukr.net-20080403205142-7b3q6eh1zhojuy0d',
+ 'max_time': 2.2000000000000011,
+ 'min_rev': 'pqm at pqm.ubuntu.com-20080416060444-1mgq4chv82tgm2sc',
+ 'min_time': 0.0,
+ 'total_time': 17.420000000000019}
+



More information about the bazaar-commits mailing list