Revision: 4307
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4307&view=rev
Author: mdboom
Date: 2007-11-15 08:29:40 -0800 (Thu, 15 Nov 2007)
Log Message:
-----------
Updated benchmark
Modified Paths:
--------------
branches/transforms/examples/simple_plot_fps.py
Modified: branches/transforms/examples/simple_plot_fps.py
===================================================================
--- branches/transforms/examples/simple_plot_fps.py 2007-11-15 16:28:54 UTC
(rev 4306)
+++ branches/transforms/examples/simple_plot_fps.py 2007-11-15 16:29:40 UTC
(rev 4307)
@@ -23,7 +23,12 @@
frames = 100.0
t = time.time()
+c = time.clock()
for i in xrange(int(frames)):
part = i / frames
axis([0.0, 1.0 - part, -1.0 + part, 1.0 - part])
-print "fps:", frames / (time.time() - t)
+wallclock = time.time() - t
+user = time.clock() - c
+print "wallclock:", wallclock
+print "user:", user
+print "fps:", frames / wallclock
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins