Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Mobile/15E148 Safari/604.1
Mobile Safari 17
iOS 17.0
Mobile
one year ago
Test name Executions per second
toString 499183328.0 Ops/sec
template literal 478294464.0 Ops/sec
string literal concat 545695360.0 Ops/sec
String() 19868246.0 Ops/sec
Script Preparation code:
Tests:
  • toString

  • template literal

  • string literal concat

  • String()