Script Preparation code:
  • obj.aSetter(2);

  • obj.aGetter();

  • obj.a = 2;

  • obj.a;

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    obj.a = 2;

    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: 17 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/
Chrome 119 on Windows
View result in a separate tab
Test name Executions per second
obj.aSetter(2); 9841142.0 Ops/sec
obj.aGetter(); 12081130.0 Ops/sec
obj.a = 2; 9862920.0 Ops/sec
obj.a; 11977550.0 Ops/sec