Files
ANSLibs/swig-4.3.0/Examples/python/performance/func/runme.py

12 lines
153 B
Python
Raw Normal View History

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