Browse the latest JavaScript performance benchmarks created by the community.
Demo benchmark exercising the tinybench runner: compares three ways to sum an array.
Demo benchmark with test cases written in TypeScript (type annotations are stripped in the browser by sucrase before running under the tinybench engine).
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
which is faster
which is faster
Comparing performance of: Array Lookup vs Set Lookup when the values are string.
No description provided
is switch faster than if
is switch faster than if
Benchmark of the speed difference between using multiple IF statements and an open-ended IF/ELSE IF.
This tests whether is is faster to create a new object every loop and assigning it default values is quicker than creating the object outside of the loop and resetting it's default values within the loop
No description provided
No description provided
Comparing performance of: split + join vs replace with callback vs replaceAll with callback
No description provided