Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
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:122.0) Gecko/20100101 Firefox/122.0
Browser:
Firefox 122
Operating system:
Windows
Device Platform:
Desktop
Date tested:
2 years ago
Benchmark engine:
Benchmark.js
u8
3K/s
u32
2K/s
View exact numbers
Test name
Executions per second
✓
u8
2,523 Ops/sec
u32
2,381 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); }