Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Lodash.get vs Property dot notation deeply vs optional chaining

No description provided

Array.includes vs Set.has vas Map.has

No description provided

setAttribute vs dataset.attrName

No description provided

Object.keys vs Object.getOwnPropertyNames - objects with 0 keys

No description provided

double-bang-vs-boolean-cast

!!x vs Boolean(x)

Instanceof vs string comparison vs property checking vs constructor comparison

Measure the performance of instanceOf operator vs comparing a basic string type.

Which scroll is best?

No description provided

innerhtml vs removechild vs remove(firstChild) vs remove(lastChild)

No description provided

sort-filter vs reduce

No description provided

Extract data from array - map() vs JSON.stringify() vs for loop

No description provided

findIndex vs map & indexOf vs find

No description provided

Arrow function vs normal function comparison

No description provided

Element append vs appendChild

No description provided

Fastest way to check if object is empty

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

native findIndex vs lodash findIndex vs lodash find

Compare performance of native [].findIndex and _.findIndex and _.find

DOMParser vs InnerHTML

No description provided

reduce vs filter+map

Tests performance between a single reduce and a filter then map

IndexOf vs Includes in string with check

Banana

Dataview vs Uint8Array - read short

No description provided

Jquery remove() VS element.removeChild()

Jquery remove VS removeChild

GetName

No description provided

InstanceOf vs String type

Measure the performance of instanceOf operator vs comparing a basic string type.

strip html v2

No description provided

Last item in array Slice vs Length - 1

No description provided

klona vs RFDC clone vs Lodash cloneDeep vs JSON Clone

No description provided

NEW BENCHMARK Your Benchmarks