{"library":"benny","type":"library","category":null,"description":"Benny (version 3.7.1) is a straightforward benchmarking framework for JavaScript and TypeScript, designed to simplify the process of performance measurement in Node.js environments. It abstracts the complexity of the underlying `benchmark.js` library, offering a more intuitive API for defining and running benchmarks. Key features include native support for synchronous and asynchronous code, per-case setup and teardown functionalities, the ability to selectively run or skip test cases, and robust result handling with options to save output to JSON, CSV, or interactive HTML charts. It provides sensible defaults, but allows for detailed configuration when needed, and integrates well with IDEs through built-in type definitions. Benny targets Node.js version 12 and above and maintains a stable release cadence. Its primary differentiator is simplifying the API over raw `benchmark.js` while retaining its powerful measurement capabilities.","language":"javascript","status":"active","version":"3.7.1","tags":["javascript","benchmark","benchmarking","simple","framework","async","asynchronous","async setup","await"],"last_verified":"Wed May 27","install":[{"cmd":"npm install benny","imports":["import b from 'benny'","const b = require('benny')","b.suite('My Suite', /* ... */)"]},{"cmd":"yarn add benny","imports":[]},{"cmd":"pnpm add benny","imports":[]}],"homepage":"https://caderek.github.io/benny/","github":"https://github.com/caderek/benny","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/benny","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/benny/compatibility"}}