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

     
    a = number1
    b = number2
    c = a - b
    c = a * b
    c = a + b
    c = a / b
  • BigInt

     
    a = bigInt1
    b = bigInt2
    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
    Number
    BigInt

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 15 days ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Chrome 134 on Windows
View result in a separate tab
Test name Executions per second
Number 2362807.5 Ops/sec
BigInt 2244147.0 Ops/sec