Script Preparation code:
Tests:
  • use constant values

  • use wrapper function for this constant

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    use constant values
    use wrapper function for this constant

    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: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:76.0) Gecko/20100101 Firefox/76.0
Firefox 76 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
use constant values 11375.3 Ops/sec
use wrapper function for this constant 11539.2 Ops/sec