Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
Chrome 66
Mac OS X 10.14.5
Desktop
5 years ago
Test name Executions per second
toString 417400.1 Ops/sec
JSON.stringify 370374.1 Ops/sec
Script Preparation code:
Tests:
  • toString

  • JSON.stringify