← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 4021: set number of iterations to be run correctly (thanks Alex)

 

------------------------------------------------------------
revno: 4021
committer: Klaus Thoeni <klaus.thoeni@xxxxxxxxx>
timestamp: Thu 2014-06-12 15:01:21 +1000
message:
  set number of iterations to be run correctly (thanks Alex)
modified:
  examples/test/performance/checkPerf.py


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'examples/test/performance/checkPerf.py'
--- examples/test/performance/checkPerf.py	2014-06-10 03:36:47 +0000
+++ examples/test/performance/checkPerf.py	2014-06-12 05:01:21 +0000
@@ -87,8 +87,8 @@
 		O.timingEnabled=True
 		timing.reset()
 		tStart=time.time()
-		# add initIter to nbIter to so that the iterations considered in the perfromance analysis are actually nbIter
-		O.run(nbIter+initIter)
+		# run nbIter iterations
+		O.run(nbIter)
 		O.wait()
 		
 		tEnd=time.time()