Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
array join vs toString js vs json
test
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Android 15; Mobile; rv:142.0) Gecko/142.0 Firefox/142.0
Browser:
Firefox Mobile 142
Operating system:
Android
Device Platform:
Mobile
Date tested:
8 months ago
Test name
Executions per second
join
16964844.0 Ops/sec
toString
16400115.0 Ops/sec
json
7645064.5 Ops/sec
Script Preparation code:
var arr = ['1',2,null,undefined,'5','6','7','8']
Tests:
join
arr.join()
toString
arr.toString()
json
JSON.stringify(arr)