Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

.endsWith vs includes betterment

No description provided

luxon vs datefns vs moment-timezone

No description provided

Object.fromEntries + Object.entries vs Object.keys

No description provided

concatenating 2 arrays 2

No description provided

bignumber.js vs. big.js vs. decimal.js (no to string)

- https://github.com/MikeMcl/bignumber.js/tree/v9.0.0 - https://github.com/MikeMcl/big.js/tree/v5.2.2 - https://github.com/MikeMcl/decimal.js/tree/v10.2.0

Array.prototype.concat vs spread operator (new try)

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

native reverse findIndex vs lodash _.findLastIndex

Compare lodash findLastIndex with native reverse and findIndex.

Delete performance

No description provided

Lodash.get vs object-path vs Property dot notation

Modified from https://gist.github.com/acao/018fa0943da0e39c96f57fca64cd0c02

Map get VS Map has get

Map get VS Map has get

find by id and replace in array [lodash vs js vs ramda]

find by id and replace in array [lodash vs js vs ramda]

findIndex vs indexOf vs contains

No description provided

Math.sqrt() vs. Binary search sqrt

No description provided

forEach vs reduce vs map vs filter vs for (slightly optimized for (fixed))

No description provided

Array.from vs Spread and map

No description provided

Branchless vs Branched Angle Inversion

No description provided

branchless min vs Math.min vs cached min vs ternary vs if (2 values)

No description provided

branchless max vs Math.max (cached & uncached)

No description provided

match vs include vs indexOf

No description provided

Jquery 2 vs 3 vs 3Slim

No description provided

JS Regex vs .startsWith vs .indexOf vs endsWith vs charAt vs substring

fork of https://www.measurethat.net/Benchmarks/Show/975/11/regex-vs-indexof-vs-startswith-vs-substr

Array loop vs foreach vs map fixed by bomi

Makes the benchmark actually measure the speed of for/foreach/map instead of slowing them down.

native find vs underscore _.find

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

jQuery .html() vs Element.innerHTML fixed

No description provided

lodash.filter vs js native

Remove undefined/null from array

NEW BENCHMARK Your Benchmarks