Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

loadash vs set eg2

test

loadash vs set eg1

No description provided

loadash vs set

No description provided

Object.keys/Object.values/Object.entries

We could use each of those methods to access a property value. In circumstances where we don't need both the key and the value. Which of those is faster however?

Array.includes vs String compare v2

Matching a string against more than one possibility.

null prototype hasProperty

No description provided

document.body vs document.querySelector on element

No description provided

Lodash merge vs native spread and assign

No description provided

Lodash merge vs native spread

No description provided

Last item in array slice/0 vs length - 1 vs slice/pop vs slice/shift

No description provided

F&S JS test code

No description provided

Optional Chaining versus _.get lodash and with array

No description provided

js lowercase vs uppercase

No description provided

Object.fromEntries w/Array.map vs Array.reduce

Comparison where Array.map is first needed to map the values to key/value array pairs.

Object.fromEntries vs reduce 2.1

No description provided

Regex OR vs. Multiple Regex Expressions 4

No description provided

Ramda mergeRight vs object destructuring

No description provided

Lodash uniqBy vs Map destructuring

Lodash uniqBy vs [...new Map()]

<div id="testElement"></div>

No description provided

Lodash.isEqual vs JSON.stringify Equality Comparison for Large Deep Object.

Test on isEqual performance Large deep object

Lodash.isEqual vs JSON.stringify Equality Comparison for Medium Deep Object.

Test on isEqual performance medium deep object

Count char occurrence in string

http://stackoverflow.com/questions/4009756/how-to-count-string-occurrence-in-string http://stackoverflow.com/questions/881085/count-the-number-of-occurences-of-a-character-in-a-string-in-javascript

V8 garbage collection vs out-of-scope access cost (v8 optimization buster)

No description provided

V8 garbage collection vs out-of-scope access cost

No description provided

Fast approx. atan2 vs Math.atan2 vs cached atan2 (v8 optimization buster + local scope)

No description provided