Skip to content
Eugene Lazutkin edited this page Jul 14, 2024 · 14 revisions

nano-benchmark provides command-line utilities for benchmarking code and related statistical modules. Node, Deno and Bun are supported.

Two utilities are available:

  • nano-watch — provides statistics in a streaming mode continuously running your code, watching memory usage and updating the output.
  • nano-bench — runs benchmark tests on your code, calculating statistics and statistical significance, and presenting them as a table.

It is advisable to familiarize yourself with the underlying concepts first.

Clone this wiki locally