Run details:
Mozilla/5.0 (Android 13; Mobile; rv:125.0) Gecko/125.0 Firefox/125.0
Firefox Mobile 125
Android
Mobile
9 months ago
Test name Executions per second
Public ES6 property (get) 299593344.0 Ops/sec
Public Getter function 282615040.0 Ops/sec
Public Directly get 282472256.0 Ops/sec
Public ES6 property (set) 430841952.0 Ops/sec
Public Setter function 418993696.0 Ops/sec
Public Directly set 425608800.0 Ops/sec
Private ES6 property (get) 286338688.0 Ops/sec
Private Getter function 287016160.0 Ops/sec
Private ES6 property (set) 376575200.0 Ops/sec
Private Setter function 385027200.0 Ops/sec
Script Preparation code:
Tests:
  • Public ES6 property (get)

  • Public Getter function

  • Public Directly get

  • Public ES6 property (set)

  • Public Setter function

  • Public Directly set

  • Private ES6 property (get)

  • Private Getter function

  • Private ES6 property (set)

  • Private Setter function


;