Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
uint8arrayOrBigInt
(version: 0)
test
Comparing performance of:
newUint8Array vs newBigInt
Created:
2 years ago
by:
Guest
Jump to the latest result
Script Preparation code:
function newUint8Array(num) { return Uint8Array.from(num) } function newBigInt(num) { return BigInt(num) }
Tests:
newUint8Array
newUint8Array(1)
newBigInt
newBigInt(1)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
newUint8Array
newBigInt
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
Shifting array elements
JS number to UInt8Array 64-bit little endian
JS number to UInt8Array 64-bit little endian 2
BigIntArray
Comments
Confirm delete:
Do you really want to delete benchmark?