Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
[...spread] vs .split vs Intl.Segmenter
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
Browser:
Chrome 141
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one month ago
MmzHrrdb
1/s
MmzHrrdb
1/s
MmzHrrdb
1/s
MmzHrrdb
1/s
MmzHrrdb
1/s
MmzHrrdb
1/s
-1 OR 5*5=25 --
1/s
MmzHrrdb
1/s
MmzHrrdb
1/s
View exact numbers
Test name
Executions per second
✓
MmzHrrdb
1 Ops/sec
✓
MmzHrrdb
1 Ops/sec
✓
MmzHrrdb
1 Ops/sec
✓
MmzHrrdb
1 Ops/sec
✓
MmzHrrdb
1 Ops/sec
✓
MmzHrrdb
1 Ops/sec
✓
-1 OR 5*5=25 --
1 Ops/sec
✓
MmzHrrdb
1 Ops/sec
✓
MmzHrrdb
1 Ops/sec
HTML Preparation code:
<!--your preparation HTML code goes here-->
Script Preparation code:
var simple = 'test'; var unicode = '🥷🏻'; var intlFR = 'élève';
Tests:
run all strings with spread simple
[...simple]
run all strings with spread unicode
[...unicode]
run all strings with spread intl
[...intlFR]
run all strings with split simple
simple.split("")
run all strings with split unicode
unicode.split("")
run all strings with split intl
intlFR.split("")
run all strings with Intl simple
Array.from(new Intl.Segmenter().segment(simple))
run all strings with Intl unicode
Array.from(new Intl.Segmenter().segment(unicode))
run all strings with Intl intl
Array.from(new Intl.Segmenter().segment(intlFR))