Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

string vs array comparison

No description provided

array[2] vs array.at(2)

No description provided

replaceAll vs regex replace vs string split join

No description provided

matchAll vs exec v2

No description provided

regexp.matchAll vs regexp.exec

No description provided

GetElementById vs GetElementByTag

No description provided

getElementByID vs querySelector vs firstChild walk

fastest way to select a dom node

arr unshift vs push + reverse (mid array)

No description provided

RegExp vs String vs Arrays manipulation for paths

No description provided

To the 7th power v2

Examines different ways to raise to the power of 7

isFinite vs isNaN

No description provided

Plain Json: lodash clonedeep vs json.parse(stringify())

One more case to check

Object Cloning Performance Benchmark: Spread vs. Object.assign and More

This benchmark tests the performance of various JavaScript methods for cloning or copying objects. Using a randomly generated object, the test compares the efficiency of methods such as the spread syntax and Object.assign. It provides insights into the fastest ways to duplicate large datasets in JavaScript.

math pow vs multiply (with few extra variants)

No description provided

for vs foreach vs for..of vs for..of over entries vs for in

Compare loop performance

JSON.parse vs object literal

No description provided

reduce vs map & filter

No description provided

lodash vs fast-equals vs fast-deep-equal

No description provided

Bench fast-json-patch apply vs fast-json-patch mutate

No description provided

Array.from() vs new Array().map()

Testing the difference between creating filled arrays.

Tokenize : 2 méthodes différentes

No description provided

getBoundingClientRect

No description provided

elementFromPoint4

No description provided

elementFromPoint3

No description provided

elementFromPoint1

No description provided

NEW BENCHMARK Your Benchmarks