Skip to content

Instantly share code, notes, and snippets.

@tjvr
Last active March 17, 2017 15:33
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 tjvr/c66fd858b8493cab5bf503c380a57fa3 to your computer and use it in GitHub Desktop.
Save tjvr/c66fd858b8493cab5bf503c380a57fa3 to your computer and use it in GitHub Desktop.
$ npm run benchmark
JSON
✔ 🐮 x 830 ops/sec ±0.74% (90 runs sampled)
✔ syntax-cli x 385 ops/sec ±1.06% (85 runs sampled)
tosh
✔ 🐮 x 1,403 ops/sec ±0.80% (93 runs sampled)
✔ tosh x 428 ops/sec ±1.26% (87 runs sampled)
Python
✔ 🐮 x 330 ops/sec ±0.76% (85 runs sampled)
✔ remix x 9.82 ops/sec ±0.77% (29 runs sampled)
✔ lex x 1.71 ops/sec ±5.43% (9 runs sampled)
✔ tokenizer2 x 3.05 ops/sec ±39.73% (8 runs sampled)
✔ chevrotain x 233 ops/sec ±1.09% (82 runs sampled)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment