Permalink
Browse files

peg.js 0.8.0は2年くらい前のリリースなのでmaster/HEADを使うようにしたら9倍早かった

  • Loading branch information...
1 parent 6b6751c commit 2edacf64d42ab9c1f556a3e95732ce1f7b85a5ff @vvakame committed Aug 10, 2015
Showing with 2,450 additions and 2,174 deletions.
  1. +7 −1 benchmark/index.js
  2. +1,177 −1,050 dist/review.js
  3. +3 −3 dist/review.min.js
  4. +21 −21 npm-shrinkwrap.json
  5. +1 −1 package.json
  6. +1,177 −1,050 resources/grammar.js
  7. +64 −48 util/review-parser-generator
View
@@ -1,9 +1,15 @@
-// RESULT
+// RESULT peg.js 0.8.0
// parse0 x 2.78 ops/sec ±4.92% (11 runs sampled)
// parse1 x 123 ops/sec ±0.78% (79 runs sampled)
// parse2 x 119 ops/sec ±0.73% (79 runs sampled)
// Fastest is parse1
+// RESULT peg.js master/HEAD
+// parse0 x 26.06 ops/sec ±5.00% (49 runs sampled)
+// parse1 x 123 ops/sec ±1.32% (81 runs sampled)
+// parse2 x 121 ops/sec ±1.08% (80 runs sampled)
+// Fastest is parse1
+
var fs = require("fs");
var content = fs.readFileSync("./vvakame.re", {encoding: "utf8"});
Oops, something went wrong.

0 comments on commit 2edacf6

Please sign in to comment.