Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

InAndOutScope

No description provided

wyygoUfhcrzEqJb8aQVZyF2PFTky4fDV

No description provided

aoA6ApW486QVzbnDH8DbTzRJQgUzwPmq

No description provided

if ...// if compressed

No description provided

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

PwD84cTUCbiv4QqfvngndfD7u8sXdFuW-2

No description provided

Object.assign vs prototype

No description provided

Object.assign vs prototype

No description provided

Object.assign vs prototype

No description provided

PwD84cTUCbiv4QqfvngndfD7u8sXdFuW

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.

Filter objects in array by attribute

Testing the cheapest pattern for filtering an array of objects based on attribute.

sha1asm

No description provided

bytesToHex

No description provided

Find object in array by attribute

Testing the cheapest pattern for finding an object in a collection of objects based on attribute.

bytesToHex

No description provided

bytesToHex

No description provided

Compare GCD

No description provided

For vs indexof

No description provided

String Concat vs JSON.stringify

String Concat vs JSON.stringify

continuous array vs sparse array

No description provided

Find prime gaps - with or without intermediate var

No description provided