Simple Function Performance Test Utilities
JSON →nv-facutil-simple-test is an early-stage (version 0.0.22) JavaScript utility library designed for straightforward function execution and performance benchmarking. It provides mechanisms to execute synchronous functions (`sync`) and asynchronous functions (`async`) a specified number of times, measuring their execution cost. Additionally, it offers a `cmp` utility to compare the performance of multiple functions against each other. The library aims to offer a minimalistic API for quick, ad-hoc performance tests and basic function verification. Given its pre-1.0 versioning, it is currently in active development with an unspecified release cadence, implying that breaking changes may occur frequently. Its primary differentiator is its directness and simplicity for measuring execution time.
Traffic · last 30 days ↑100% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany · 🇧🇷 Brazil · 🇫🇷 France