Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/113.0
Firefox 113
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
String function 3944.2 Ops/sec
toString method 5464.9 Ops/sec
Template string 4699.6 Ops/sec
String add 3198.1 Ops/sec
Script Preparation code:
Tests:
  • String function

  • toString method

  • Template string

  • String add