Benchmark name When Created
Javascript if condition < 0 4 years ago
str.prototype.repeat() vs for loop

benchmark performance between str.prototype.repeat() and for loop

4 years ago
lodash.round VS toFixed() VS toFixed() and parseFloat vs L.formmatNum

Compare round lodash function vs javascript native toFixed() function

4 years ago
JS Filter Test large array 4 years ago
for vs reduce 4 years ago
Object.entries VS Object.keys VS Object.keys with extra array VS Object.entries without array vs. for...in 4 years ago
slice vs substr vs substring to truncate string

Compares slice, substr and substring to each other when the start index is 0

4 years ago
RegExp constructor vs literal vs premade, constructing in function, inline the test 2

Testing performance when using a new RegExp object vs a literal regex

4 years ago
add class methods 4 years ago
forEach variants 4 years ago
Map (Immer vs Native) 4 years ago
Array push vs spread operator (including front)

Compare the new ES6 spread operator with the traditional push method

4 years ago
Array push vs spread operator

Compare the new ES6 spread operator with the traditional push method

4 years ago
createElement vs createContextualFragment 4 years ago
WebGL math library comparison

Originally from jsperf webgl-math-library-comparisson A comparisson of several math / vector libraries to be used against webgl. The test is intended to help select the fastest library to use for webgl projects. Libraries Tested: Closure / goog.math, gl-matrix, N3D, Sylvester, vanilla js These results show that the allocation of small temporary objects is practically free in modern browsers. Arrays are still much slower though. With this in mind, an ideal modern webgl math library should use immutable objects for each function call and then have a final conversion to Float32Array function only used when assigning the result to WebGL since allocating ArrayBuffers is also extremely slow.

4 years ago
img selector 4 years ago
Spread vs Object.assign vs Object.keys with forEach 4 years ago
Spread vs Object.assign vs Object.keys 4 years ago
Spread vs Object.assign vs Object.keys and reduce 4 years ago
Spread vs Object.assign vs Not merging 4 years ago
reduce vs assigning with a forEach 4 years ago
Substr vs slice vs replace 4 years ago
Array Exists vs If...else 4 years ago
Performance Test: substring + indexOf x split + splice x split + [0] x regex multiple 4 years ago
using data set. array vs object 4 years ago

 Create Your benchmarks