This package contains TypeScript definitions for the Benchmark.js library. Benchmark.js is a powerful benchmarking tool used to measure the performance of JavaScript code snippets. These type definitions provide autocompletion, type checking, and enhanced editor support when working with Benchmark.js in TypeScript projects. They cover the library's API, allowing developers to define and run benchmarks with confidence, ensuring type safety and reducing potential runtime errors. Using these definitions streamlines development and improves the overall robustness of benchmarking workflows.
@types/benchmark has infrequent releases. Initial releases occurred in 2016, with sporadic updates until 2020. There were a few releases in 2021 and 2022. In 2023 there were 3 releases. No releases have occurred in 2024 or 2025 YTD. The releases are inconsistent, with long periods of inactivity followed by occasional updates.
@types/benchmark downloads show a fluctuating trend, generally increasing from March 2024 to July 2025, peaking in June 2025 at 1.15M. November 2024 was also unusually high. August 2025 saw a decrease, and September 2025 is incomplete, showing a significantly lower number so far.