Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Fragment js createElement 2

No description provided

111456v54v6546

222

Encode vs Blob vs length

Checking size of string performance

elem.ownerDocument.defaultView.getComputedStyle vs window.getComputedStyle

No description provided

lodash merge vs deepmerge 4.2.2

No description provided

Array concat vs spread operator vs push with object

Compare the new ES6 spread operator with the traditional concat() method and push

dompurify vs native vs none

No description provided

Lodash reduce vs transform vs Native reduce on object (Object without prototype)

No description provided

FindIndex + splice vs filter + includes

No description provided

pick by spread operation vs delete

No description provided

String.charAt vs String.sub

No description provided

Int32Array.sort vs Array.sort

No description provided

string concatenation vs string array

No description provided

querySelector vs querySelectorAll simple (single element result)

No description provided

Object.fromEntries x reduce (correctly using fromEntries - addtl work)

No description provided

Object.fromEntries x reduce (correctly using fromEntries)

No description provided

Math.sqrt(x) vs x**0.5

No description provided

Generate HTML and get reference to element : DOMParser + querySelectorAll vs document.createElement

We want to build HTMLElements and get reference to some of them in an object named controller. Here we say we want reference to elements with an 'id'.<br> <br> We test two different methods :<br> - Create elements from HTML string using DOMParser and use querySelectorAll to build controller<br> - Create elements from createElement method and build controller from them<br> <br> Here we also put the generated DOM in a fragment because we want to be able to append generated DOM to any element

Compare TextEncoder, Blob, new TextEncoder

No description provided

Math.max/min vs Ternary vs if

No description provided

Test1212312415

No description provided

startsWith vs test 3

No description provided

Object.hasOwn VS `in` [simple]

No description provided

querySelector vs querySelectorAll simple 4

No description provided

set array index: slice vs Object.assign vs slice concacct vs slice and set

No description provided