Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
subarray vs. constructor perf
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Browser:
Chrome 130
Operating system:
Linux
Device Platform:
Desktop
Date tested:
one year ago
1
4.0M/s
2
2K/s
View exact numbers
Test name
Executions per second
✓
1
3,977,754 Ops/sec
2
1,780 Ops/sec
Script Preparation code:
dat = new Uint8Array(1000000);
Tests:
1
dat.subarray(78);
2
new Uint8Array(dat, 78);