@stereotyped/benchmarking
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

Benchmarking

A simple and flexible benchmarking utility written in TypeScript.

Work in progress.

Features

  • Typed (Written in TypeScript)
  • support synchronous or promise-based asynchronous functions
  • modular design, simple to use, simple to read
  • Support different benchmark modes:
    • For a duration
    • For N cycles
    • Adaptively

TODOs

  • Docs
  • Benchmarks comparison
  • Run in parallel
  • Support browser environment
  • More tests

Installation

TODO

Quick Start

TODO

Architecture

TODO

Docs

TODO

Credits

Inspired by Autocannon, benchmark.js.

License

Apache 2.0

/@stereotyped/benchmarking/

    Package Sidebar

    Install

    npm i @stereotyped/benchmarking

    Weekly Downloads

    22

    Version

    0.5.0

    License

    Apache-2.0

    Unpacked Size

    50.6 kB

    Total Files

    42

    Last publish

    Collaborators

    • aaronjan