HTML Preparation code:
Script Preparation code:
Tests:
  • Always new instance

  • static global instance

  • Lodash cache

  • Custom cache with maps

  • Custom cache with objects

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Always new instance
    static global instance
    Lodash cache
    Custom cache with maps
    Custom cache with objects

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36 Edg/134.0.0.0
Chrome 134 on Windows
View result in a separate tab
Test name Executions per second
Always new instance 22599.6 Ops/sec
static global instance 853766.8 Ops/sec
Lodash cache 505681.2 Ops/sec
Custom cache with maps 811703.8 Ops/sec
Custom cache with objects 707904.9 Ops/sec