Skip to content

Instantly share code, notes, and snippets.

@rexissimus
Created February 11, 2015 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rexissimus/8272d3c776ccfa115d82 to your computer and use it in GitHub Desktop.
Save rexissimus/8272d3c776ccfa115d82 to your computer and use it in GitHub Desktop.
vtk wrapping xml reading and class creation
2892199 function calls (2868430 primitive calls) in 3.761 seconds
Ordered by: cumulative time
List reduced from 70 to 20 due to restriction <20>
ncalls tottime percall cumtime percall filename:lineno(function)
1 0.026 0.026 3.774 3.774 init.py:94(_init)
1 0.004 0.004 2.758 2.758 specs.py:57(read_from_xml)
1806 0.009 0.000 2.191 0.001 specs.py:250(from_xml)
1806 0.064 0.000 2.135 0.001 specs.py:151(from_xml)
14534 0.695 0.000 1.967 0.000 specs.py:323(internal_from_xml)
8382 0.009 0.000 1.178 0.000 specs.py:373(from_xml)
1806 0.205 0.000 0.989 0.001 init.py:51(gen_module)
29068 0.504 0.000 0.825 0.000 specs.py:283(set_defaults)
6152 0.007 0.000 0.805 0.000 specs.py:493(from_xml)
31651 0.098 0.000 0.777 0.000 ast.py:40(literal_eval)
1 0.000 0.000 0.563 0.563 <string>:60(parse)
1 0.000 0.000 0.563 0.563 <string>:23(parse)
1 0.563 0.563 0.563 0.563 {built-in method _parse}
31651 0.028 0.000 0.510 0.000 ast.py:32(parse)
14534 0.025 0.000 0.510 0.000 specs.py:278(__init__)
31651 0.482 0.000 0.482 0.000 {compile}
14534 0.062 0.000 0.481 0.000 specs.py:387(get_port_type)
12304 0.030 0.000 0.413 0.000 specs.py:488(set_defaults)
8382 0.014 0.000 0.253 0.000 specs.py:449(__init__)
898905 0.217 0.000 0.217 0.000 {isinstance}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment