Rev 4431: Update time_graph to use X:1 ratios rather than 0.xxx ratios. in http://bazaar.launchpad.net/~jameinel/bzr/jam-gdfo-heads
John Arbash Meinel
john at arbash-meinel.com
Fri Jun 19 18:54:02 BST 2009
At http://bazaar.launchpad.net/~jameinel/bzr/jam-gdfo-heads
------------------------------------------------------------
revno: 4431
revision-id: john at arbash-meinel.com-20090619175337-uozt3bntdd48lh4z
parent: john at arbash-meinel.com-20090619174059-jzowjv0d86vzjg4m
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-gdfo-heads
timestamp: Fri 2009-06-19 12:53:37 -0500
message:
Update time_graph to use X:1 ratios rather than 0.xxx ratios.
It is just easier to track now that the new code is much faster.
-------------- next part --------------
=== modified file 'tools/time_graph.py'
--- a/tools/time_graph.py 2009-06-18 20:00:24 +0000
+++ b/tools/time_graph.py 2009-06-19 17:53:37 +0000
@@ -106,7 +106,8 @@
if opts.quick:
if known_python['heads'] != known_pyrex['heads']:
import pdb; pdb.set_trace()
- print 'ratio: %.3fs' % (known_pyrex['elapsed'] / known_python['elapsed'])
+ print 'ratio: %.1f:1 faster' % (
+ known_python['elapsed'] / known_pyrex['elapsed'],)
else:
orig = combi_graph(_simple_graph, combinations)
report('Orig', orig)
@@ -114,4 +115,5 @@
if orig['heads'] != known_pyrex['heads']:
import pdb; pdb.set_trace()
- print 'ratio: %.3fs' % (known_pyrex['elapsed'] / orig['elapsed'])
+ print 'ratio: %.1f:1 faster' % (
+ orig['elapsed'] / known_pyrex['elapsed'],)
More information about the bazaar-commits
mailing list