Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

RFDC clone vs Clone vs JSON Clone

No description provided

Array vs Object vs Map vs WeakMap access (123123)

No description provided

create new Map vs create new Array

No description provided

string concat big string

No description provided

var array = [1,2,3];

var array = [1,2,3];

Restoring actual data

No description provided

spread undefined vs empty object

No description provided

multie params vs object

No description provided

flatten merge array : reduce VS Object.assign

No description provided

flatten merge array: reduce VS Object.assign

No description provided

Array.Prototype.at vs index

Measures performance between using arr.at(1) to access an element in an array and arr[1]

test for loop - 123122

No description provided

operator `in` vs. get property by key

No description provided

Array last index

No description provided

includes vs key3

Prüft was schneller ist

includes vs key2

Prüft was schneller ist

includes vs key

Prüft was schneller ist

lodash uniq vs set with strings

No description provided

Number vs Unary vs parseFloat vs parseInt

No description provided

Object assign vs direct assignment by iterating keys without Object.keys

Should you be saving your fields to an object with Object.keys(toSave).forEach(k => ...) or by for(var i in object) { toSave[i] } or by Object.assign(destination, toSave);

Regex vs String comparison

No description provided

Math.min vs if/else vs ternary operator test 3

Quickest operation to return smaller of 2 numbers

Math.min vs if/else vs ternary operator test 2

Quickest operation to return smaller of 2 numbers

Array() vs Array.from() fill

Testing the difference between creating filled arrays.

Array() vs new Array() fill

Testing the difference between creating filled arrays.