Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36
Chrome 138
Mac OS X 10.15.7
Desktop
one year ago
Read from object literal property on prototype
188.6M/s
Read from data property
183.7M/s
Write to data property
175.7M/s
Read from accessor method
173.9M/s
Write to object literal property on prototype
172.6M/s
Write to mutator method
168.4M/s
Read from object literal property
82.5M/s
Write to object literal property
23.1M/s
View exact numbers
Test name Executions per second
Read from object literal property on prototype 188,616,032 Ops/sec
Read from data property 183,699,696 Ops/sec
Write to data property 175,680,656 Ops/sec
Read from accessor method 173,941,600 Ops/sec
Write to object literal property on prototype 172,635,216 Ops/sec
Write to mutator method 168,441,600 Ops/sec
Read from object literal property 82,542,896 Ops/sec
Write to object literal property 23,131,274 Ops/sec
Script Preparation code:
Tests: