Skip to content

Instantly share code, notes, and snippets.

@ibizaman
Created April 8, 2014 15:46
Show Gist options
  • Select an option

  • Save ibizaman/10145789 to your computer and use it in GitHub Desktop.

Select an option

Save ibizaman/10145789 to your computer and use it in GitHub Desktop.
$ python3 test-readprofile.py
Tue Apr 8 17:35:52 2014 test-profile
140495070 function calls (140454591 primitive calls) in 1561.324 seconds
Ordered by: internal time
List reduced from 442 to 10 due to restriction <10>
ncalls tottime percall cumtime percall filename:lineno(function)
2679 1312.656 0.490 1547.644 0.578 /users/ppx/python/baron-master/baron/utils.py:61(grab_string)
34258583 96.213 0.000 109.990 0.000 /users/ppx/python/baron-master/baron/utils.py:41(show_next)
17495785 54.746 0.000 61.936 0.000 /users/ppx/python/baron-master/baron/utils.py:26(__next__)
17506502 33.092 0.000 95.028 0.000 {built-in method next}
16773514 30.279 0.000 80.507 0.000 /users/ppx/python/baron-master/baron/spliter.py:36(<lambda>)
52235396/52235319 21.099 0.000 21.099 0.000 {built-in method len}
388459 3.644 0.000 3.644 0.000 {method 'match' of '_sre.SRE_Pattern' objects}
69654 0.707 0.000 0.919 0.000 /celestite/projects/cso-cpcc/Python/lib/python3.3/site-packages/rply-0.7.2-py3.3.egg/rply/parser.py:63(_reduce_production)
42941 0.606 0.000 0.860 0.000 /celestite/projects/cso-cpcc/Python/lib/python3.3/functools.py:155(_make_key)
10716 0.510 0.000 1548.873 0.145 /users/ppx/python/baron-master/baron/spliter.py:9(split_generator)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment