Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

lodash.round VS Math.round (divide by 0)

Compare round lodash function vs javascript native toFixed() function

Test Optimisation

No description provided

native findIndex vs lodash findIndex vs lodash find

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

Optimisation

No description provided

=== vs .includes

Compare perfomance between === operator and Array.includes

best effort

No description provided

getElementById().getElementsByClassName vs querySelectorAll

No description provided

DOMParser vs InnerHTML

No description provided

Array concat vs spread operator vs push for single arg

Compare the new ES6 spread operator with the traditional concat() method and push

reduce vs filter+map

Tests performance between a single reduce and a filter then map

IndexOf vs Includes in string with check

Banana

for-in vs object.keys for sets

No description provided

Dataview vs Uint8Array - read short

No description provided

Trimming leading/trailing characters Bounds Fix2

No description provided

Jquery remove() VS element.removeChild()

Jquery remove VS removeChild

Trimming leading/trailing characters Bounds Fix

No description provided

Trimming leading/trailing characters Bounds

No description provided

Array loop vs foreach vs map e

No description provided

GetName

No description provided

InstanceOf vs String type

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

Spread vs Array Push

No description provided

clearing array via pop() vs shift() vs .length = 0 vs = []1

No description provided

strip html v2

No description provided

ddddkkk

No description provided

Last item in array Slice vs Length - 1

No description provided