Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

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

Classnames vs CLSX vs Alternatives 2025

Compare CLSX vs Classnames vs an own implementation of creating a template string

className vs classList vs style

No description provided

Sequencer

No description provided

Object assign vs Object create with properties vs __proto__

No description provided

Object assign vs Object create with properties

No description provided

Object.entries vs for..inasasdasdasd

No description provided

FlatMap method vs for loop asdas

Compare the performance of for loop vs flatMap method

reuse obj vs new obj

No description provided

module level regex vs scoped

No description provided

date.now

No description provided

_.replace(line, /\r\n|\n/, '') vs .indexOf('/n') #4

_.replace(line, /\r\n|\n/, '') vs .indexOf('/n')

_.replace(line, /\r\n|\n/, '') vs .indexOf('/n') #3

_.replace(line, /\r\n|\n/, '') vs .indexOf('/n')

_.replace(line, /\r\n|\n/, '') vs .indexOf('/n') #2

_.replace(line, /\r\n|\n/, '') vs .indexOf('/n')

_.replace(line, /\r\n|\n/, '') vs .indexOf('/n')

_.replace(line, /\r\n|\n/, '') vs .indexOf('/n')