Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/16A5327f
Mobile Safari 12
iOS 12.0
Mobile
6 years ago
Test name Executions per second
ownerDocument.defaultView 1134156.8 Ops/sec
window.getComputedStyle 1579260.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • ownerDocument.defaultView

  • window.getComputedStyle