profiling - Python's profile module: <string>:1(?) -
i using python's (v2.4) profile
module profile numpy
script, , following entry appears account bulk of execution time:
ncalls tottime percall cumtime percall filename:lineno(function) 256/1 0.000 0.000 7.710 7.710 <string>:1(?)
unfortunately, appearance makes hard google.
how go figuring out exactly?
edit profiler run shell follows: python -m profile -s cumulative script.py
ignore line. artifact of how profiler implemented. not telling useful. @ "tottime" value it: 0.000. "tottime" amount of time spent executing "<string>:1(?)" excluding time spent executing children of it. so, no time spent here. "cumtime" , "percall" large because include time spent in children. see http://docs.python.org/library/profile.html#cprofile.run more details.
Comments
Post a Comment