Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

test forin vs keys+foreach+for

No description provided

test forin vs keys+foreach

No description provided

Assigning new variable

No description provided

Array.from vs map 1

No description provided

Split vs Regex json formatting

No description provided

Split vs Regex json strings

No description provided

Populating a Set

No description provided

Set() has vs add

To figure out if it's even worth checking via .has or just spamming .add repeatedly.

flatMap vs reduce (group count) (v2)

No description provided

flatMap vs reduce (group count)

No description provided

concat vs spread vs push

No description provided

Bench flat map vs spread reduce (small array)

No description provided

intersection lodash

No description provided

concat vs unshift vs spread (huge arrays)

No description provided

Lodash vs Set Intersection vs includes vs indexOf (not ordered list)

No description provided

Lodash vs Set Intersection vs includes vs indexOf

No description provided

JS switch vs if/else if 1 condition

Benchmark of the speed difference between using multiple IF statements and an open-ended IF/ELSE IF.

set.has vs. array.includes but include converting as well

No description provided

radix sort each base

radix sort base with binary number, octal number, decimal number, hexadecimal, quater of int, half of int

dose Lodash _.union vs native Set()

No description provided

dose Array Intersection vs. Set Intersection vs. Lodash part 3

No description provided

Initializing array with map function - JS version of Python list comprehension

worth to note that the maximum callstack size is exceeded for the first test case (spread operator) with n = 1 million

Lodash Chain vs Native vs Lodash && vs Native && vs Flow

No description provided

For let vs var vs const

No description provided

Initializing array with map function

worth to note that the maximum callstack size is exceeded for the first test case (spread operator) with n = 1 million

NEW BENCHMARK Your Benchmarks