Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

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

Id and CLass Contains

No description provided

String vs concat

No description provided

[{key, fn}, ...] vs {[key]: fn, ...}

Iterating over array of {key, fn} vs object of {[key]: fn}

HTML insertion

compare between plain js and jQuery

[{key, fn}, ...] vs {[key]: fn, ...}

Iterating over array of {key, fn} vs object of {[key]: fn}

Compare GCD

Compare GCD

testasdasd

test

var vs let

No description provided

testingCloneObject3

No description provided

testingCloneObject2

No description provided

testingCloneObject

No description provided