Run details:
Mozilla/5.0 (Linux; Android 7.1; Pixel Build/NDE63L) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.85 Mobile Safari/537.36
Chrome Mobile 54
Android 7.1
Pixel
8 years ago
Test name Executions per second
Empty object with short method 283331.7 Ops/sec
Empty object with long method 411350.5 Ops/sec
Full object with short method 294868.5 Ops/sec
Full object with long method 230589.8 Ops/sec
Empty object with shorter method 411151.6 Ops/sec
Full object with shorter method 297482.3 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