swig/Examples/test-suite/python/profiletest_runme.py
Marcelo Matus 0b945f2dd3 added profile test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5981 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-06-14 09:09:12 +00:00

7 lines
148 B
Python

import _profiletest
#import profiletest
a = _profiletest.new_A()
b = _profiletest.new_B()
for i in range(0,1000000):
a = _profiletest.B_fn(b, a)