Created
January 16, 2016 19:18
-
-
Save oakmac/6d51111a1ed5b67ab30d to your computer and use it in GitHub Desktop.
parinfer.py v0.5.0 perf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Testing file with 2864 lines | |
Indent Mode: 0.241771 s | |
Paren Mode: 0.253551 s | |
1021812 function calls in 0.480 seconds | |
Ordered by: standard name | |
ncalls tottime percall cumtime percall filename:lineno(function) | |
1 0.000 0.000 0.480 0.480 <string>:1(<module>) | |
303 0.000 0.000 0.000 0.000 parinfer.py:119(cacheErrorPos) | |
2510 0.001 0.000 0.001 0.000 parinfer.py:143(insertWithinString) | |
2874 0.001 0.000 0.001 0.000 parinfer.py:146(replaceWithinString) | |
1807 0.001 0.000 0.001 0.000 parinfer.py:149(removeWithinString) | |
1 0.000 0.000 0.000 0.000 parinfer.py:160(getLineEnding) | |
2510 0.001 0.000 0.002 0.000 parinfer.py:170(insertWithinLine) | |
2874 0.001 0.000 0.002 0.000 parinfer.py:174(replaceWithinLine) | |
1807 0.001 0.000 0.001 0.000 parinfer.py:178(removeWithinLine) | |
2865 0.002 0.000 0.002 0.000 parinfer.py:182(initLine) | |
112432 0.047 0.000 0.057 0.000 parinfer.py:191(commitChar) | |
14385 0.005 0.000 0.005 0.000 parinfer.py:208(peek) | |
4231 0.003 0.000 0.004 0.000 parinfer.py:218(isValidCloseParen) | |
4274 0.003 0.000 0.003 0.000 parinfer.py:223(onOpenParen) | |
4222 0.004 0.000 0.007 0.000 parinfer.py:232(onMatchedCloseParen) | |
9 0.000 0.000 0.000 0.000 parinfer.py:239(onUnmatchedCloseParen) | |
4274 0.003 0.000 0.014 0.000 parinfer.py:242(onCloseParen) | |
126 0.000 0.000 0.000 0.000 parinfer.py:253(onSemicolon) | |
2865 0.001 0.000 0.001 0.000 parinfer.py:258(onNewLine) | |
606 0.000 0.000 0.000 0.000 parinfer.py:262(onQuote) | |
15 0.000 0.000 0.000 0.000 parinfer.py:273(onBackslash) | |
15 0.000 0.000 0.000 0.000 parinfer.py:276(afterBackslash) | |
112432 0.089 0.000 0.147 0.000 parinfer.py:285(onChar) | |
2510 0.001 0.000 0.001 0.000 parinfer.py:315(isCursorOnRight) | |
112432 0.092 0.000 0.110 0.000 parinfer.py:336(updateParenTrailBounds) | |
2510 0.001 0.000 0.002 0.000 parinfer.py:356(truncateParenTrailBounds) | |
2510 0.004 0.000 0.007 0.000 parinfer.py:378(removeParenTrail) | |
2510 0.006 0.000 0.011 0.000 parinfer.py:391(correctParenTrail) | |
112417 0.021 0.000 0.021 0.000 parinfer.py:43(isOpenParen) | |
2510 0.002 0.000 0.010 0.000 parinfer.py:432(finishNewParenTrail) | |
211373 0.037 0.000 0.037 0.000 parinfer.py:46(isCloseParen) | |
2509 0.001 0.000 0.013 0.000 parinfer.py:462(onProperIndent) | |
2809 0.002 0.000 0.015 0.000 parinfer.py:486(onIndent) | |
112432 0.107 0.000 0.435 0.000 parinfer.py:499(processChar) | |
2865 0.031 0.000 0.479 0.000 parinfer.py:519(processLine) | |
1 0.000 0.000 0.000 0.000 parinfer.py:53(initialResult) | |
1 0.000 0.000 0.000 0.000 parinfer.py:535(finalizeResult) | |
1 0.001 0.001 0.480 0.480 parinfer.py:563(processText) | |
1 0.000 0.000 0.000 0.000 parinfer.py:580(getChangedLines) | |
1 0.000 0.000 0.000 0.000 parinfer.py:590(publicResult) | |
1 0.000 0.000 0.480 0.480 parinfer.py:609(indent_mode) | |
1 0.000 0.000 0.000 0.000 {isinstance} | |
148431 0.009 0.000 0.009 0.000 {len} | |
14997 0.002 0.000 0.002 0.000 {method 'append' of 'list' objects} | |
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects} | |
1 0.000 0.000 0.000 0.000 {method 'find' of 'str' objects} | |
1 0.000 0.000 0.000 0.000 {method 'join' of 'str' objects} | |
11547 0.002 0.000 0.002 0.000 {method 'pop' of 'list' objects} | |
1 0.000 0.000 0.000 0.000 {method 'split' of 'str' objects} | |
1 0.000 0.000 0.000 0.000 {range} | |
1101021 function calls in 0.522 seconds | |
Ordered by: standard name | |
ncalls tottime percall cumtime percall filename:lineno(function) | |
1 0.000 0.000 0.522 0.522 <string>:1(<module>) | |
303 0.000 0.000 0.000 0.000 parinfer.py:119(cacheErrorPos) | |
2956 0.001 0.000 0.001 0.000 parinfer.py:146(replaceWithinString) | |
88 0.000 0.000 0.000 0.000 parinfer.py:152(multiplyString) | |
1 0.000 0.000 0.000 0.000 parinfer.py:160(getLineEnding) | |
2956 0.002 0.000 0.002 0.000 parinfer.py:174(replaceWithinLine) | |
2865 0.002 0.000 0.002 0.000 parinfer.py:182(initLine) | |
112432 0.047 0.000 0.057 0.000 parinfer.py:191(commitChar) | |
2510 0.001 0.000 0.002 0.000 parinfer.py:201(clamp) | |
10972 0.004 0.000 0.004 0.000 parinfer.py:208(peek) | |
4231 0.002 0.000 0.005 0.000 parinfer.py:218(isValidCloseParen) | |
4274 0.003 0.000 0.003 0.000 parinfer.py:223(onOpenParen) | |
4231 0.005 0.000 0.007 0.000 parinfer.py:232(onMatchedCloseParen) | |
4274 0.003 0.000 0.015 0.000 parinfer.py:242(onCloseParen) | |
126 0.000 0.000 0.000 0.000 parinfer.py:253(onSemicolon) | |
2865 0.001 0.000 0.001 0.000 parinfer.py:258(onNewLine) | |
606 0.000 0.000 0.000 0.000 parinfer.py:262(onQuote) | |
15 0.000 0.000 0.000 0.000 parinfer.py:273(onBackslash) | |
15 0.000 0.000 0.000 0.000 parinfer.py:276(afterBackslash) | |
112432 0.089 0.000 0.147 0.000 parinfer.py:285(onChar) | |
112432 0.022 0.000 0.022 0.000 parinfer.py:324(handleCursorDelta) | |
112432 0.094 0.000 0.112 0.000 parinfer.py:336(updateParenTrailBounds) | |
2510 0.003 0.000 0.004 0.000 parinfer.py:404(cleanParenTrail) | |
112417 0.021 0.000 0.021 0.000 parinfer.py:43(isOpenParen) | |
2510 0.001 0.000 0.006 0.000 parinfer.py:432(finishNewParenTrail) | |
2510 0.003 0.000 0.006 0.000 parinfer.py:443(correctIndent) | |
215055 0.037 0.000 0.037 0.000 parinfer.py:46(isCloseParen) | |
2510 0.001 0.000 0.008 0.000 parinfer.py:462(onProperIndent) | |
2821 0.002 0.000 0.010 0.000 parinfer.py:486(onIndent) | |
112432 0.134 0.000 0.482 0.000 parinfer.py:499(processChar) | |
2865 0.031 0.000 0.521 0.000 parinfer.py:519(processLine) | |
1 0.000 0.000 0.000 0.000 parinfer.py:53(initialResult) | |
1 0.000 0.000 0.000 0.000 parinfer.py:535(finalizeResult) | |
1 0.001 0.001 0.522 0.522 parinfer.py:563(processText) | |
1 0.000 0.000 0.000 0.000 parinfer.py:580(getChangedLines) | |
1 0.000 0.000 0.000 0.000 parinfer.py:590(publicResult) | |
1 0.000 0.000 0.522 0.522 parinfer.py:613(paren_mode) | |
1 0.000 0.000 0.000 0.000 {isinstance} | |
130502 0.009 0.000 0.009 0.000 {len} | |
2510 0.001 0.000 0.001 0.000 {max} | |
11418 0.001 0.000 0.001 0.000 {method 'append' of 'list' objects} | |
1 0.000 0.000 0.000 0.000 {method 'disable' of '_lsprof.Profiler' objects} | |
1 0.000 0.000 0.000 0.000 {method 'find' of 'str' objects} | |
1 0.000 0.000 0.000 0.000 {method 'join' of 'str' objects} | |
4231 0.001 0.000 0.001 0.000 {method 'pop' of 'list' objects} | |
1 0.000 0.000 0.000 0.000 {method 'split' of 'str' objects} | |
1806 0.000 0.000 0.000 0.000 {min} | |
1896 0.001 0.000 0.001 0.000 {range} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment