Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2952.0 Safari/537.36
Chrome 57
Mac OS X 10.11.6
Other
7 years ago
Test name Executions per second
native repeat 2018526.6 Ops/sec
stupid repeatify 8.3 Ops/sec
repeatifyWithArrayAndJoin 12.2 Ops/sec
repeatifyWithNewArray 56.2 Ops/sec
repeatifyWithNewArrayAndExternalThrow 57.5 Ops/sec
Script Preparation code:
Tests:
  • native repeat

  • stupid repeatify

  • repeatifyWithArrayAndJoin

  • repeatifyWithNewArray

  • repeatifyWithNewArrayAndExternalThrow

  • repeatifyWithNewArrayAndExternalThrowWithProps


;