Browse the latest JavaScript performance benchmarks created by the community.
Compare loop performance
No description provided
No description provided
No description provided
No description provided
if one time get style. Better element.clientWidth if two - no difference if three ore more, Better getComputedStyle(element)
Compare the new ES6 spread operator with the traditional slice() method
Compare the new ES6 spread operator with the traditional slice() method
Compare the new ES6 spread operator with the traditional slice() method
Testing Here
No description provided
No description provided
Object lookup performance
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
Test the performance of replace() vs substring() vs slice() when replacing a char at the beginning of a (in this case uri query-)string that may or may not be there. Added the combined brackets[ ] + substr() method, since it's always the first char we wan't to pop off. Inspired by https://jsperf.com/replace-or-substr. Note: could not get 'let' and 'const' to work. Well, too bad...