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

9 lines
141 B
Python

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