swig/Examples/python/performance/constructor/runme.py
2011-02-10 05:53:04 +00:00

11 lines
157 B
Python

#!/usr/bin/env
import sys
sys.path.append('..')
import harness
def proc (mod) :
for i in range(1000000) :
x = mod.MyClass()
harness.run(proc)