Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
identifier at end of scope chain and end of prototype chain vs object lookup
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Browser:
Chrome 135
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
end of scope/prototype
23714406.0 Ops/sec
Object property lookup
38395224.0 Ops/sec
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
let obj = {a:3}
Tests:
end of scope/prototype
hasOwnProperty.call(obj, 'a') hasOwnProperty.call(obj, 'b')
Object property lookup
[].hasOwnProperty.call(obj, 'a'); [].hasOwnProperty.call(obj, 'b')