Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

some vs Lodash Some

No description provided

string-interpolation-vs--concatenation

No description provided

RegEx.matchAll vs. String.indexOf vs. String.match

No description provided

Set vs Object vs Map, Access

Compare the speed to retrieve a value from three data structures that can be used for boolean referencing; i.e. for mapping enabled settings.

json stringify vs string tostring

No description provided

Case insensitive RegEx.test vs. String.includes when string doesn’t match

No description provided

createElement vs innerHTML(template)

Faster way to create new dom elements before insertion

Comparing 3 small hash types made in javascript

No description provided

map vs reduce concat

No description provided

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

Is there a performance benefit to replacing == with ===? Comparing string against integer.

Spread Operator vs Push Method

No description provided

JSON parse JSON stringify vs structuredClone

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

.find vs while loop javascript

.find vs while loop javascript

Encode byte string test (string concatenation vs. map join)

Encode byte string

Slice vs Map (jv)

No description provided

Date.now() - Date.now() vs new Date() - new Date()

No description provided

Lodash.get vs Property dot notation for complex data

No description provided

foreach push vs map

No description provided

BigInt vs ParseInt

Compares whether BigInt or parseInt is faster for converting large strings to an int-comparable format

JavaScript spread operator vs Object.assign performance fixed 2

No description provided

test push + concat in loop versus push a collection + concat with map

No description provided

Lodash isEqual vs JSON.stringify (array of objects)

No description provided

flatMap vs flat+map

No description provided

Map key access vs array find

No description provided

crypto.getRandomValues vs Math.random()

No description provided

NEW BENCHMARK Your Benchmarks