Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Chrome 52
Mac OS X 10.11.6
Other
6 years ago
Test name Executions per second
With 0 parameter 2810096.0 Ops/sec
With 1 parameter 445385.5 Ops/sec
With 2 parameters 216158.5 Ops/sec
With 3 parameters 146745.9 Ops/sec
With 4 parameters 31633.5 Ops/sec
With 5 parameters 2730.4 Ops/sec
Script Preparation code:
Tests:
  • With 0 parameter

  • With 1 parameter

  • With 2 parameters

  • With 3 parameters

  • With 4 parameters

  • With 5 parameters