Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

_.uniqBy vs myUniqBy

_.uniqBy vs myUniqBy

Assignment of values vs Destructuring an object of multiple values

No description provided

test regex vs loop

test regex vs loop

prefix trimming techniques

No description provided

slice vs substr vs substring (with no end index)222

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

slice vs substr vs substring (with no end index)22

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

slice vs substr vs substring (with no end index)2

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

Object cloning with Lodash clone vs ES6 object spread vs ES6 Object.assign vs Json copy

No description provided

Lodash cloneDeep vs JSON Clone vs structuredClone

No description provided

Spilt() vs Substring()

No description provided

Math.max vs _.max

No description provided

Native Object.values().some() vs lodash _.some()

No description provided

slice vs. spread operator

No description provided

Array.prototype.filter vs Lodash filter vs Native loop

No description provided

object spread vs Object.assign

No description provided

comparison due to the order of || operation

No description provided

includes vs has 20220126

No description provided

2lodash uniq vs set

No description provided

Array Slice vs Pop

No description provided

Lodash omit vs Native destructuring vs Manual omit 2022

Compare _.omit vs native destructuring vs manual omit

compare drawing lots of sprites (filled circles and squares) using various canvas methods II WITH ROUNDED PIXELS

This benchmark compares methods of drawing lots of sprites onto a HTML5 canvas element. We test two basic "sprites": a filled square and a filled circle. We can explicitly draw them with path drawing methods, or drawing a prototype and copying them onto the canvas multiple times, using drawImage, or putImageData.

InstanceOf vs String type 2

Measure the performance of instanceOf operator vs comparing a basic string type.

Array.includes vs Object.hasOwnProperty vs Reflect.has vs object[id]

No description provided

Single instance of Intl.NumberFormat vs toLocalString with grouping and min/max digits

No description provided

Single instance of Intl.NumberFormat vs toLocalString

No description provided