markdown-wasm/test/benchmark
2021-08-08 16:35:13 +02:00
..
results Render SVG images 2021-08-08 16:35:13 +02:00
samples adds benchmarks 2020-10-16 11:31:37 -07:00
.gitignore adds benchmarks 2020-10-16 11:31:37 -07:00
bench.js add remarkable benchmark 2021-08-08 16:31:39 +02:00
graph.js benchmark: remove unused markdown-wasm/string 2020-10-16 11:50:16 -07:00
package-lock.json benchmark: svgo on svgs 2020-10-16 11:47:28 -07:00
package.json add remarkable benchmark 2021-08-08 16:31:39 +02:00
README.md adds benchmarks 2020-10-16 11:31:37 -07:00

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.