Add dotTrace snapshotting
This commit is contained in:
+3
-1
@@ -1,11 +1,13 @@
|
||||
using BenchmarkDotNet.Attributes;
|
||||
using BenchmarkDotNet.Diagnostics.dotTrace;
|
||||
using Craftimizer.Simulator;
|
||||
using Craftimizer.Solver;
|
||||
|
||||
namespace Craftimizer.Benchmark;
|
||||
|
||||
[SimpleJob]
|
||||
[SimpleJob(iterationCount: 10)]
|
||||
[MinColumn, Q1Column, Q3Column, MaxColumn]
|
||||
[DotTraceDiagnoser]
|
||||
public class Bench
|
||||
{
|
||||
private static SimulationInput[] Inputs { get; } = new SimulationInput[] {
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<OutputType>Exe</OutputType>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
|
||||
<Platforms>x64</Platforms>
|
||||
<Configurations>Debug;Release</Configurations>
|
||||
</PropertyGroup>
|
||||
@@ -17,6 +18,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="BenchmarkDotNet" Version="0.13.10" />
|
||||
<PackageReference Include="BenchmarkDotNet.Diagnostics.dotTrace" Version="0.13.10" />
|
||||
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.13.10" />
|
||||
<PackageReference Include="Meziantou.Analyzer" Version="2.0.106">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
|
||||
Reference in New Issue
Block a user