Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
Uint8Array vs Uint32Array
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0
Browser:
Firefox 134
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
u8
2561.3 Ops/sec
u32
2299.3 Ops/sec
Tests:
u8
const u8 = new Uint8Array(100000); for (let i = 0; i < u8.length; i++) { u8[i] = Math.round(Math.random() * 256); }
u32
const u32 = new Uint32Array(100000); for (let i = 0; i < u32.length; i++) { u32[i] = Math.round(Math.random() * 256); }