Script Preparation code:
Tests:

Historical Performance Data aggregated from 35 community runs

Desktop Results:
Chrome 26 runs
Object access
14.3M/s
Use of simple getter
13.9M/s
Use of defineProperty
13.9M/s
Proxy access
13.6M/s
Proxy with get handler access
6.7M/s

Fastest: Object access (2.1x faster)

View exact numbers
  • Object access: 14,259,963 ops/sec
  • Use of simple getter: 13,894,405 ops/sec
  • Use of defineProperty: 13,881,182 ops/sec
  • Proxy access: 13,565,242 ops/sec
  • Proxy with get handler access: 6,674,288 ops/sec
Mobile Results:
Chrome 9 runs
Use of defineProperty
8.2M/s
Use of simple getter
8.2M/s
Object access
7.9M/s
Proxy access
6.6M/s
Proxy with get handler access
3.1M/s

Fastest: Use of defineProperty (2.6x faster)

View exact numbers
  • Use of defineProperty: 8,233,651 ops/sec
  • Use of simple getter: 8,203,234 ops/sec
  • Object access: 7,856,448 ops/sec
  • Proxy access: 6,613,880 ops/sec
  • Proxy with get handler access: 3,114,966 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Object access
    Proxy access
    Proxy with get handler access
    Use of simple getter
    Use of defineProperty

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36
Chrome 139 on Mac OS X 10.15.7
View result in a separate tab
Object access
178.7M/s
Use of simple getter
171.5M/s
Use of defineProperty
154.7M/s
Proxy access
64.6M/s
Proxy with get handler access
35.4M/s
View exact numbers
Test name Executions per second
Object access 178,686,816 Ops/sec
Use of simple getter 171,482,096 Ops/sec
Use of defineProperty 154,738,320 Ops/sec
Proxy access 64,565,580 Ops/sec
Proxy with get handler access 35,373,864 Ops/sec