PageRenderTime 50ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

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

#
Python | 12 lines | 8 code | 3 blank | 1 comment | 1 complexity | c660e80a6b2a9c586bdbfd4bc4578b31 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  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)