Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

simple-perf

OliverNChalk5UNLICENSED0.0.1TypeScript support: included

A simple performance testing utility written in typescript

perf, test, performance, testing, benchmark

readme

Perf Test - Javascript Performance Testing

Build Status codecov

Known Issues

  • Benchmarks run slow when initial state is passed in, suspected issue in the benchmark.js library.
    • Could potentially edit functions to contain references directly to global variables instead of injecting them via the setup method.
    • Replace benchmark.js with a custom test runner long-term.

Planned Features:

  • OnCycle (allow memory cleanup between cycles)