Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

String.split(regExp) vs String.split(string)

No description provided

Add rows to Table: insertRow() vs insertAdjacentHTML

Vannilla JS version, no jquery

get precision from number string

with ignoring trailing zeroes, the function should return the precision (decimal places) of a number (decimal or non-decimal)

Comparing sum of array elements between Native and lodash and some more for loops

No description provided

indexOf vs map vs map2

No description provided

sumOfEventNumbers-vanilla-vs-rxjs-7

No description provided

createTextNode(and removeChild), textContent, innerText, innerHTML, nodeValue (HTML)

<a> tag has a child (space), so nodeValue works correctly this way

concatenation vs template literal

No description provided

Add rows to Table: insertRow() vs appending innerHTML vs insertAdjacentHTML

Vannilla JS version, no jquery

Dynamic Create of Table: insertRow() vs appending HTML

Vannilla JS version, no jquery

Lodash vs Native reduce + Object.keys for collections

No description provided

Math.pow vs ** vs * forcing floats vs bigint

A minor update to see if forced floats perform differently than ints and also see how BigInts compare (note: Math.pow does not work on BigInts).

for-in vs object.keys vs for..of object.keys

No description provided

filter-map vs reduce fixed

modified version of `map-filter vs reduce` that switches the order of operations Original was not fair comparison as it mapped all iterations not just the ones that passed the filter

find vs loop array test bigger array

performance find item in loop vs find item with array.find

find vs loop array test

performance find item in loop vs find item with array.find

123dsfsdfdsfds

123

2dArray[a][b] vs getValue(obj, a, b);

Conditional 2D Array index-swapped get performance test.

concat vs spread 2.0

measure the speed of concat versus spread operator

lodash sumBy vs normal sum of 4 values

No description provided

Lodash slick vs array destructuring assignment

No description provided

Add break in ipV6 address #2

No description provided

Add break in ipV6 address

No description provided

for-in vs object.keys (fork)

No description provided

Lodash cloneDeep vs JSON Clone vs Lodash clone 2

No description provided