/trunk/Examples/python/performance/hierarchy/runme.py

# · Python · 12 lines · 8 code · 3 blank · 1 comment · 1 complexity · c660e80a6b2a9c586bdbfd4bc4578b31 MD5 · raw file

  1. #!/usr/bin/env
  2. import sys
  3. sys.path.append('..')
  4. import harness
  5. def proc (mod) :
  6. x = mod.H()
  7. for i in range(10000000) :
  8. x.func()
  9. harness.run(proc)