Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

`filter().length` vs. `reduce`

Compare `filter().length` vs `reduce` vs `for` loop for counting array elements that are present in another array.

underscore without vs filter

No description provided

array indexOf vs includes vs some vs for loop

performance comparison of ways to find if an array contains a value

TextDecoder vs String.fromCharCode vs String.fromCodePoint

No description provided

Array.prototype.slice vs spread operator [FIXED]

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

keys vs entriess

No description provided

Async vs Callback

No description provided

fflate vs lz-string vs shorty with ultra long string

emulate file compression/decompression

fflate vs lz-string vs shorty with long string

emulate file compression/decompression

Test arrayLike transformation

No description provided

Math.pow vs ** vs * on 10^9

No description provided

splitAndJoin vs replaceAll in Javascript

No description provided

Set array expansion Part 3

Tests the implications of expanding large sets into an array for finding values within them

Set array expansion Part 2

Tests the implications of expanding large sets into an array for finding values within them

Set array expansion

Tests the implications of expanding large sets into an array for finding values within them

every vs for x2

No description provided

Are function calls bad

No description provided

string split vs indexOf vs yield 2

No description provided

string split vs indexOf vs yield

No description provided

Concat vs push vs spread for large arrays 2

Comparing the various ways to append to a large array

string split vs indexOf iteration

No description provided

FD Concat vs push(...) for large arrays

Comparing the various ways to append to a large array

One iteration vs two comparable checks

No description provided

every vs for loop small arrays single setup

No description provided

every vs for loop large arrays not empty

No description provided