Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

sha1-js ie11

No description provided

flatMap() vs filter().map() - arrays

flatMap vs filter map - always using array as arrow function result

Object.fromEntries vs reduce vs. for-of

Turning an array into an object

for [i,j] big/small

No description provided

hashCode reduce vs while

which hashCode is faster: reduce vs while

Cached Object.keys() vs inline Object.keys()

This is to test any such browser optimisations on Object.keys(), which returns an array. How long does that array creation take?

Access to Proxy vs Object with getter

No description provided

forEach vs optimized for vs for of vs usual for

No description provided

JSON.parse vs Object.values

No description provided

Array vs object literal v2

No description provided

Array vs object literal

No description provided

startsWith vs indexOf vs lastIndexOf

Compare substring matching performance.

createTextNode vs textContent vs innerText vs append vs new Text

No description provided

map vs foreach

No description provided

Array.prototype.slice vs spread operator [new]

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

for vs foreach vs some vs for..of (2)

Compare loop performance

Some vs. Filter vs. indexOf vs. Includes vs. Find - nested#223423

No description provided

Some vs. Filter vs. indexOf vs. Includes vs. Find - nested#2234

No description provided

math floor

No description provided

JavaScript spread operator vs Object.assign performancee

No description provided

Destructure from Object.seal vs Object.freeze vs normal(special edition)

No description provided

JavaScript spread operator vs Object.assign performance with empty object as first key

No description provided

JavaScript spread operator vs Object.assign performance creating a new object

No description provided

Ramda vs. Lodash (2022)

Compares performance on the same task using Lodash vs two styles of Ramda vs two styles of "native" Javascript. In all cases the task is pulling "counter" property from each item in an array, filtering out odd items, squaring them, then returning those squared values that have less than two digits.

for-in-hasOwnProperty vs object.keys-direct

No description provided