Skip to content

Instantly share code, notes, and snippets.

@rtyler
Created June 22, 2009 00:25
Show Gist options
  • Select an option

  • Save rtyler/133731 to your computer and use it in GitHub Desktop.

Select an option

Save rtyler/133731 to your computer and use it in GitHub Desktop.
>>> DynamicSimpleCompilationTest (1000000 iterations)
% cumulative self
time seconds seconds name
48.52 133.64 109.47 Template.py:1018:__init__
19.07 46.23 43.03 Template.py:335:compile
6.68 21.61 15.08 Template.py:1412:_initCheetahInstance
4.23 29.53 9.54 DynamicallyCompiledCheetahTemplate.py:66:respond
4.14 9.34 9.34 Filters.py:26:filter
2.40 34.94 5.41 Template.py:996:__str__
2.29 138.82 5.17 DynamicallyCompiledCheetahTemplate.py:55:__init__
1.65 223.71 3.73 Performance.py:123:performanceSample
1.62 3.66 3.66 Indenter.py:95:__init__
1.50 3.38 3.38 DummyTransaction.py:35:getvalue
1.43 3.22 3.22 DummyTransaction.py:28:write
1.27 2.87 2.87 Filters.py:17:__init__
1.14 2.56 2.56 Servlet.py:51:__init__
1.01 2.28 2.28 Template.py:122:valOrDefault
0.93 2.96 2.10 DummyTransaction.py:67:response
0.85 225.62 1.91 Performance.py:91:runTest
0.49 1.10 1.10 DummyTransaction.py:64:__init__
0.38 0.85 0.85 DummyTransaction.py:22:__init__
0.21 0.48 0.48 Template.py:331:_getCompilerSettings
0.19 0.44 0.44 Template.py:327:_getCompilerClass
0.00 225.62 0.00 unittest.py:280:__call__
0.00 225.62 0.00 unittest.py:245:run
0.00 225.62 0.00 unittest.py:743:__init__
0.00 225.62 0.00 unittest.py:692:run
0.00 225.62 0.00 unittest.py:420:run
0.00 225.62 0.00 unittest.py:793:runTests
0.00 225.62 0.00 Performance.py:3:?
0.00 225.62 0.00 unittest.py:427:__call__
---
Sample count: 10293
Total time: 225.620000 seconds
.
----------------------------------------------------------------------
Ran 1 test in 226.216s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment