PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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

#
Python | 12 lines | 8 code | 3 blank | 1 comment | 2 complexity | ad3da7bd67df88a747f638d1e4975c15 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 += i
11
12harness.run(proc)