HTML Preparation code:
Tests:
  • native approach with reduce

  • native approach fromEntries

  • lodash mapValues

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    native approach with reduce
    native approach fromEntries
    lodash mapValues

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:96.0) Gecko/20100101 Firefox/96.0
Firefox 96 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
native approach with reduce 6724488.0 Ops/sec
native approach fromEntries 5500797.0 Ops/sec
lodash mapValues 4018721.0 Ops/sec