Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

querySelectorAll.forEach() vs [...getElementsByClassName].forEach()

No description provided

6 properties - style.setProperty vs attributeStyleMap.set vs attributeStyleMap.set with parsed values

No description provided

JS Regex vs .startsWith vs .indexOf with attribute

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

fast_deep_equal - lodash.isEqual test567l898978666

No description provided

plusplus

No description provided

Lodash.isEqual vs JSON.stringify fort object

No description provided

toString anumber vs string literal a number

No description provided

for-in vs object.keys - log object

No description provided

Set array to [] vs splice

Set array to [] vs splice

Object.assign vs Spread syntax vs for...in statement for clone

No description provided

slice vs substr vs substring (with negative index)

Compares slice, substr and substring to each other when there is only a start index

push vs spread v3

No description provided

ReplaceAll (regular expression, native API, split and join)

No description provided

ReplaceAll

No description provided

Object vs Set vs Map Existence Check

No description provided

flatten : Array.flat() vs Ramda

No description provided

Filter duplicates

No description provided

6 properties - style.setProperty vs attributeStyleMap.set

No description provided

For in vs Object.keys for loop vs Object.keys.forEach

No description provided

Rest Object vs delete

Performance benchmark between using the "delete" keyword and spreading the object, removing unused key value pairs.

div vs textarea

No description provided

Updating innerHTML

No description provided

for forEach fixed

No description provided

Micromark vs markdown-it parser

No description provided

** vs. Math.pow() vs. Math.sqrt()

No description provided