Browse the latest JavaScript performance benchmarks created by the community.
Compares the speed for removing 2 items from the beginning of an array
No description provided
A few of these cases are mostly to figure out how some changes impact optimisation. At the time of writing, each new test is based on the previous fastest test. So failed ideas don't reappear.
Compare the "reduce" method with "for" iteration and "for-of" iteration. We try to find the maximum value in a list of number. I also added Math.max with the spread operator.
No description provided
No description provided
No description provided
Compare setAttribute to dataset
No description provided
Test a speed difference between these 2 approaches
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
Compare the new ES6 spread operator with the traditional slice() method
No description provided
No description provided
JSON.stringify vs structuredClone
JSON.stringify vs structuredClone
Compare the new ES6 spread operator with the traditional concat() method
No description provided