Skip to content

Instantly share code, notes, and snippets.

@ncdc
Created May 2, 2011 16:20
Show Gist options
  • Save ncdc/951862 to your computer and use it in GitHub Desktop.
Save ncdc/951862 to your computer and use it in GitHub Desktop.
mock --shell python profile results
18028 function calls (17395 primitive calls) in 56.449 CPU seconds
Ordered by: internal time, call count
List reduced from 883 to 20 due to restriction <20>
ncalls tottime percall cumtime percall filename:lineno(function)
10 51.451 5.145 51.451 5.145 subprocess.py:896(_execute_child)
1 4.677 4.677 56.449 56.449 mock:550(main)
10 0.171 0.017 0.171 0.017 util.py:216(logOutput)
1 0.009 0.009 0.010 0.010 sre_compile.py:296(_optimize_unicode)
1 0.007 0.007 0.021 0.021 __init__.py:9(?)
123 0.006 0.000 0.017 0.000 sre_compile.py:202(_optimize_charset)
1 0.005 0.005 0.049 0.049 __init__.py:19(?)
126/35 0.005 0.000 0.011 0.000 sre_parse.py:374(_parse)
93/15 0.004 0.000 51.765 3.451 trace_decorator.py:42(trace)
262 0.004 0.000 0.007 0.000 __init__.py:206(__init__)
1 0.004 0.004 0.047 0.047 grabber.py:365(?)
1 0.003 0.003 0.020 0.020 urllib2.py:71(?)
9 0.003 0.000 0.003 0.000 copy_reg.py:94(_slotnames)
228/32 0.003 0.000 0.020 0.001 sre_compile.py:27(_compile)
186 0.003 0.000 0.010 0.000 trace_decorator.py:30(doLog)
1801 0.002 0.000 0.002 0.000 sre_parse.py:182(__next)
1 0.002 0.002 0.099 0.099 output.py:3(?)
10 0.002 0.000 51.630 5.163 util.py:273(do)
1 0.002 0.002 0.018 0.018 comps.py:16(?)
324/129 0.002 0.000 0.002 0.000 sre_parse.py:140(getwidth)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment