Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

removeChild() Loop (front to back vs back to front)

No description provided

removeChild() Loop vs deleteContents() Range API Benchmark

This benchmark compares two JavaScript methods for removing DOM nodes between sibling elements. One method iteratively removes nodes using a loop and the removeChild() method, while the other leverages the DOM Range API by setting boundaries with setStartAfter() and setEndBefore(), then removing the nodes in one go with deleteContents(). Test cases include scenarios with 1, 5, 20, and 100 intermediate nodes to evaluate performance differences under various conditions.

testingqueries

No description provided

Javascript: ocaleCompare vs ===

No description provided

asdasdasdasdasdasdasda

No description provided

flat typed array vs 2d typed array

No description provided

Fourjunctions Time Complexity

Benchmarking how much time is taken to execute multiple loops and single loops

Sorting small integers: Array vs various TypedArray types performance

No description provided

Array vs Float64Array performance

No description provided

Keys test

No description provided

JS: Getter/Setter vs Direct Access Performance

No description provided

grthyvar vs let vs constndj

No description provided

global variable access

No description provided

grthyvar vs let vs const

No description provided

drawing pixels: putImageData vs fillRect v2

No description provided

drawing pixels: putImageData vs fillRect

No description provided

PutImageData vs DrawImage v3

GetImageData with PutImageData vs just DrawImage

PutImageData vs DrawImage v2

GetImageData with PutImageData vs just DrawImage

isNaN vs Number.isNaN vs Self comparison

No description provided

Clean up strategy test 2

No description provided

Clean up strategy test

No description provided

Clean up strategy

No description provided

Splti vs Trim vs replace className

No description provided

document.evaluate(xpath) vs querySelectorAll

No description provided

forEach vs for of (with Iterator) 2

No description provided