Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

TypedArray set() vs setter performance

No description provided

Lodash sort vs array.prototype.sort2

No description provided

Multiple JS Regex vs .startsWith vs .indexOf as anonymous function

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

Lodash sort vs array.prototype.sort1

No description provided

isEqual vs .length benchmark

isEmpty empty array vs length empty array vs isEmpty array of strings vs length array of strings vs isEmpty array of objects vs length array of objects

test obj vs arr

No description provided

isEmpty vs .length benchmark - new

isEmpty empty array vs length empty array vs isEmpty array of strings vs length array of strings vs isEmpty array of objects vs length array of objects

isEmpty vs .length benchmark

isEmpty empty array vs length empty array vs isEmpty array of strings vs length array of strings vs isEmpty array of objects vs length array of objects

array vs object filter

No description provided

Precompile RegExp vs Runtime (on the fly)

Is precompile version faster then on runtime? Function toSpacePascalCase() convert 'someTextWith333Digits' to 'Some Text With 333 Digits'

Testing for false vs === undefined vs hasOwnProperty for undefined member 3

Is there a performance benefit to replacing === undefined with a logical test?

lodash array vs array

No description provided

Math.ceil() vs. 0 bitshift

No description provided

for-in vs object keys map vs object keys loop

No description provided

Lodash sortBy descending vs Lodash orderBy descending

Lodash sortBy descending vs Lodash orderBy descending

Map.get() vs Array.find()

No description provided

array iteration speed

Compare loop performance

Deep clone comparison

No description provided

parseInt vs Number, number from ID

No description provided

Array.from vs map vs Array.from then map

No description provided

array from

No description provided

Backticks vs Quotes

Test performance of Backticks vs Quotes

deepcopy

No description provided

replace regex vs. multiple replaceAll vs. string split

No description provided

replace regex vs. multiple replaceAll calls - fixed

No description provided