@fontoxml/fonto-benchmark-runner

0.0.5 • Public • Published

fonto-benchmark-runner Build Status

This tool can measure the performance of a function and compare the performances of different functions in both NodeJS and in the browser. It takes Typescript files as input.

How to use:

  • Create files in a performance folder in your project with names ending with .benchmark.ts
  • Run npx fonto-benchmark-runner to run your performance tests in node.
  • Add --log-csv to the command in order to Log performance results in csv format. If you need to write the results to the current directory, run npx fonto-benchmark-runner --log-csv > results.csv. Please make sure that your benchmark or comparison names do not include comma (,) if you want to display your results in a sheet. Otherwise, more than one cell will be created for the name and it shifts some of the data.

Dependents (0)

Package Sidebar

Install

npm i @fontoxml/fonto-benchmark-runner

Weekly Downloads

12

Version

0.0.5

License

MIT

Unpacked Size

8.82 kB

Total Files

5

Last publish

Collaborators

  • mvanbutselaar
  • bwrrp
  • evandervalk
  • josverburg
  • fontoxml-hosting
  • msaidcoskun
  • mathijsmeijer
  • thomas-brekelmans