Benchmark name When Created
test for loop - 123122 8 months ago
operator `in` vs. get property by key 8 months ago
Array last index 8 months ago
includes vs key3

Prüft was schneller ist

8 months ago
includes vs key2

Prüft was schneller ist

8 months ago
includes vs key

Prüft was schneller ist

8 months ago
lodash uniq vs set with strings 8 months ago
Number vs Unary vs parseFloat vs parseInt 8 months ago
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);

8 months ago
Regex vs String comparison 8 months ago
Math.min vs if/else vs ternary operator test 3

Quickest operation to return smaller of 2 numbers

8 months ago
Math.min vs if/else vs ternary operator test 2

Quickest operation to return smaller of 2 numbers

8 months ago
Array() vs Array.from() fill

Testing the difference between creating filled arrays.

8 months ago
Array() vs new Array() fill

Testing the difference between creating filled arrays.

8 months ago
isNumber vs unary cast 8 months ago
Cached querySelector single

Testing if caching querySelector makes a diference

8 months ago
JS loops comparison 8 months ago
value comparison vs. JSON.stringify 8 months ago
ES6 Class vs Prototype vs Object Literal v3

Test the speed and memory usage using 3 different techniques for constructing class objects.

8 months ago
Array 2000 spread vs concat 8 months ago
RegEx.test vs. String.includes vs. String.match vs String.replace vs String.replace classic 8 months ago
RegEx.test vs. String.includes vs. String.match vs String.replace 8 months ago
Compare typeof vs null check 2 8 months ago
set.has vs. array.includes vs array.indexOf on big data 9 months ago
endsWith vs Regex aspx ending 9 months ago

 Create Your benchmarks


;