From 2b9b02bf4f77a595fd9d19465475e93c68c4fc81 Mon Sep 17 00:00:00 2001 From: erri120 Date: Wed, 14 Aug 2024 14:06:44 +0200 Subject: [PATCH] Use monitoring benchmark --- .../Benchmarks/ObserveAllBenchmarks.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/benchmarks/NexusMods.MnemonicDB.Benchmarks/Benchmarks/ObserveAllBenchmarks.cs b/benchmarks/NexusMods.MnemonicDB.Benchmarks/Benchmarks/ObserveAllBenchmarks.cs index 53a9381..8703660 100644 --- a/benchmarks/NexusMods.MnemonicDB.Benchmarks/Benchmarks/ObserveAllBenchmarks.cs +++ b/benchmarks/NexusMods.MnemonicDB.Benchmarks/Benchmarks/ObserveAllBenchmarks.cs @@ -2,12 +2,14 @@ using System.Linq; using System.Threading.Tasks; using BenchmarkDotNet.Attributes; +using BenchmarkDotNet.Engines; using NexusMods.MnemonicDB.Abstractions.TxFunctions; using NexusMods.MnemonicDB.TestModel; namespace NexusMods.MnemonicDB.Benchmarks.Benchmarks; [MemoryDiagnoser] +[SimpleJob(runStrategy: RunStrategy.Monitoring, warmupCount: 1)] public class ObserveAllBenchmarks : ABenchmark { private string[] _names = [];