Failing benchmark disabled

This commit is contained in:
mlemanczyk committed 2025-10-18 14:21:06 +02:00
1 parent 5fbd5bc20c
commit 84b759e802
1 file changed
+17 -15
@@ -46,27 +46,29 @@ public class Pow2MontgomeryModBenchmarks
} }
} }
/// <summary> /// <summary>
/// Baseline right-to-left Montgomery ladder; measured 36.36 μs on the small sample set and 117.32 μs on the large one. /// Baseline right-to-left Montgomery ladder; measured 36.36 μs on the small sample set and 117.32 μs on the large one.
/// </summary> /// </summary>
[Benchmark(Baseline = true)] [Benchmark(Baseline = true)]
public ulong BaselineCpu() public ulong BaselineCpu()
{ {
GetData(out var exponents, out var divisors, out _); GetData(out var exponents, out var divisors, out _);
ulong checksum = 0UL; ulong checksum = 0UL;
for (int i = 0; i < SampleCount; i++) for (int i = 0; i < SampleCount; i++)
{ {
checksum ^= exponents[i].Pow2MontgomeryModWindowedCpu(divisors[i], keepMontgomery: false); checksum ^= exponents[i].Pow2MontgomeryModWindowedCpu(divisors[i], keepMontgomery: false);
} }
return checksum; return checksum;
} }
/// <summary> /// <summary>
/// Baseline right-to-left Montgomery ladder; measured ??.?? μs on the small sample set and ??.?? μs on the large one. /// Baseline right-to-left Montgomery ladder; measured ??.?? μs on the small sample set and ??.?? μs on the large one.
///
/// This benchmark failed running, hanging up early before reaching workload testing.
/// </summary> /// </summary>
[Benchmark] // [Benchmark]
public ulong BaselineGpu() public ulong BaselineGpu()
{ {
GetData(out var exponents, out var divisors, out _); GetData(out var exponents, out var divisors, out _);