Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
ArrayBuffer.slice vs Uint8Array.slice
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (iPhone; CPU iPhone OS 18_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/131.0.6778.73 Mobile/15E148 Safari/604.1
Browser:
Chrome Mobile iOS 131
Operating system:
iOS 18.1.1
Device Platform:
Mobile
Date tested:
one year ago
Test name
Executions per second
ArrayBuffer.slice
11709300.0 Ops/sec
Uint8Array.slice
32418412.0 Ops/sec
Script Preparation code:
var bytes = [84,104,105,115,32,105,115,32,97,32,115,97,109,112,108,101,32,112,97,114,97,103,114,97,112,104,46]; var buffer = new ArrayBuffer(bytes); var bufferArray = new Uint8Array(bytes);
Tests:
ArrayBuffer.slice
buffer.slice(3, 13);
Uint8Array.slice
bufferArray.slice(3, 13);