HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
js reduce
233K/s
lodash reduce
227K/s
JS map
144K/s
lodash map
94K/s

Fastest: js reduce (2.5x faster)

View exact numbers
  • js reduce: 233,010 ops/sec
  • lodash reduce: 227,324 ops/sec
  • JS map: 143,604 ops/sec
  • lodash map: 94,321 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    JS map
    lodash map
    js reduce
    lodash reduce

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36 Edg/137.0.0.0
Chrome 137 on Windows
View result in a separate tab
js reduce
179K/s
lodash reduce
170K/s
JS map
144K/s
lodash map
44K/s
View exact numbers
Test name Executions per second
js reduce 178,646 Ops/sec
lodash reduce 170,409 Ops/sec
JS map 143,604 Ops/sec
lodash map 43,869 Ops/sec