perfs-utils
v1.0.0
Published
A few functions to measure how much did your project actually improve in performance.
Downloads
6
Maintainers
Readme
@zakahacecosas/
perf-utils
Some functions to take results from your benchmarks and give you accurate "we made foobar n times faster" numbers.
Installation
# deno, yarn, or pnpm
deno add jsr:@zakahacecosas/perf-utils
yarn add jsr:@zakahacecosas/perf-utils
pnpm add jsr:@zakahacecosas/perf-utils
# npm or bun (the name here is different!)
npm install perfs-utils
bun add perfs-utils
# you can use npx/bunx jsr add... too, but it doesn't work with every nodejs project
# and the package name is different because someone holds an unmaintained "perf-utils"Features
- Improvement percentage ("foobar is now 60% faster").
- Time reduction percentage ("foobar now takes 40% less time").
- Times faster! ("foobar is now 2 times faster!!").
Uses basic math for this.
Documentation
The module is fully documented in jsr.io, click here for module documentation.
All functions have rich JSDoc (~~examples included~~) anyway, so your editor itself works as your documentation.
