Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:82.0) Gecko/20100101 Firefox/82.0
Firefox 82
Mac OS X 10.13
Desktop
4 years ago
Test name Executions per second
toString 3965042.2 Ops/sec
JSON.stringify 2540955.5 Ops/sec
Script Preparation code:
Tests:
  • toString

  • JSON.stringify