Benchmark name When Created
/\s/.test(v) vs !!v.trim() 7 months ago
string array join vs for loop concatenation 7 months ago
Number between/ Number in range

Check if a number is in the range of numbers. ie. is 5 between 1 and 10/ in range of 1 to 10

7 months ago
lodash flatmap vs native 7 months ago
Dompurify vs sanitize-html (latest) 7 months ago
Add new element to array: push vs destructuring (large array) 7 months ago
ForEach then find index vs ForEach then includes vs ForEach then indexOf v2.2 7 months ago
Test indexOf vs FindIndex vs include v2 7 months ago
perfomance.now vs Date.now vs +new Date() 7 months ago
array find vs object key 7 months ago
Markdown Performance Comparison - parse 7 months ago
Date.parse string vs new Date ms 7 months ago
set.get (not new set) vs native include vs lodash include in small data scale 7 months ago
set.get vs native include vs lodash include in small data scale 7 months ago
set.get(with new set) vs native include vs lodash include in small data scale 7 months ago
set.get(with new set) vs native include vs lodash include 7 months ago
toSorted vs slice&sort vs es6 [...]&sort 7 months ago
set.get vs native include vs lodash include 7 months ago
lodash times vs new array fill vs array.from

new default array

7 months ago
Test forEach (findIndex) vs forEach (include)

Test forEach (findIndex) vs forEach (include)

7 months ago
Array.find vs. Map.get 300

Test the performance of Array.find vs. Map.get, with various array sizes, and with/without conversion from array to map

7 months ago
JavaScript Array Copy Test 2

Testing the results for the fastest approach of shallow copying an array in JavaScript (concat, slice, for loop, and while loop).

7 months ago
loopssadsadad 7 months ago
Lodash vs. Set Methods Intersection 7 months ago
setAttribute vs classList.add 8 months ago

 Create Your benchmarks