Browse the latest JavaScript performance benchmarks created by the community.
No description provided
No description provided
Array.from() vs TextDecoder() and new Uint8Array() vs TextEncoder()
Test Array creation methods on a random ArrayBuffer
Test ArrayBuffer creation methods on a random Array
No description provided
No description provided
Port from jsperf(https://jsperf.com/sorting-algorithms/58)
Port from jsperf(https://jsperf.com/sorting-algorithms/58)
No description provided
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
No description provided
No description provided
No description provided
Compare loop performance
Testing DOHSIM shuffled performance of find vs for
Testing DOHSIM shuffled performance of find vs for
Testing DOHSIM performance of find vs for
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
Comparing uniq vs new Set using a mid-sized array (length: 239) of datetime strings.