Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/602.1.32 (KHTML, like Gecko) Mobile/14A456 Twitter for iPhone
Mobile Safari 10
iOS 10.0.2
iPhone
8 years ago
Test name Executions per second
Empty object with short method 789588.0 Ops/sec
Empty object with long method 1010136.9 Ops/sec
Full object with short method 734237.9 Ops/sec
Full object with long method 681202.8 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


;