Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

new Intl.DateTimeFormat vs cached Intl.DateTimeFormat

measure the perf impact of caching calls to new Intl.DateTimeFormat

test const vs let

No description provided

Number to String: toString() vs String() vs + ""

No description provided

has vs find

No description provided

Write Float64Array by index vs Array by index vs Array by push

Test initializing a typed array by index vs generic array by push.

Speed Test : _.filter vs array filter

No description provided

Object.create(null)

- Object.create(null) - {} - new Object()

Array.forEach vs Object.keys().forEach

If I have an array, is it faster to use Array.forEach or Object.keys().forEach?

Reduce vs Flatmap 10000 items

No description provided

JS find vs indexOf vs includes

JS find vs indexOf

Performance Test: substring vs slice vs split 2

No description provided

Regex vs Split and pop

No description provided

String Comparison vs Int Comparison

No description provided

jQuery (v3.6.0) && Dom7 (4.0.4) Full (v3)

No description provided

jQuery (v1.12.4-wp) && Dom7 (4.0.4) Full (v2)

No description provided

for-in vs for-of on object

compare perf of the constructions for (key in obj) for (key in Object.keys(obj))

innerHTML vs insertAdjacentHTML template

No description provided

Slice vs Pop vs At(-1)

No description provided

array.split vs array.from vs spread

No description provided

map vs if/else vs switch

No description provided

Reverse string with more tests

No description provided

array merging performance comparison

No description provided

Set vs Object vs Map doing stuff with clones

No description provided

TextEncoder.encode() vs encodeURIComponent

No description provided

ES6 Proxy vs JS Object get/set vs get/set Function

No description provided

NEW BENCHMARK Your Benchmarks