swig/Examples/python/performance/hierarchy_operator/runme_baseline.py
2011-02-10 05:15:03 +00:00

11 lines
209 B
Python

#!/usr/bin/env python
import Simple_baseline
import time
t1 = time.clock()
x = Simple_baseline.H()
for i in range(10000000) :
x += i
t2 = time.clock()
print "Simple_baseline took %f seconds" % (t2 - t1)