Benchmark name When Created
[] spread vs mutation vs Object.assign for reduce callback 2 days ago
Array.every vs JSON.stringify2123 2 days ago
reduce performance

reduce slice performance

2 days ago
Recursion vs Nested Loops

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

3 days ago
Map get VS Map has get 20122

Map get VS Map has get

3 days ago
sort vs reverse test 2 3 days ago
sort() vs reverse() when getting last item or first item 3 days ago
Visits 3 days 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).

3 days 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.

3 days ago
Test uint32array ant biguint64array

Test

3 days ago
Regex vs split/join correct 3 days ago
Set merge 3 days ago
ES6 Class vs Prototype vs Object Literal vs ES6 Class Extends 3 days 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.

3 days ago
Test test test test test test

v1.7.0

4 days ago
Date constructor inputs 4 days ago
Dayjs Date-fns format and add day comparison 4 days ago
for-in vs object.keys no foreach 4 days ago
jquery 2.2.4 vs 2.1.1

Comparing performance of: jquery 2.2.4 vs 2.1.1

4 days ago
JS string param vs object property as param 4 days ago
canvas style.left vs translate 5 days ago
singular clone vs batch clone 5 days 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.

5 days ago
JSON.parse vs string.split (big size) 5 days ago

 Create Your benchmarks


;