Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Iron Safari/537.36
Chrome 109
Windows
Desktop
2 months ago
Test name Executions per second
variable 27012.5 Ops/sec
this.property 2332194.2 Ops/sec
window.property 4198.2 Ops/sec
this.variable 2454662.2 Ops/sec
window.variable 4477.8 Ops/sec
Script Preparation code:
Tests:
  • variable

  • this.property

  • window.property

  • this.variable

  • window.variable