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) 286104544.0 Ops/sec
Public Getter function 285186624.0 Ops/sec
Public Directly get 285589824.0 Ops/sec
Public ES6 property (set) 419358240.0 Ops/sec
Public Setter function 413111968.0 Ops/sec
Public Directly set 423327008.0 Ops/sec
Private ES6 property (get) 285106720.0 Ops/sec
Private Getter function 282881280.0 Ops/sec
Private ES6 property (set) 377930016.0 Ops/sec
Private Setter function 365498816.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


;