0 10 1.0 2.0 ms
◢ Environment

Processor: Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz (2112 MHz) × 8

System: Microsoft Windows 10.0.22622 X64 Runtime: .NET 7.0.0-rc.1.22411.12 X64

BigRational: 1.0.0.6 Runtime: v4.0.30319 .NETCoreApp,Version=v7.0


Simple integer multiplication in comparison to BigInteger

0 10407 10815 101223 101631 102039 102447 102855 103263 103671 104079 0,02 0,04 0,06 0,08 ms

BigRational (blue); BigInteger (red); Average Ratio: 80 % (min 0,0589 ms; max 0,0758 ms)


Simple integer division in comparison to BigInteger

0 101631 103263 104895 106527 108159 109791 1011423 1013055 1014687 1016319 0,02 0,04 0,06 ms

BigRational (blue); BigInteger (red); Average Ratio: 90 % (min 0,046499997 ms; max 0,053999998 ms)


GCD function (GreatestCommonDevisor) in comparison to BigInteger

0 10203 10407 10611 10815 101019 101223 101427 101631 101835 102039 0,05 0,1 0,15 0,2 ms

BigRational (blue); BigInteger (red); Average Ratio: 86 % (min 0,0853 ms; max 0,100899994 ms)


Simple integer sqr in comparison to BigInteger

0 10407 10815 101223 101631 102039 102447 102855 103263 103671 104079 0,02 0,04 0,06 ms

BigRational (blue); BigInteger (red); Average Ratio: 78 % (min 0,045599997 ms; max 0,0568 ms)


BigInt comparison to BigInteger ((a * b + a * b - a + a * a) / a)

0 10203 10407 10611 10815 101019 101223 101427 101631 101835 102039 0,1 0,2 0,3 ms

BigInt (blue); BigInteger (red); Average Ratio: 87 % (min 0,23699999 ms; max 0,2758 ms)


And so on...
Under construction