Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Array.prototype.slice with length vs spread operator

Compare the new ES6 spread operator with the traditional slice() method

_.isEmpty vs Object.keys.length vs custom isEmpty method (10) alt is empty

No description provided

_.isEmpty vs Object.keys.length vs custom isEmpty method (10)

No description provided

_.isEmpty vs Object.keys.length (1000000)

No description provided

_.isEmpty vs Object.keys.length (10)

No description provided

_.isEmpty vs Object.keys.length (10000)

No description provided

Array with Objects loop

Loop through an array of objects and change one property

test switch vs map 2

No description provided

test switch vs map

No description provided

Object Hashmap vs Array.indexOf

Matching a string against more than one possibility.

Map vs Object (real-world) vs PureObject Performance

Lookup of map vs object (in a real-world test format)

Counter Increasement v5

No description provided

Counter Increasement v4

No description provided

Counter Increasement v3

No description provided

Counter Increasement v2

No description provided

Counter Increasement

No description provided

Looping frozen object vs non-frozen object

No description provided

Object key access vs array index access bigger

Tests the speed of accessing an item by object key vs array index.

Uint8Array.subarray vs Uint8Array.slice

No description provided

Lodash vs Underscore find operator

Lodash vs Underscore find operator

new Array(length).fill vs Array.from({ length })

No description provided

Remove Non-Printable ASCII. Regex vs Loop

No description provided

String .search vs .includes

No description provided

JavaScript spread operator vs Object.assign performance (updated)

No description provided

throttle vs math

No description provided