Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
str split vs spread
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_7_11 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/137.0.7151.79 Mobile/15E148 Safari/604.1
Browser:
Chrome Mobile iOS 137
Operating system:
iOS 16.7.11
Device Platform:
Mobile
Date tested:
11 months ago
Test name
Executions per second
split
11534712.0 Ops/sec
spread
24074454.0 Ops/sec
Script Preparation code:
var str = "hello";
Tests:
split
var other = str.split('');
spread
var other = [...str];