Created
February 3, 2016 01:41
-
-
Save oakmac/b4200f2cf98f856af32b to your computer and use it in GitHub Desktop.
parinfer.js performance using SENTINEL_NULL
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
performance for parinfer.js using SENTINEL_NULL | |
oakmac@oakmac-desktop:~/parinfer/lib$ node test/perf.js | |
Processing long_map_with_strings : 303 lines, 4380 chars | |
indent: 8.627ms | |
paren: 3.932ms | |
Processing really_long_file : 2865 lines, 112431 chars | |
indent: 12.117ms | |
paren: 22.751ms | |
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars | |
indent: 10.049ms | |
paren: 21.225ms | |
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars | |
indent: 8.921ms | |
paren: 22.232ms | |
oakmac@oakmac-desktop:~/parinfer/lib$ node test/perf.js | |
Processing long_map_with_strings : 303 lines, 4380 chars | |
indent: 8.683ms | |
paren: 3.962ms | |
Processing really_long_file : 2865 lines, 112431 chars | |
indent: 12.269ms | |
paren: 22.902ms | |
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars | |
indent: 9.812ms | |
paren: 22.225ms | |
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars | |
indent: 9.190ms | |
paren: 22.758ms | |
oakmac@oakmac-desktop:~/parinfer/lib$ node test/perf.js | |
Processing long_map_with_strings : 303 lines, 4380 chars | |
indent: 8.702ms | |
paren: 3.855ms | |
Processing really_long_file : 2865 lines, 112431 chars | |
indent: 11.992ms | |
paren: 23.607ms | |
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars | |
indent: 10.179ms | |
paren: 21.304ms | |
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars | |
indent: 9.076ms | |
paren: 22.347ms | |
oakmac@oakmac-desktop:~/parinfer/lib$ node test/perf.js | |
Processing long_map_with_strings : 303 lines, 4380 chars | |
indent: 8.830ms | |
paren: 3.880ms | |
Processing really_long_file : 2865 lines, 112431 chars | |
indent: 12.425ms | |
paren: 23.155ms | |
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars | |
indent: 9.826ms | |
paren: 23.723ms | |
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars | |
indent: 8.813ms | |
paren: 23.869ms | |
oakmac@oakmac-desktop:~/parinfer/lib$ node test/perf.js | |
Processing long_map_with_strings : 303 lines, 4380 chars | |
indent: 9.242ms | |
paren: 4.250ms | |
Processing really_long_file : 2865 lines, 112431 chars | |
indent: 12.717ms | |
paren: 23.698ms | |
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars | |
indent: 9.763ms | |
paren: 22.701ms | |
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars | |
indent: 9.401ms | |
paren: 22.776ms | |
oakmac@oakmac-desktop:~/parinfer/lib$ node test/perf.js | |
Processing long_map_with_strings : 303 lines, 4380 chars | |
indent: 9.470ms | |
paren: 4.651ms | |
Processing really_long_file : 2865 lines, 112431 chars | |
indent: 12.706ms | |
paren: 23.392ms | |
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars | |
indent: 9.713ms | |
paren: 22.479ms | |
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars | |
indent: 9.100ms | |
paren: 23.296ms | |
oakmac@oakmac-desktop:~/parinfer/lib$ node test/perf.js | |
Processing long_map_with_strings : 303 lines, 4380 chars | |
indent: 9.525ms | |
paren: 4.199ms | |
Processing really_long_file : 2865 lines, 112431 chars | |
indent: 13.361ms | |
paren: 23.075ms | |
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars | |
indent: 10.087ms | |
paren: 22.077ms | |
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars | |
indent: 9.275ms | |
paren: 24.201ms | |
oakmac@oakmac-desktop:~/parinfer/lib$ node test/perf.js | |
Processing long_map_with_strings : 303 lines, 4380 chars | |
indent: 9.144ms | |
paren: 4.223ms | |
Processing really_long_file : 2865 lines, 112431 chars | |
indent: 12.450ms | |
paren: 23.801ms | |
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars | |
indent: 9.885ms | |
paren: 22.905ms | |
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars | |
indent: 9.005ms | |
paren: 24.436ms | |
oakmac@oakmac-desktop:~/parinfer/lib$ node test/perf.js | |
Processing long_map_with_strings : 303 lines, 4380 chars | |
indent: 9.214ms | |
paren: 3.992ms | |
Processing really_long_file : 2865 lines, 112431 chars | |
indent: 12.463ms | |
paren: 23.682ms | |
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars | |
indent: 10.060ms | |
paren: 22.947ms | |
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars | |
indent: 8.950ms | |
paren: 22.908ms | |
oakmac@oakmac-desktop:~/parinfer/lib$ node test/perf.js | |
Processing long_map_with_strings : 303 lines, 4380 chars | |
indent: 8.809ms | |
paren: 4.105ms | |
Processing really_long_file : 2865 lines, 112431 chars | |
indent: 12.521ms | |
paren: 23.551ms | |
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars | |
indent: 9.917ms | |
paren: 22.074ms | |
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars | |
indent: 8.862ms | |
paren: 22.872ms | |
oakmac@oakmac-desktop:~/parinfer/lib$ node test/perf.js | |
Processing long_map_with_strings : 303 lines, 4380 chars | |
indent: 9.064ms | |
paren: 4.134ms | |
Processing really_long_file : 2865 lines, 112431 chars | |
indent: 12.535ms | |
paren: 23.653ms | |
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars | |
indent: 9.968ms | |
paren: 22.606ms | |
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars | |
indent: 8.805ms | |
paren: 22.825ms | |
oakmac@oakmac-desktop:~/parinfer/lib$ node test/perf.js | |
Processing long_map_with_strings : 303 lines, 4380 chars | |
indent: 8.777ms | |
paren: 4.079ms | |
Processing really_long_file : 2865 lines, 112431 chars | |
indent: 14.256ms | |
paren: 24.711ms | |
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars | |
indent: 9.868ms | |
paren: 24.383ms | |
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars | |
indent: 8.761ms | |
paren: 24.781ms | |
oakmac@oakmac-desktop:~/parinfer/lib$ node test/perf.js | |
Processing long_map_with_strings : 303 lines, 4380 chars | |
indent: 9.237ms | |
paren: 3.965ms | |
Processing really_long_file : 2865 lines, 112431 chars | |
indent: 13.034ms | |
paren: 22.787ms | |
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars | |
indent: 9.881ms | |
paren: 21.969ms | |
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars | |
indent: 8.923ms | |
paren: 23.636ms | |
oakmac@oakmac-desktop:~/parinfer/lib$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here are the average values:
Processing long_map_with_strings : 303 lines, 4380 chars
indent: 9.0249ms
paren: 4.09438ms
Processing really_long_file : 2865 lines, 112431 chars
indent: 12.6804ms
paren: 23.4434ms
Processing really_long_file_with_unclosed_paren : 2865 lines, 112432 chars
indent: 9.9237ms
paren: 22.5091ms
Processing really_long_file_with_unclosed_quote : 2865 lines, 112433 chars
indent: 9.0063ms
paren: 23.3028ms