swig/Examples/python/performance/hierarchy_operator/runme.py

12 lines
145 B
Python

import sys
sys.path.append("..")
import harness
def proc(mod):
x = mod.H()
for i in range(10000000):
x += i
harness.run(proc)