[Python-checkins] python/nondist/sandbox/parrotbench t.py,1.2,1.3
gvanrossum at users.sourceforge.net
gvanrossum at users.sourceforge.net
Fri Jan 2 14:36:49 EST 2004
Update of /cvsroot/python/python/nondist/sandbox/parrotbench
In directory sc8-pr-cvs1:/tmp/cvs-serv5400
Modified Files:
t.py
Log Message:
Fix the timing driver now that b.py has a main() of itself.
Index: t.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/parrotbench/t.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** t.py 31 Dec 2003 21:51:48 -0000 1.2
--- t.py 2 Jan 2004 19:36:46 -0000 1.3
***************
*** 3,7 ****
import time
t0 = time.clock()
! import b
t1 = time.clock()
print >>sys.stderr, "%.3f seconds" % (t1-t0)
--- 3,7 ----
import time
t0 = time.clock()
! import b; b.main()
t1 = time.clock()
print >>sys.stderr, "%.3f seconds" % (t1-t0)
More information about the Python-checkins
mailing list