HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 52 community runs

Desktop Results:
Chrome 40 runs
VanillaJS functional style
4K/s
Ramda without relying on currying or composition
1K/s
Ramda with currying and composition
1K/s
Lodash
933/s
VanillaJS procedural
691/s

Fastest: VanillaJS functional style (5.2x faster)

View exact numbers
  • VanillaJS functional style: 3,566 ops/sec
  • Ramda without relying on currying or composition: 1,284 ops/sec
  • Ramda with currying and composition: 1,225 ops/sec
  • Lodash: 933 ops/sec
  • VanillaJS procedural: 691 ops/sec
Firefox 5 runs
VanillaJS procedural
7K/s
VanillaJS functional style
3K/s
Lodash
994/s
Ramda without relying on currying or composition
628/s
Ramda with currying and composition
412/s

Fastest: VanillaJS procedural (16.2x faster)

View exact numbers
  • VanillaJS procedural: 6,671 ops/sec
  • VanillaJS functional style: 2,911 ops/sec
  • Lodash: 994 ops/sec
  • Ramda without relying on currying or composition: 628 ops/sec
  • Ramda with currying and composition: 412 ops/sec
Mobile Results:
Chrome 7 runs
VanillaJS functional style
1K/s
Ramda without relying on currying or composition
381/s
Ramda with currying and composition
346/s
Lodash
199/s
VanillaJS procedural
178/s

Fastest: VanillaJS functional style (6.2x faster)

View exact numbers
  • VanillaJS functional style: 1,103 ops/sec
  • Ramda without relying on currying or composition: 381 ops/sec
  • Ramda with currying and composition: 346 ops/sec
  • Lodash: 199 ops/sec
  • VanillaJS procedural: 178 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
    Ramda without relying on currying or composition
    Ramda with currying and composition
    VanillaJS functional style
    VanillaJS procedural

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Chrome 134 on Mac OS X 10.15.7
View result in a separate tab
VanillaJS procedural
9K/s
VanillaJS functional style
4K/s
Lodash
3K/s
Ramda without relying on currying or composition
2K/s
Ramda with currying and composition
2K/s
View exact numbers
Test name Executions per second
VanillaJS procedural 9,004 Ops/sec
VanillaJS functional style 3,837 Ops/sec
Lodash 2,536 Ops/sec
Ramda without relying on currying or composition 1,555 Ops/sec
Ramda with currying and composition 1,505 Ops/sec