Benchmark name | When Created |
---|---|
[] spread vs mutation vs Object.assign for reduce callback | one month ago |
Array.every vs JSON.stringify2123 | one month ago |
reduce performance
reduce slice performance |
one month ago |
Recursion vs Nested Loops
Will use a function that creates steps(one side of a christmas tree) |
one month ago |
Map get VS Map has get 20122
Map get VS Map has get |
one month ago |
sort vs reverse test 2 | one month ago |
sort() vs reverse() when getting last item or first item | one month ago |
Visits | one month ago |
Convert binary string to bytes
To use browser's atob() or btoa(), we need to convert between bytes and so-called "binary" string. This test converts "binary" string to bytes, for working with results from atob() calls, which decodes base64 to bytes (in the form of binary string). |
one month ago |
Convert bytes to binary string
To use browser's atob() or btoa(), we need to convert between bytes and so-called "binary" string. This test convert bytes to "binary" string, for future calls of btoa(), i.e. encoding bytes (in the form of binary string) to base64. |
one month ago |
Test uint32array ant biguint64array
Test |
one month ago |
Regex vs split/join correct | one month ago |
Set merge | one month ago |
ES6 Class vs Prototype vs Object Literal vs ES6 Class Extends | one month ago |
ES6 Class vs Prototype vs Object Literal vs ES6 Class extends vs ES6 Class extends twice
Test the speed and memory usage using 5 different techniques for constructing class objects. |
one month ago |
Python benchmarks support (via Pyodide & WebAssembly)
MeasureThat.net now supports Python in-browser benchmarks via Pyodide. This new feature allows users to write and execute Python code directly within their web browser, enabling seamless performance testing and benchmarking of Python scripts. (added in v1.7.0) |
one month ago |
Date constructor inputs | one month ago |
Dayjs Date-fns format and add day comparison | one month ago |
for-in vs object.keys no foreach | one month ago |
jquery 2.2.4 vs 2.1.1
Comparing performance of: jquery 2.2.4 vs 2.1.1 |
one month ago |
JS string param vs object property as param | one month ago |
canvas style.left vs translate | one month ago |
singular clone vs batch clone | one month ago |
Custom pluck test vs JS map vs lodash map
Testing a functional programming method 'pluck'. This is an in-progress test. Taken from lodash source code, using the Array constructor to make an Array of a specified length, seems to have a considerable impact on performance. In my simple pluck implementation, not using the constructor e.g. const plucked = [], was considerably slower. |
one month ago |
JSON.parse vs string.split (big size) | one month ago |