Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Chrome 146
Linux
Desktop
one month ago
Test name Executions per second
toString 2302242.8 Ops/sec
JSON.stringify 2446892.8 Ops/sec
type coercion 2442027.0 Ops/sec
Script Preparation code:
Tests:
  • toString

  • JSON.stringify

  • type coercion