/benchmarks

A bunch of tests to shallow compare Marble.js to other popular Node.js HTTP frameworks/libraries.

Primary LanguageJavaScriptMIT LicenseMIT

Marble.js logo

Marble.js benchmarks

Shallow benchmarks for Marble.js. Comparison to other popular Node.js HTTP frameworks/libraries.

Setup

  1. Install wrk - a HTTP benchmarking tool:

    • macOS users: brew install wrk
    • Linux users: instructions
    • Windows users: just install normal system...
  2. Just run npm i

Benchmarks

Run benchmarks for Marble.js, Koa, Express and Restify:

npm run bench:routing      ## run routing benchmark
npm run bench:middleware   ## run middleware benchmark

License

marble.js is MIT licensed