Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Firefox 94
Linux
Desktop
3 years ago
Test name Executions per second
String() 508616.8 Ops/sec
.toString() 611635.1 Ops/sec
Concatenation 597663.2 Ops/sec
Template string 221533.4 Ops/sec
Tests:
  • String()

  • .toString()

  • Concatenation

  • Template string


;