Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:37.0) Gecko/20100101 Firefox/37.0
Firefox 37
Mac OS X 10.11
Other
8 years ago
Test name Executions per second
Empty object with short method 2979948.5 Ops/sec
Empty object with long method 20108064.0 Ops/sec
Full object with short method 4566062.5 Ops/sec
Full object with long method 3488671.2 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