what-code-is-faster
tinybench
what-code-is-faster | tinybench | |
---|---|---|
1 | 4 | |
24 | 1,457 | |
- | 13.2% | |
6.4 | 6.5 | |
about 2 months ago | 13 days ago | |
TypeScript | TypeScript | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
what-code-is-faster
-
15x Faster TypedArrays: Vector Addition in WebAssembly 154GB/S
Yeah, properly benchmarking JS code is hard because of how complex is the V8's optimizing compiler infrastructure. I once made an online tool for measuring run times of JS code, with [hopefully, lol] proper warmup and protection against possible dead code elimination optimization.
There are a few clickable benchmark examples in the readme: https://github.com/xpl/what-code-is-faster#what-code-is-fast...
tinybench
What are some alternatives?
best - :trophy: Delightful Benchmarking & Performance Testing
globalping - A global network of probes to run network tests like ping, traceroute and DNS resolve
bridge. - Minecraft Add-on Editor | We strive to provide the best development experience possible
guess - ๐ฎ Libraries & tools for enabling Machine Learning driven user-experiences on the web
r3f-perf - Easily monitor your ThreeJS performances.
vitest.
action - Github Actions for running CodSpeed in your CI
tinypool - ๐งต A minimal and tiny Node.js Worker Thread Pool implementation (38KB)
superdiff - Superdiff compares two arrays or objects and returns a full diff of their differences in a readable format.
happy-dom - A JavaScript implementation of a web browser without its graphical user interface
vitest - Next generation testing framework powered by Vite.
jsdom - A JavaScript implementation of various web standards, for use with Node.js