Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Put one element into first place

No description provided

Regex checking whitespace vs trim for isEmptyOrOnlyWhitespace

Testing if IsOnlyWhitespace is faster with Regex or with trim

two dimensional array row-major vs. column-major order

Evaluating array reference performance: row-major vs. column-major order

React hook bind vs direct call

No description provided

Bind vs direct call

No description provided

JS Map + filter vs ForEach

Benchmark to test map + filter vs Foreach if

findIndex + toSpliced vs map

No description provided

array access vs object access

No description provided

Sparse Array Vs. Object, Map, Set, Number Indexes vs alpha indexes

No description provided

Sparse Array Vs. Object, Map, Set, Number Indexes 2

No description provided

For comparison

Compared for loops

Remove accents test

No description provided

arr vs obj

No description provided

clientWidth / clientHeight vs. getBoundingClientRect() vs. getComputedStyle

No description provided

apply vs spread

Comparing the various ways to append to a large array

testdfghdrfh

No description provided

Object literal vs Object.create(null) (better bench)

compare performance of object creating non-empty objects using object literal vs Object.create

document.getElementById+querySelectorAll

No description provided

Equality Comparison

Equality Comparison

testtest9897

test

third array filter fn named vs anon

array filter named vs anon

deux array filter fn named vs anon

array filter named vs anon

array filter fn named vs anon

array filter named vs anon

array filter vs object destructure

test array filter vs object destructure

same test

No description provided