Benchmark name When Created
dayjs vs luxon timeToEnd 6 months ago
dayjs vs luxon withTimezoneFromString 6 months ago
dayjs vs luxon currentDate 6 months ago
String.concat vs array.join 6 months ago
Sort with compare inside/outside with try catch

test

6 months ago
JavaScript a.includes(i) + a.push(i) vs new Set(a) + concat() + ...spread

new Set() vs conditional push()

6 months ago
pos vs neg for loops 2 6 months ago
split vs splitstring 6 months ago
Deep copy comparison gil

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

6 months ago
Set.has() vs Array.includes() vs Array.indexOf() vs Array.lastIndexOf() vs Map.has() 6 months ago
runtest

411

6 months ago
run test

111

6 months ago
add fields to objects in array

speed of different variants of adding field into objects in array

6 months ago
lodash camelCase vs javascript snake to camelcase only using regex 6 months ago
forEach mutate object vs map spread copy v2

add field into object with forEach vs spread fields into new object with new field in array of objects

6 months ago
lodash camelCase vs javascript regex with predefined regex 6 months ago
forEach mutate object vs map spread copy

add field into object with forEach vs spread fields into new object with new field in array of objects

6 months ago
new class from fn vs function returning obj from fn 2

Measure the performance of instanceOf operator vs comparing a basic string type.

6 months ago
Map vs Object (real-world) Performance (better) 2

Lookup of map vs object (in a real-world test format)

6 months ago
Set has vs object key vs map has

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

6 months ago
Date.parse vs new Date(int) 6 months ago
moment vs custom parse 6 months ago
Set has vs object key 3

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

6 months ago
Plain object access vs Proxy vs Property 6 months ago
pop vs index for array

Comparing pop method vs last index check for an array element

6 months ago

 Create Your benchmarks


;