PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Python | 12 lines | 8 code | 3 blank | 1 comment | 2 complexity | c660e80a6b2a9c586bdbfd4bc4578b31 MD5 | raw file
 1#!/usr/bin/env
 2
 3import sys
 4sys.path.append('..')
 5import harness
 6
 7def proc (mod) :
 8    x = mod.H()
 9    for i in range(10000000) :
10        x.func()
11
12harness.run(proc)