Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

innerHTML vs innerText vs textContent Retrieval

No description provided

splatAmdMapVsRegex

No description provided

Math.max(...) vs Array.reduce()

No description provided

test123v7

No description provided

test123v6

No description provided

<div id="foo" class="demo"></div>

No description provided

className vs. setAttribute vs. classList v5

No description provided

test123xxxxx

No description provided

test12xxxx2

No description provided

test12xxxx

No description provided

className vs. setAttribute vs. classList v4

No description provided

className vs. setAttribute vs. classList v3

No description provided

flatMap vs reduce-push vs flat

Compare flatMap performance vs Array.reduce with Array.push

flatMap vs reduce (push)

No description provided

fast-sort js vs ts

TS compiled fast-sort vs js modified

Map vs Object 10 iterations

Lookup of map vs object

test svg parsing

No description provided

parentNode vs firstChild vs nextSibling vs previousSibling (plus bonus: firstChild.nextSibling, querySelectorAlls)

Fastest way to find nodes

parentNode vs firstChild vs nextSibling vs previousSibling (plus bonus: firstChild.nextSibling, querySelectorAll)

Fastest way to find nodes

polymorphic test

polymorphic test

sparse arrays test

No description provided

Hidden class test

Hidden class test

Nesting of functions in JavaScript

Nesting of functions in JavaScript

chain of and equals vs not includes

how much of a performance deficit you can expect from using Array.includes instead of manually writing a chain of logical ORs

Map.forEach vs Array.forEach vs Array.from(Map.values()).forEach

No description provided