Benchmark name When Created
innerhtml vs removechild vs remove(my version) 4 days ago
Math.max(...) vs reduce 4 days ago
Compare regexp vs literal creation and test 4 days ago
Array concat vs spread operator vs push for strings

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

4 days ago
Initializing array with n undefined items

worth to note that the maximum callstack size is exceeded for the first test case (spread operator) with n = 1 million

4 days ago
constructor vs double negation 4 days ago
Lodash deep isEqual test

Test isEqual performance on deep objects

4 days ago
Math pow and double asterisk with floats 5 days ago
Truncating a number to an integer

~~, bitwise << and Math.trunc. Math.floor will always round down to the nearest integer, which means that for negative numbers it's going to be one less than all the other ones. You shouldn't use the others for rounding down for the same reason - the answer will be wrong for negative numbers.

5 days ago
Rounding to precision

Comparing performance of: toFixed(4) vs toPrecision(4).toString() vs (Math.round(*10000)/10000).toString(). Please note that Math.floor, Math.trunc and ~~ can't be used for accurate rounding

5 days ago
RequireJS paths processing

Replace path prefixes either by splitting and concatenating path parts or by looking up separators in the path.

5 days ago
Array concat vs spread operator vs push vs Array.prototype.push.apply

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

5 days ago
memoized object assignment (new objects - flat) (moize.simple) 5 days ago
reduce tests with spread 5 days ago
memoized object assignment (new objects - flat) 5 days ago
memoized object assignment (new objects) 5 days ago
memoized object assignment

Comparing the performance of memoizeOne to other memoization libraries

5 days ago
memoizeOne - complex types - September 2020

Comparing the performance of memoizeOne to other memoization libraries

5 days ago
memoizeOne - September 2020

Comparing the performance of memoizeOne to other memoization libraries

5 days ago
repeat vs loop

test

5 days ago
uniqBy vs stringify performance

lodash vs javascript

5 days ago
Adding items to an array

spread vs concat vs unshift vs push There was also push.apply, but the browsers kept running out of memory for those tests. It worked only once. Here's a comparison with just the push results: arrayPush 4763922.0 Ops/sec arrayPush.apply 2666974.0 Ops/sec

6 days ago
set.has vs. array.includes vs array.indexOf (numeric values) 6 days ago
Test JS endswith implementation2 6 days ago
Test JS endswith implementation 6 days ago

 New benchmark Your benchmarks