Browse the latest JavaScript performance benchmarks created by the community.
No description provided
No description provided
No description provided
No description provided
If you have a large number of elements, is it faster to use querySelectorAll, or to iterate over an array?
No description provided
const vs var vs let performance in loop
No description provided
No description provided
Array.from() vs TextDecoder() and new Uint8Array() vs TextEncoder()
Test ArrayBuffer creation methods on a random Array
No description provided
Port from jsperf(https://jsperf.com/sorting-algorithms/58)
No description provided
No description provided
Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map
No description provided
A benchmark for solutions that provide accurate decimal rounding, flooring, and ceiling to a specific number of decimal places. These solutions treat floats more like decimals by fixing the binary rounding issues to avoid unexpected results. Solution 1: converting the number to a string in the exponential notation (e.g., num + "e" + decimalPlaces). Solution 2: purely mathematical (Number.EPSILON) Solution 3: double rounding. This solution uses the Number.prototype.toPrecision() method to strip the floating-point round-off errors. Solution 4: double rounding v2. This solution is just like Solution 3, however it uses a custom toPrecision() function.
No description provided
-
No description provided
No description provided
No description provided
isEmpty empty array vs length empty array vs isEmpty array of strings vs length array of strings vs isEmpty array of objects vs length array of objects
Is precompile version faster then on runtime? Function toSpacePascalCase() convert 'someTextWith333Digits' to 'Some Text With 333 Digits'