Script Preparation code:
Tests:
  • Get generated property with eval

  • Get property

  • Get dynamic property

  • Get field

  • Nothing

  • Get generated property with Function ctor

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Get generated property with eval
    Get property
    Get dynamic property
    Get field
    Nothing
    Get generated property with Function ctor

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 12 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Get generated property with eval 5233.7 Ops/sec
Get property 5241.9 Ops/sec
Get dynamic property 5046.5 Ops/sec
Get field 5314.3 Ops/sec
Nothing 16027.0 Ops/sec
Get generated property with Function ctor 3050.6 Ops/sec