Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Traverse function vs NodeIterator vs TreeWalker (elements)

Let's compare the speed of 3 different ways to traverse the DOM.

Traverse function vs NodeIterator vs TreeWalker (modified)

Let's compare the speed of 3 different ways to traverse the DOM.

While vs For Loop - Luigi 3

No description provided

While vs For Loop - Luigi

No description provided

Iteration Array for-of vs Map for-of 5

Iteration Array for-of vs Map for-of

Iteration Array for-of vs Map for-of 4

Iteration Array for-of vs Map for-of

2Sum array: for vs forEach vs for..in vs for..of vs reduce

Compare loop performance

Sum array: for vs forEach vs for..in vs for..of vs reduce

Compare loop performance

Fastest way to check if object is empty using length 3

You don't need to make add for loops in your test scenarios, the benchmark does it itself.

Fastest way to check if object is empty using length 2

You don't need to make add for loops in your test scenarios, the benchmark does it itself.

Fastest way to check if object is empty using length

You don't need to make add for loops in your test scenarios, the benchmark does it itself.

for of + push vs map

No description provided

Lodash isEqual test (slightly bigger test data)

Test on isEqual performance

find vs some test123

No description provided

Array.from vs Spread from array

No description provided

array[0 vs array.at(0)

No description provided

get through closure vs get through param

No description provided

Proxy target[key] vs Reflect.get vs optional Reflect.get

No description provided

2's math pow vs shift vs exp random num

No description provided

querySelector vs. .children HTMLCollection

compare quse of querySelector("#id") to .children.id

Empty array: Splice vs Shift vs Pop

Compares the speed for removing all items from the beginning of an array

Empty array: Splice vs Shift

Compares the speed for removing all items from the beginning of an array

Proxy target[key] vs Proxy Reflect.get vs object access

No description provided

Proxy target[key] vs Reflect.get vs get function (fixed)

No description provided

Proxy target[key] vs Reflect.get vs get function

No description provided

NEW BENCHMARK Your Benchmarks