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

12 lines
172 B
Python

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