markdown-wasm/test/benchmark/README.md
Rasmus Andersson 3e65f82ae1 adds benchmarks
2020-10-16 11:31:37 -07:00

12 lines
381 B
Markdown

# Markdown-wasm benchmarks
This directory contains a benchmark suite.
You'll need nodejs and npm installed.
1. `npm install`
2. `npm run bench`
Running the benchmarks takes a while since in order to be accurate each parse-and-render
operation is performed synchronously on a single CPU thread.
Results are written to the `results` directory; `bench.csv` along with SVG graphs.