Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

check navigator.language v3

No description provided

document.location.hostname vs location.hostname

No description provided

check navigator.language v2

No description provided

check navigator.language

No description provided

[STRING] IndexOf vs Includes

simple sample to test perf

indexOf() vs test() vs === vs

No description provided

indexOf() vs test() vs ===

No description provided

indexOf() vs test()

No description provided

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