Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Firefox 58
Ubuntu
Other
2025 years ago
Test name Executions per second
2 - function 787.4 Ops/sec
3 - method 1140.1 Ops/sec
4 - closure function 787.8 Ops/sec
5 - es-5 setter 1119.6 Ops/sec
1 - direct access 1151.4 Ops/sec
Script Preparation code:
Tests:
  • 2 - function

  • 3 - method

  • 4 - closure function

  • 5 - es-5 setter

  • 1 - direct access


;