Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Moment.js string vs Date in constructor

No description provided

Math.round vs 0.5 << 0

No description provided

toLocaleString vs regex

No description provided

concat vs Destructuring

No description provided

JSON stringify vs array join 2

No description provided

_.pickBy vs native vs ES6 Filter

No description provided

<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.15/lodash.min.js'></script>

No description provided

String.includes vs. multiple String.endsWith

If what you're looking for is expected to be at the end of a string, is it faster to test multiple known setups from the end of the string?

Sorting array

No description provided

Rest parameters vs array parameter 2

No description provided

Const vs Has

Const vs Has

Math.pow(x,0.5) vs Math.sqrt(x) 12

No description provided

es6 destructuring vs lodash _.get string and array keys with toPath and manual caching 2

No description provided

JavaScript spread operator vs Object.assign (with new object) performance

No description provided

object spread vs. Object.assign()

No description provided

array.entries() vs for loop 2

No description provided

Reduce vs array.entries() vs for loop

No description provided

Deep clone performance comparison

No description provided

querySelector vs getElementsByTagName iframe src 1.1

No description provided

querySelector vs getElementsByTagName iframe src

No description provided

JQuery version speed test jQuery 3.4.1 all 1

JQuery version speed test

forEach vs Flatmap

No description provided

Array.prototype.filter vs Lodash filter bumped to 10k

No description provided

Array.prototype.filter vs Lodash filter bumped to million

No description provided

Ramda vs. Lodash vs. Sanctuary

Compares performance on the same task using Lodash vs two styles of Ramda vs two styles of "native" Javascript vs Sanctuary. In all cases the task is pulling "counter" property from each item in an array, filtering out odd items, squaring them, then returning those squared values that have less than two digits.