Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:59.0) Gecko/20100101 Firefox/59.0
Firefox 59
Mac OS X 10.13
Other
2025 years ago
Test name Executions per second
getElementById 7281442.0 Ops/sec
querySelector 2964545.5 Ops/sec
window 960121.1 Ops/sec
test 743935.5 Ops/sec
HTML Preparation code:
Tests:
  • getElementById

  • querySelector

  • window

  • test