{"repo":"evanwashere/mitata","free":true,"listed":false,"github":"https://github.com/evanwashere/mitata","clone":"git clone https://github.com/evanwashere/mitata.git","description":"benchmark tooling that loves you ❤️","language":"JavaScript","stars":2515,"topics":["benchmark","javascript","performance","bun","deno","nodejs","library","cpp","microbenchmark","single-header"],"license":"MIT","category":"dev-tools","readme_excerpt":"mitata benchmark tooling that loves you ❤️ Install bun add mitata npm install mitata try mitata in browser with ai assistant at https://bolt.new/ /mitata Recommendations - use dedicated hardware for running benchmarks - read writing good benchmarks & LLVM benchmarking tips - run with manual garbage collection enabled (e.g. node --expose-gc ... ) - install optional hardware counters extension to see cpu stats like IPC (instructions per cycle) - make sure your runtime has high-resolution timers and other relevant options/permissions enabled Quick Start javascript c++ single header configure your experience garbage collection By default, on runtimes with exposed manual gc (like bun or node with --expose-gc ), mitata runs garbage collection once after each benchmark warmup. This behavior can be customized using gc(mode) method on benchmarks: gc impact and memory usage For runtimes that provide manual garbage collection or offer access to javscript vm heap usage metrics, additional row will be shown with garbage collection timings or/and estimated heap usage. universal compatibility Out of box mitata can detect engine/runtime it's running on and fall back to using alternative non-standard I/O functions. If your engine or runtime is missing support, open an issue or pr requesting for support. how to use mitata with engine CLIs like d8, jsc, graaljs, spidermonkey adding arguments and parameters to your benchmarks has never been so easy With other benchmarking libraries, often it's q","default_branch":null,"files":null,"tree":[],"storefront":"/r/evanwashere","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/evanwashere/mitata/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}