Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
document.documentElement.clientWidth/Height vs window.innerWidth/Height
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 18_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.3 Mobile/15E148 Safari/604.1
Browser:
Mobile Safari 18
Operating system:
iOS 18.3.1
Device Platform:
Mobile
Date tested:
one year ago
Benchmark engine:
Benchmark.js
document.documentElement dimensions
7.9M/s
window dimensions
5.7M/s
View exact numbers
Test name
Executions per second
✓
document.documentElement dimensions
7,854,178 Ops/sec
window dimensions
5,739,202 Ops/sec
Tests:
window dimensions
window.innerWidth window.innerHeight
document.documentElement dimensions
document.documentElement.clientWidth document.documentElement.clientHeight