From e49a3142d231f28463969a120968346bad58de82 Mon Sep 17 00:00:00 2001 From: Asriel Camora Date: Thu, 9 Nov 2023 11:56:36 -0800 Subject: [PATCH] Use normal SimpleJob for benchmarking --- Benchmark/Bench.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Benchmark/Bench.cs b/Benchmark/Bench.cs index 5e2e764..06ebdf4 100644 --- a/Benchmark/Bench.cs +++ b/Benchmark/Bench.cs @@ -1,11 +1,10 @@ using BenchmarkDotNet.Attributes; -using BenchmarkDotNet.Engines; using Craftimizer.Simulator; using Craftimizer.Solver; namespace Craftimizer.Benchmark; -[SimpleJob(RunStrategy.Monitoring)] +[SimpleJob] [MinColumn, Q1Column, Q3Column, MaxColumn] public class Bench { @@ -73,10 +72,8 @@ public class Bench { new() { - Iterations = 100_000, - ForkCount = 32, - FurcatedActionCount = 16, - MaxStepCount = 30, + Algorithm = SolverAlgorithm.Stepwise, + Iterations = 30_000, } };