Script Preparation code:
x
 
let buf = new ArrayBuffer(24);
u64 = new BigUint64Array(buf);
s64 = new BigInt64Array(buf);
let bufHi = new ArrayBuffer(12);
let bufLo = new ArrayBuffer(12);
u32Lo = new Uint32Array(bufLo);
u32Hi = new Uint32Array(bufHi);
s32Lo = new Int32Array(bufLo);
s32Hi = new Int32Array(bufHi);
Tests:
  • Using BigIntArray

     
    u64[0] = u64[1] & u64[2];
  • Using Int32Array / Uint32Array

     
    u32Lo[0] = u32Lo[1] & u32Lo[1];
    u32Hi[0] = u32Hi[1] & u32Hi[2];
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Using BigIntArray
    Using Int32Array / Uint32Array

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/116.0 Firefox/116.0
Firefox Mobile 116 on Android
View result in a separate tab
Test name Executions per second
Using BigIntArray 147601856.0 Ops/sec
Using Int32Array / Uint32Array 429875424.0 Ops/sec