Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

eliya and sharon :)

No description provided

map vs object test here

No description provided

map over Object (or Record in TS) vs Map clone

No description provided

Math.hypot vs Math.sqrt vs Math.sqrt&pow vs Math.sqrt&**2

Is Math.hypot actually faster than Math.sqrt?

BigInt(a + b) vs BigInt(a) + BigInt(b)

No description provided

[] spread vs mutation vs Object.assign for reduce callback

No description provided

Array.every vs JSON.stringify2123

No description provided

reduce performance

reduce slice performance

Recursion vs Nested Loops

Will use a function that creates steps(one side of a christmas tree)

Map get VS Map has get 20122

Map get VS Map has get

sort vs reverse test 2

No description provided

sort() vs reverse() when getting last item or first item

No description provided

Visits

No description provided

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).

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.

Test uint32array ant biguint64array

Test

Regex vs split/join correct

No description provided

Set merge

No description provided

ES6 Class vs Prototype vs Object Literal vs ES6 Class Extends

No description provided

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.

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)

Date constructor inputs

No description provided

Dayjs Date-fns format and add day comparison

No description provided

for-in vs object.keys no foreach

No description provided

jquery 2.2.4 vs 2.1.1

Comparing performance of: jquery 2.2.4 vs 2.1.1