Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
template string 907862208.0 Ops/sec
JSON.stringify array 6245399.0 Ops/sec
JSON.stringify object 3157842.2 Ops/sec
Tests:
  • template string

  • JSON.stringify array

  • JSON.stringify object