Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Math.max/min vs if vs ternary vs bitwise - 4 numbers

No description provided

Object arrays: findIndex vs for loop

Testing finding an object array via findIndex or by using a for loop

getBBox() vs getBoundingClientRect() vs getComputedTextLength() (long text version)

No description provided

getBBox() vs getBoundingClientRect() vs getComputedTextLength()

No description provided

jquery 1.12.4 vs 2.2.4 (w/ jQuery Migrate) vs 3.5.1 (w/ jQuery Migrate) v4

Comparing performance of: jquery 1.12.4 vs jquery 2.2.4 vs jquery 3.5.1

Date.toLocaleDateString vs Date.toDateString

No description provided

for-in vs object.keys loop test

No description provided

bind vs anon

No description provided

jquery 1.12.4 vs 2.2.4 vs 3.5.1

Comparing performance of: jquery 1.12.4 vs jquery 2.2.4 vs jquery 3.5.1

'value === undefined' VS 'typeof value === "undefined"' when value is defined

No description provided

Map vs Object (R+W) 1k

Read/Write of Map vs Object (competition use only, please don't use these in the real world).

for vs for of vs for in

No description provided

JSON.srtingify vs react-fast-compare vs _.isEqual

No description provided

deep querySelector vs js iteration

No description provided

Object.assign vs spread vs _.extend

No description provided

lodash map, foreach, for vs native for and map

No description provided

Object.fromEntries vs reduce

No description provided

NodeList For vs Foreach

No description provided

arrow function vs function

No description provided

set.has vs. array.includes (random string values)

No description provided

Template string vs array join

No description provided

findIndex vs includes vs map & indexOf

Comparing performance of: findIndex vs includes vs map and indexOf

Map & Set vs Reduce & Includes

No description provided

RxJs vs Array - fixed2

No description provided

RxJs vs Array

No description provided

NEW BENCHMARK Your Benchmarks