Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36
Chrome 54
Windows 7
Other
8 years ago
Test name Executions per second
Empty object with short method 612834.2 Ops/sec
Empty object with long method 754853.4 Ops/sec
Full object with short method 717736.8 Ops/sec
Full object with long method 660052.6 Ops/sec
Empty object with shorter method 791119.0 Ops/sec
Full object with shorter method 683184.0 Ops/sec
Script Preparation code:
Tests:
  • Empty object with short method

  • Empty object with long method

  • Full object with short method

  • Full object with long method

  • Empty object with shorter method

  • Full object with shorter method


;