Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

clearing array via pop() vs shift() vs .length = 0 vs = []

No description provided

Remove from array

Remove from array

JS Filter Test

No description provided

modulo vs if

nothing!

Test DOM elements selector

No description provided

Native XHR vs XHR 2

Pure JavaScript XHR Benchmark

Moment Tests

No description provided

tagname vs classname

No description provided

Get elements by class: jQuery vs querySelectorAll vs getElementsByClassName (jQuery 1.x)

Compare various methods of obtaining a group of elements identified by class name

Remove by splice vs copyWithin vs filter

Deletion of an element from an array.

Remove by splice vs copyWithin

In-place deletion of an element from an array.

Cache global vs reference

No description provided

dynamic create object vs array vs buffered

No description provided

Object array search by property

No description provided

Arguments vs. Rest

Which is faster to check if function has not been passed too many arguments?

Linked List Queue vs Double Array Queue

Testing a linked list queue vs a double list queue for different performance scenarios.

single v double array queue

No description provided

removeclass vs hide

No description provided

addclass vs show

No description provided

Testing JS Performance of deleting a large map.

In FF if the object being iterated over is large enough it will trigger an expensive cycle collection with Test #1. Test #2 runs approximately 100 times faster on FF. The difference is marginal in Chrome. To see the difference in timing, I recommend loading up the debugger console to see exactly how many ms each run takes.

bytesToHex

No description provided

String Concat vs JSON.stringify

String Concat vs JSON.stringify

Find prime gaps - with or without intermediate var

No description provided

HTML insertion

compare between plain js and jQuery

For in vs For of

No description provided

NEW BENCHMARK Your Benchmarks