Latest Benchmarks

Browse the latest JavaScript performance benchmarks created by the community.

Map vs Object few vs many keys

Compares usage of Map vs object in two cases - many keys and few keys (< 30)

ptag initialization/memory test - iloop 10000

No description provided

ptag initialization

creating a ptag instance: ptag()

lodash keyBy beforehand access vs lodash find vs js find

No description provided

lodash keyBy access vs lodash find vs js find

No description provided

双轴图对齐算法性能对比(version2)

No description provided

双轴图对齐算法性能对比

No description provided

双轴图刻度对齐算法性能对比

No description provided

abs vs ** 2 vs math.pow

No description provided

sumby with reduce vs by mapping first

No description provided

Math.min and Math.max vs reduce vs for for vs Math.min.apply 100000 items.

No description provided

Lodash.isEqual vs JSON.stringify Equality Comparison for Objects mapping numbers to array of numbers.

Test on isEqual performance

Object.fromEntries vs mapValues

No description provided

iloop - console.log vs. ptag vs. ctag vs. slim vs. ptag native-bypass (logLevel=-1) vs. ptag NO_COLOR

A looped version of the ptag test that prints a new line and number instead of updating the devtool's inline counter; without no-log (for fairness)

console.log / ptag / ptagi / ctag / slim / ptag native-bypass / ptag NO_COLOR

without no-log (for fairness)

iloop - console.log vs. ptag vs. ctag vs. slim vs. ptag no-log (logLevel=0) vs. ptag native-bypass (logLevel=-1) vs. ptag NO_COLOR

A looped version of the ptag test that prints a new line and number instead of updating the devtool's inline counter

console.log vs. ptag vs. ctag vs. slim vs. ptag no-log (logLevel=0) vs. ptag native-bypass (logLevel=-1) vs. ptag NO_COLOR

No description provided

AlgoBenchmark

No description provided

4-number (float) Array.slice() vs. Spread operator

For times when a shallow copy of an Array is needed, what is the performance difference between these 2 methods.

4-element Array.slice() vs. Spread operator

For times when a shallow copy of an Array is needed, what is the performance difference between these 2 methods.

4-tuple array slice vs spread operator

No description provided

JS some vs Lodash some with callback vs Lodash some with object

No description provided

User Agent search

No description provided

`filter().length` vs. `reduce` 2

Compare `filter().length` vs `reduce` vs `for` loop for counting array elements that are present in another array.

adding elements

No description provided