Script Preparation code:
Tests:

Historical Performance Data aggregated from 37 community runs

Desktop Results:
Chrome 31 runs
Use of simple getter
101.7M/s
Object access
98.3M/s
Use of defineProperty
78.5M/s
Proxy access
32.8M/s
Proxy with get handler access
23.9M/s
Proxy with get reflect handler access
17.7M/s

Fastest: Use of simple getter (5.8x faster)

View exact numbers
  • Use of simple getter: 101,664,312 ops/sec
  • Object access: 98,316,736 ops/sec
  • Use of defineProperty: 78,513,064 ops/sec
  • Proxy access: 32,807,762 ops/sec
  • Proxy with get handler access: 23,852,538 ops/sec
  • Proxy with get reflect handler access: 17,665,622 ops/sec
Firefox 6 runs
Use of defineProperty
1252.1M/s
Object access
1248.3M/s
Use of simple getter
745.2M/s
Proxy access
232.3M/s
Proxy with get handler access
18.9M/s
Proxy with get reflect handler access
17.8M/s

Fastest: Use of defineProperty (70.2x faster)

View exact numbers
  • Use of defineProperty: 1,252,095,744 ops/sec
  • Object access: 1,248,333,568 ops/sec
  • Use of simple getter: 745,193,600 ops/sec
  • Proxy access: 232,262,944 ops/sec
  • Proxy with get handler access: 18,917,216 ops/sec
  • Proxy with get reflect handler access: 17,846,580 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
    Proxy with get reflect handler access

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Chrome 142 on Linux
View result in a separate tab
Use of simple getter
131.6M/s
Object access
125.9M/s
Use of defineProperty
122.3M/s
Proxy access
47.7M/s
Proxy with get handler access
33.2M/s
Proxy with get reflect handler access
17.7M/s
View exact numbers
Test name Executions per second
Use of simple getter 131,628,720 Ops/sec
Object access 125,948,680 Ops/sec
Use of defineProperty 122,341,152 Ops/sec
Proxy access 47,683,156 Ops/sec
Proxy with get handler access 33,231,332 Ops/sec
Proxy with get reflect handler access 17,665,622 Ops/sec