Skip to content

Instantly share code, notes, and snippets.

@watilde
Last active February 2, 2017 07:02
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 watilde/3f3ab84e3deb44287bee274081b5f64d to your computer and use it in GitHub Desktop.
Save watilde/3f3ab84e3deb44287bee274081b5f64d to your computer and use it in GitHub Desktop.
$ node benchmark/compare.js --new ./out/Release/node --old ../old/out/Release/node -- querystring > compare-pr-10967.csv
[01:79:42|% 100| 3/3 files | 60/60 runs | 4/4 configs]: Done
$ cat compare-pr-10967.csv | Rscript benchmark/compare.R
querystring/querystring-parse.js n=1000000 type="encodefake" 0.32 % 0.73430045
querystring/querystring-parse.js n=1000000 type="encodelast" -2.35 % * 0.02302482
querystring/querystring-parse.js n=1000000 type="encodemany" -1.94 % 0.05450528
querystring/querystring-parse.js n=1000000 type="manypairs" 0.61 % 0.64289511
querystring/querystring-parse.js n=1000000 type="multicharsep" 0.93 % 0.40150285
querystring/querystring-parse.js n=1000000 type="multivalue" -0.93 % 0.39588901
querystring/querystring-parse.js n=1000000 type="multivaluemany" -0.83 % 0.32240774
querystring/querystring-parse.js n=1000000 type="noencode" 0.70 % 0.59926063
querystring/querystring-stringify.js n=10000000 type="encodelast" -0.05 % 0.92086507
querystring/querystring-stringify.js n=10000000 type="encodemany" 0.58 % 0.23235711
querystring/querystring-stringify.js n=10000000 type="noencode" -0.72 % 0.15070092
querystring/querystring-unescapebuffer.js n=10000000 input="%20%21%22%23%24%25%26%27%28%29%2A%2B%2C%2D%2E%2F%30%31%32%33%34%35%36%37" 1.10 % * 0.03400637
querystring/querystring-unescapebuffer.js n=10000000 input="there is nothing to unescape here" -0.50 % 0.14577451
querystring/querystring-unescapebuffer.js n=10000000 input="there%20are%20several%20spaces%20that%20need%20to%20be%20unescaped" -0.18 % 0.68309813
querystring/querystring-unescapebuffer.js n=10000000 input="there%2Qare%0-fake%escaped values in%%%%this%9Hstring" -0.17 % 0.66128120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment