Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Lodash.isEqual vs ES6 Sets Equality Comparison for Shallow Array of numbers.

Test on isEqual performance

Math.random vs crypto.getRandomValues vs uuid

Fast and quick test

Array.includes vs String.includes vs Object Hashmap vs Set vs Array.indexOf Large

Matching a string against more than one possibility.

Array from vs Spread es6

No description provided

jquery html text vs text

No description provided

math pow vs multiply vs exp

No description provided

replace vs replaceAll Global

No description provided

Map vs Object with Number Keys

No description provided

if-else vs switch vs object 2

No description provided

RegEx.test vs. String.includes vs. String.match insensitive

No description provided

flatMap vs map/flat

No description provided

Concat vs push(...) vs spread for large arrays

Comparing the various ways to append to a large array

js-yaml vs yaml-js vs yaml

No description provided

new Date(Date.parse()) vs new Date

No description provided

Lodash - uniq

Lodash - uniq

innerhtml vs removechild vs remove vs replaceChildren

innerhtml vs removechild vs remove vs replaceChildren

parseInt vs charCodeAt

No description provided

Benchmark javascript Object vs Map

Benchmark javascript Object vs Map

this vs closure

No description provided

JavaScript search() vs indexOf()

No description provided

Switch case vs Map object

No description provided

Test() Vs Exec()

Test() Vs Exec() A small test to analyse the performance of two similar but different functions. The first Test(): Executes the search for a match between a regular expression and a specified string. Returns true or false. The second Exec() Used to retrieve the matches when matching a string against a regular expression. Returns an array with the matches or null if there are none.

JS startsWith vs split

fork of https://www.measurethat.net/Benchmarks/Show/975/11/regex-vs-indexof-vs-startswith-vs-substr

Object.fromEntries on array vs reduce on array

No description provided

Plain vs Getter/Setter vs Proxy

No description provided

NEW BENCHMARK Your Benchmarks