Script Preparation code:
Tests:

Historical Performance Data aggregated from 41 community runs

Desktop Results:
Chrome 35 runs
join
10.9M/s
JSON.stringify
7.2M/s

Fastest: join (1.5x faster)

View exact numbers
  • join: 10,870,146 ops/sec
  • JSON.stringify: 7,161,946 ops/sec
Firefox 6 runs
join
6.5M/s
JSON.stringify
3.4M/s

Fastest: join (1.9x faster)

View exact numbers
  • join: 6,527,992 ops/sec
  • JSON.stringify: 3,394,122 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
    join
    JSON.stringify

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/150.0.0.0 Safari/537.36 Edg/150.0.0.0
Chrome 150 on Windows
View result in a separate tab
join
8.3M/s
JSON.stringify
4.7M/s
View exact numbers
Test name Executions per second
join 8,266,272 Ops/sec
JSON.stringify 4,658,571 Ops/sec