Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
Control (plain object access)
115.6M/s
defineProperty
108.0M/s
getter
51.6M/s
Proxy
23.9M/s

Fastest: Control (plain object access) (4.8x faster)

View exact numbers
  • Control (plain object access): 115,631,288 ops/sec
  • defineProperty: 108,037,416 ops/sec
  • getter: 51,630,096 ops/sec
  • Proxy: 23,864,990 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
    Proxy
    defineProperty
    getter
    Control (plain object access)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36 Edg/148.0.0.0
Chrome 148 on Windows
View result in a separate tab
Control (plain object access)
103.3M/s
defineProperty
102.9M/s
getter
42.8M/s
Proxy
20.7M/s
View exact numbers
Test name Executions per second
Control (plain object access) 103,338,416 Ops/sec
defineProperty 102,943,800 Ops/sec
getter 42,804,748 Ops/sec
Proxy 20,673,640 Ops/sec