Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

TextDecoder('utf-16') vs String.fromCharCode

No description provided

JS deep copy obj test

No description provided

Lodash cloneDeep vs structuredClone vs recursiveDeepCopy vs JSON clone (larger object)

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

optional chaining vs. non-optional chaining

Determine performance cost of using optional chaining when not required

Lodash cloneDeep vs JSON Clone vs Ramda Clone vs hand rolled vs spread vs obj.assign vs structured clone

just benchmarking things

Some vs. Filter vs. indexOf vs. Includes vs. Find with fix

No description provided

regex vs. split().slice().join()

No description provided

String() vs .toString() vs concat vs template

No description provided

2023 - xhr vs fetch

No description provided

ES6 Class vs Prototype vs Object Literal 4

Test the speed and memory usage using 3 different techniques for constructing class objects.

startswith vs includes simple

No description provided

Deep Clone vs JSON.Stringify vs structuredClone

No description provided

empty an array in JavaScript - splice vs setting length faster

Based on question on http://stackoverflow.com/questions/1232040/how-do-i-empty-an-array-in-javascript

String vs template string

No description provided

String.includes() vs. String.matchAll (no match)

No description provided

lodash.isEqual vs fast-deep-equal (2023)

No description provided

spilce slice reverse

No description provided

Native JS: concatenate string with + vs template literals vs String.concat + numeric hash

find best solution for concatenate 4 strings

Proxy vs Object vs Object.setPrototypeOf vs Object.create

No description provided

indexOf vs map with indexOf

No description provided

Instantiation via ES6 Class vs Prototype vs Object Literal

Test the speed and memory usage using 3 different techniques for constructing class objects.

Array.at(-1) vs. Array.length - 1

No description provided

Object creation speed benchmark

No description provided

JS Date libraries 2023.0

No description provided

Regex whitespace check vs trim length

No description provided

NEW BENCHMARK Your Benchmarks