Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
array.join(',') vs `${array}`
array.join(',') vs `${array}`
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64; rv:137.0) Gecko/20100101 Firefox/137.0
Browser:
Firefox 137
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
array.join()
4.1M/s
`${array}`
1.9M/s
View exact numbers
Test name
Executions per second
✓
array.join()
4,082,943 Ops/sec
`${array}`
1,919,339 Ops/sec
Script Preparation code:
var arr = ['1','2','3','4','5','6','7','8']
Tests:
array.join()
arr.join(',')
`${array}`
`${arr}`