Lines Matching refs:RunBenchmark

35             RunBenchmark(count, leftBits, rightBits, (l, r) => BigInteger.Add(l, r));  in Add()
49 RunBenchmark(count, leftBits, rightBits, (l, r) => BigInteger.Subtract(l, r)); in Subtract()
63 RunBenchmark(count, leftBits, rightBits, (l, r) => BigInteger.Multiply(l, r)); in Multiply()
77 RunBenchmark(count, bits, v => BigInteger.Multiply(v, v)); in Square()
91 RunBenchmark(count, leftBits, rightBits, (l, r) => BigInteger.Divide(l, r)); in Divide()
105 RunBenchmark(count, leftBits, rightBits, (l, r) => BigInteger.Remainder(l, r)); in Remainder()
119RunBenchmark(count, leftBits, rightBits, (l, r) => BigInteger.GreatestCommonDivisor(l, r)); in GreatestCommonDivisor()
132RunBenchmark(count, leftBits, rightBits, otherBits, (l, r, o) => BigInteger.ModPow(l, r, o)); in ModPow()
135 private void RunBenchmark(int count, int bits, Action<BigInteger> operation) in RunBenchmark() method in System.Numerics.Tests.PerformanceTests
139 long result = RunBenchmark(count, i => operation(value[i])); in RunBenchmark()
144 …private void RunBenchmark(int count, int leftBits, int rightBits, Action<BigInteger, BigInteger> o… in RunBenchmark() method in System.Numerics.Tests.PerformanceTests
149 long result = RunBenchmark(count, i => operation(left[i], right[i])); in RunBenchmark()
154 …private void RunBenchmark(int count, int leftBits, int rightBits, int otherBits, Action<BigInteger… in RunBenchmark() method in System.Numerics.Tests.PerformanceTests
160 long result = RunBenchmark(count, i => operation(left[i], right[i], other[i])); in RunBenchmark()
168 private long RunBenchmark(int count, Action<int> operation) in RunBenchmark() method in System.Numerics.Tests.PerformanceTests