Run details:
Mozilla/5.0 (Android 13; Mobile; rv:125.0) Gecko/125.0 Firefox/125.0
Firefox Mobile 125
Android
Mobile
10 months ago
Test name Executions per second
Public ES6 property (get) 287119840.0 Ops/sec
Public Getter function 225521968.0 Ops/sec
Public ES6 property (set) 381688032.0 Ops/sec
Public Setter function 421710496.0 Ops/sec
Private ES6 property (get) 284741632.0 Ops/sec
Private Getter function 187699088.0 Ops/sec
Private ES6 property (set) 379605824.0 Ops/sec
Private Setter function 379377376.0 Ops/sec
Null Prototype Directly Set 419596448.0 Ops/sec
Null Prototype Directly Get 291660736.0 Ops/sec
Frozen Object Literal (Get) 287468992.0 Ops/sec
Frozen Object Literal (Set) 15857800.0 Ops/sec
Frozen Object Literal Getter Function 179343952.0 Ops/sec
Frozen Object Literal Setter Function; 14836120.0 Ops/sec
Script Preparation code:
Tests:
  • Public ES6 property (get)

  • Public Getter function

  • Public ES6 property (set)

  • Public Setter function

  • Private ES6 property (get)

  • Private Getter function

  • Private ES6 property (set)

  • Private Setter function

  • Null Prototype Directly Set

  • Null Prototype Directly Get

  • Frozen Object Literal (Get)

  • Frozen Object Literal (Set)

  • Frozen Object Literal Getter Function

  • Frozen Object Literal Setter Function;