HTML Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
String Parse with lodash
3.0M/s
Date Object without lodash
1.0M/s

Fastest: String Parse with lodash (2.9x faster)

View exact numbers
  • String Parse with lodash: 2,950,585 ops/sec
  • Date Object without lodash: 1,019,324 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
    Date Object without lodash
    String Parse with lodash

    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/130.0.0.0 Safari/537.36
Chrome 130 on Mac OS X 10.15.7
View result in a separate tab
String Parse with lodash
2.9M/s
Date Object without lodash
760K/s
View exact numbers
Test name Executions per second
String Parse with lodash 2,906,476 Ops/sec
Date Object without lodash 759,932 Ops/sec