Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

闭包变量创建方式 iife vs function call

No description provided

large list of strings: spread operator vs Array.from + push vs slice + push vs flat

Compare the new ES6 spread operator with the traditional concat() method and push

spread operator vs Array.from + push vs slice + push vs flat

Compare the new ES6 spread operator with the traditional concat() method and push

spread operator vs Array.from + push vs slice + push

Compare the new ES6 spread operator with the traditional concat() method and push

Array slice() vs. spread operator

Comparing ES6 spread operator with the slice() method

Direct call vs bind vs closure 2

No description provided

Direct call vs bind vs closure

No description provided

for-in vs object.keys (for)

No description provided

Cache toLowerCase() for string compare

No description provided

Object cloning benchmark

JSOn.stringify vs structuredClone

For in vs object values 2

No description provided

For in vs object values

No description provided

Lodash template vs replace

No description provided

String compare case insensitive: Regex.test() Vs toLowerCase() Vs localeCompare()

No description provided

createElement vs cloneNode.

No description provided

string cast vs template literal cast vs cached empty string cast with random values

cast to string or template literal wrapping

string cast vs template literal cast vs cached empty string cast

cast to string or template literal wrapping

instanceof vs isPrototypeOf

No description provided

Remove undefined attributes from an Object

No description provided

JS forEach vs for ... of Set

compare between forEach and for ... of

create Set vs Array

No description provided

Integer variable vs integer in a single-element array

Trying to avoid int/float conversion

Lodash cloneDeep vs structuredClone vs JSON.stringify/parse 2

https://developer.mozilla.org/en-US/docs/Web/API/structuredClone

estoolkit vs native structuredClone

No description provided

uniq vs [new Set()] with UUIDs

No description provided