Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Chrome 129
Mac OS X 10.15.7
Desktop
one year ago
baseline property access
6.3M/s
target[key]
5.4M/s
baseline get function
4.4M/s
optional reflect.get
2.9M/s
reflect.get
2.8M/s
View exact numbers
Test name Executions per second
baseline property access 6,325,597 Ops/sec
target[key] 5,369,474 Ops/sec
baseline get function 4,427,780 Ops/sec
optional reflect.get 2,876,709 Ops/sec
reflect.get 2,787,012 Ops/sec
Script Preparation code:
Tests: