Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:80.0) Gecko/20100101 Firefox/80.0
Firefox 80
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
JSON.stringify 2119.8 Ops/sec
array.join + string template 3227.8 Ops/sec
Script Preparation code:
Tests:
  • JSON.stringify

  • array.join + string template