swig/Examples/python/performance/func/runme.py
2014-02-16 17:30:41 +00:00

10 lines
155 B
Python

import sys
sys.path.append('..')
import harness
def proc (mod) :
x = mod.MyClass()
for i in range(10000000) :
x.func()
harness.run(proc)