Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

lodash xor perf copy

Searching for faster solution for _.xor(a, b)

Array From vs Array slice vs [].slice vs spread

No description provided

array join('.') vs toString js

test

VJ _.isEqual benchmark with JSON.stringify

Test on deep equality checking performance

lodash _isEqual

No description provided

Array diff2

No description provided

Array diff

No description provided

RegEx.test vs. String.includes vs. String.match Case Insensitive

No description provided

slicing regex vs sticky regex

No description provided

concat vs spread by rulasfia

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

Map iteration vs Map.values() iteration

No description provided

My 1st test

My 1st test

Dedupe Obj by prop (150 items)

No description provided

Object.create(null) vs {} vs Map() key access (heavy)

Testing access to the own properties of a big Object / Map. true / false - 50% / 50% . Caution! Heavy test.

moment vs date-fns parsing

It's not a deep validation; I'm just comparing ONE function that those two libraries have in common.

map() vs for...loop using Moore's 3

No description provided

Array.prototype.slice vs For i loop

No description provided

Deep copy comparison with structuredClone

Benchmarks for StackOverflow question on deep copy techniques https://stackoverflow.com/questions/7486085/copy-array-by-value/23536726#23536726

replaceAll native 2023 vs regex replace

No description provided

Lodash Union vs Spread (100000)

No description provided

Dompurify vs fn that returns string

No description provided

Last char in a string: char index vs charAt() vs slice() vs at()

Compare methods for testing string's beggining character.

Timezone format: Intl.DateTimeFormat vs. Moment.js vs. Luxon

No description provided

Add Zeroes

No description provided

Compare Or vs Includes

No description provided