Script Preparation code:
Tests:

Historical Performance Data aggregated from 21 community runs

Desktop Results:
Chrome 21 runs
toString
1.3M/s
stringify
1.2M/s
backticks
1.1M/s

Fastest: toString (1.2x faster)

View exact numbers
  • toString: 1,272,712 ops/sec
  • stringify: 1,215,964 ops/sec
  • backticks: 1,097,611 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    toString
    stringify
    backticks

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64; rv:138.0) Gecko/20100101 Firefox/138.0
Firefox 138 on Linux
View result in a separate tab
toString
5.2M/s
stringify
1.4M/s
backticks
1.1M/s
View exact numbers
Test name Executions per second
toString 5,185,932 Ops/sec
stringify 1,397,658 Ops/sec
backticks 1,080,830 Ops/sec