Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
get content of object
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0
Browser:
Chrome 130
Operating system:
Mac OS X 10.15.7
Device Platform:
Desktop
Date tested:
one year ago
dot notation
26.6M/s
use in operation
26.6M/s
hasOwnProperty
24.8M/s
View exact numbers
Test name
Executions per second
✓
dot notation
26,648,416 Ops/sec
use in operation
26,644,836 Ops/sec
hasOwnProperty
24,781,180 Ops/sec
Script Preparation code:
const a = { b: true }
Tests:
use in operation
'b' in a
dot notation
a.b
hasOwnProperty
a.hasOwnProperty('b')