Script Preparation code:
AخA
 
var bigInt1 = 1000000n
var bigInt2 = 50n
var number1 = 1000000
var number2 = 50
Tests:
  • BigInt

     
    a = bigInt1
    b = bigInt2
    c = a - b
    c = a * b
    c = a + b
    c = a / b
  • Number

     
    a = number1
    b = number2
    c = a - b
    c = a * b
    c = a + b
    c = a / b
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    BigInt
    Number

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Chrome 132 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
BigInt 2398922.5 Ops/sec
Number 2545217.0 Ops/sec