Script Preparation code:
Tests:

Historical Performance Data aggregated from 149 community runs

Desktop Results:
Chrome 125 runs
join
1.2M/s
JSON.stringify
1.1M/s
View exact numbers
  • join: 1,186,402 ops/sec
  • JSON.stringify: 1,112,383 ops/sec
Firefox 19 runs
join
6.7M/s
JSON.stringify
2.6M/s

Fastest: join (2.5x faster)

View exact numbers
  • join: 6,651,998 ops/sec
  • JSON.stringify: 2,645,014 ops/sec
Other 5 runs
join
1.8M/s
JSON.stringify
1.4M/s

Fastest: join (1.3x faster)

View exact numbers
  • join: 1,819,982 ops/sec
  • JSON.stringify: 1,386,133 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: 3 months ago)
Mozilla/5.0 (X11; Linux x86_64; rv:149.0) Gecko/20100101 Firefox/149.0
Firefox 149 on Linux
View result in a separate tab
join
12.0M/s
JSON.stringify
7.1M/s
View exact numbers
Test name Executions per second
join 12,042,069 Ops/sec
JSON.stringify 7,119,246 Ops/sec