Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

lodash v4.17.21 map vs Object.keys map

lodash map vs Object.keys map

2's math pow vs shift vs exp vs multiplication

No description provided

Simple Split vs Match

No description provided

Object.values vs for

No description provided

Regex vs split/join 37123123123

No description provided

JS Regex vs .startsWith vs .indexOf Jan

fork of https://www.measurethat.net/Benchmarks/Show/975/11/regex-vs-indexof-vs-startswith-vs-substr

Lodash Pick vs compiled pick fn vs loop pick fn

No description provided

klona vs Lodash cloneDeep

Comparing performance of: Lodash cloneDeep vs Json clone vs RFDC copy vs klona copy

Map .has() only vs .get() only

This is to compare the cost of this pattern ```if (map.has(key)) ``` v/s ```const v = map.get(key); if (v) func1(v);```

Lodash Pick vs compiled pick fn

No description provided

Lodash Pick vs Native destructuring vs Manual Picks vs pick fn

Compare _.pick vs native destructuring vs manual picks

react-fast-compare vs JSON.stringify Equality Comparison for Shallow Array of Strings.

Test on deep equality performance

|| vs &&

OR(||) vs AND(&&) performance benchmarking with short-circuit

JS array emptiness check

Comparing the performance of array.length and typeof array[0] === "undefined"

Storage Perf

No description provided

Test for the test

test2

JavaScript spread operator vs cloneDeep

No description provided

Destructure from Object.seal vs Object.freeze vs normal

No description provided

Which equals operator (== vs ===) is faster? (string)

Is there a performance benefit to replacing == with ===?

Array spread (left) vs push

Compare the new ES6 spread operator with the traditional concat() method and push

instanceOf-bitwise

No description provided

inject styles

No description provided

Push vs Next index

No description provided

Split vs RegEx Brackets

No description provided

DataView vs Uint8Array by bytes vs Native Array

No description provided