Browse the latest JavaScript performance benchmarks created by the community.
Compare loop performance
You can create functions on the fly in Javascript through the new Function constructor (as an alternative to eval()). Are there any performance issues with that? Find out!
No description provided
Port from jsperf(https://jsperf.com/sorting-algorithms/58)
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
You don't need to make add for loops in your test scenarios, the benchmark does it itself.
No description provided
No description provided
No description provided
No description provided
Swap an DOM element with replaceWith() and compare with the .outerHTML method of replacing its content instead. replaceWith() - Pretty one-liner - Breaks element attributes, inline style and scrollHeight/scrollWidth (fully re-render element) .outerHTML - Keeps attributes, inline style and scrollHeight/scrollWidth (partially re-render element) - Breaks previous element references, "hacky" looking and sometimes perceptible (element may flash for a split second)
Compare loop performance
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided