HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
VanillaJS procedural
7K/s
Lodash funcional style (idiomatic)
3K/s
VanillaJS funcional style (idiomatic)
3K/s
Ramda without relying on currying or composition
881/s
Ramda with currying and composition
851/s

Fastest: VanillaJS procedural (7.7x faster)

View exact numbers
  • VanillaJS procedural: 6,536 ops/sec
  • Lodash funcional style (idiomatic): 2,909 ops/sec
  • VanillaJS funcional style (idiomatic): 2,695 ops/sec
  • Ramda without relying on currying or composition: 881 ops/sec
  • Ramda with currying and composition: 851 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
    Lodash funcional style (idiomatic)
    Lodash functional style (performance optimized with spread)
    Ramda without relying on currying or composition
    Ramda with currying and composition
    Ramda with transducers
    VanillaJS funcional style (idiomatic)
    VanillaJS functional style (performance optimized with spread)
    VanillaJS procedural

    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/132.0.0.0 Safari/537.36
Chrome 132 on Windows
View result in a separate tab
VanillaJS procedural
6K/s
VanillaJS functional style (performance optimized with spread)
6K/s
Lodash functional style (performance optimized with spread)
5K/s
Lodash funcional style (idiomatic)
3K/s
VanillaJS funcional style (idiomatic)
3K/s
Ramda without relying on currying or composition
881/s
Ramda with currying and composition
865/s
Ramda with transducers
759/s
View exact numbers
Test name Executions per second
VanillaJS procedural 6,314 Ops/sec
VanillaJS functional style (performance optimized with spread) 5,908 Ops/sec
Lodash functional style (performance optimized with spread) 5,210 Ops/sec
Lodash funcional style (idiomatic) 2,907 Ops/sec
VanillaJS funcional style (idiomatic) 2,703 Ops/sec
Ramda without relying on currying or composition 881 Ops/sec
Ramda with currying and composition 865 Ops/sec
Ramda with transducers 759 Ops/sec