Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

at vs find

No description provided

array at vs classic

No description provided

Lodash vs JSON (isEqual)

No description provided

benchmark filter vs findIndex

No description provided

Add new element to array: push vs array[array.length]

Add new element to array: push vs array[array.length]

Corrected Lodash _.union vs native Set()

The original does not correctly create the Set object from two arrays. Added alternate tests for using the Array functions, just in case they differ from spreading.

shift vs slice 1 element

shift vs slice 1 element

lodash clonedeep vs json.stringify()

No description provided

sum vs reduce vs for loop (v3)

No description provided

Object.keys

No description provided

JavaScript string split vs match using regex

No description provided

Add new element to array: push vs destructuring, with longer array

No description provided

test array vs map lookup 3

asd

className vs classList for a new element

No description provided

test array vs map lookup 2

asd

test array vs map lookup

No description provided

Array.find vs. Map.getdfsxcz

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

Array.find vs. Map.getss

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

from vs stat1

Testing the difference between creating filled arrays.

from vs stat

Testing the difference between creating filled arrays.

Custom Benchmark 777

No description provided

find vs some for objects

test performance of find versus some

Lodash.js vs Native3

No description provided

Lodash.js vs Native1

No description provided

toFixed vs toPrecision vs Math.round() vs bitwise, also trunc, floor

Compares built in and bitwise operators. Specifically, toFixed(), toPrecision(), and Math.round(), and then bit shifting >> 0. In some cases, to places, so *100 and /100. Also tested floor() and trunc() versus the bit mask of |0 (bitwise or). The bitwise tests that are "signed" have the needed ternary statement, whereas the "UNsigned" versions do not.