Skip to content

Commit

Permalink
doc: update benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Apr 13, 2015
1 parent 04fff58 commit 8025706
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,29 @@ See [benchmarks](benchmarks), use GitHub API Routes.
$ npm run benchmark

GitHub API, 203 routes:
trek-router x 5,195 ops/sec ±0.52% (97 runs sampled)
memoryUsage: { rss: 42127360, heapTotal: 33510144, heapUsed: 13448096 }
path-to-regexp x 430 ops/sec ±0.40% (97 runs sampled)
memoryUsage: { rss: 60870656, heapTotal: 51053056, heapUsed: 27650000 }
route-recognizer x 338 ops/sec ±0.12% (93 runs sampled)
memoryUsage: { rss: 63836160, heapTotal: 54136832, heapUsed: 33341632 }
route-trie x 1,191 ops/sec ±1.97% (97 runs sampled)
memoryUsage: { rss: 66113536, heapTotal: 55168768, heapUsed: 30571304 }
routington x 1,207 ops/sec ±0.52% (100 runs sampled)
memoryUsage: { rss: 68222976, heapTotal: 59284480, heapUsed: 27390704 }
trek-router x 4,592 ops/sec ±3.45% (91 runs sampled)
memoryUsage: { rss: 41283584, heapTotal: 32478208, heapUsed: 15547912 }
path-to-regexp x 327 ops/sec ±5.95% (71 runs sampled)
memoryUsage: { rss: 60223488, heapTotal: 50021120, heapUsed: 23526096 }
route-recognizer x 274 ops/sec ±7.98% (76 runs sampled)
memoryUsage: { rss: 62676992, heapTotal: 53104896, heapUsed: 20703720 }
route-trie x 675 ops/sec ±5.15% (58 runs sampled)
memoryUsage: { rss: 63909888, heapTotal: 54136832, heapUsed: 22530784 }
routington x 675 ops/sec ±15.40% (56 runs sampled)
memoryUsage: { rss: 65392640, heapTotal: 55168768, heapUsed: 27596440 }
Fastest is trek-router

Discourse API, 359 routes:
trek-router x 3,497 ops/sec ±3.39% (95 runs sampled)
memoryUsage: { rss: 70569984, heapTotal: 61348352, heapUsed: 36756048 }
path-to-regexp x 51.26 ops/sec ±3.20% (68 runs sampled)
memoryUsage: { rss: 72175616, heapTotal: 62368256, heapUsed: 42414472 }
route-recognizer x 171 ops/sec ±4.88% (76 runs sampled)
memoryUsage: { rss: 74690560, heapTotal: 64432128, heapUsed: 21920328 }
route-trie x 811 ops/sec ±7.56% (78 runs sampled)
memoryUsage: { rss: 74670080, heapTotal: 64432128, heapUsed: 26638880 }
routington x 470 ops/sec ±3.15% (51 runs sampled)
memoryUsage: { rss: 74686464, heapTotal: 64432128, heapUsed: 23663464 }
trek-router x 2,566 ops/sec ±4.28% (71 runs sampled)
memoryUsage: { rss: 66920448, heapTotal: 56200704, heapUsed: 23280456 }
path-to-regexp x 44.88 ops/sec ±2.98% (60 runs sampled)
memoryUsage: { rss: 68005888, heapTotal: 58252544, heapUsed: 38887896 }
route-recognizer x 122 ops/sec ±5.24% (60 runs sampled)
memoryUsage: { rss: 70610944, heapTotal: 61336320, heapUsed: 41447384 }
route-trie x 746 ops/sec ±5.59% (68 runs sampled)
memoryUsage: { rss: 72040448, heapTotal: 62368256, heapUsed: 40931128 }
routington x 642 ops/sec ±7.77% (66 runs sampled)
memoryUsage: { rss: 73596928, heapTotal: 63400192, heapUsed: 43505976 }
Fastest is trek-router
```
Expand Down

0 comments on commit 8025706

Please sign in to comment.