Skip to content
Permalink
Browse files

Add cache miss hardware counter collection to FindWords benchmark

  • Loading branch information...
bobbymcr committed Apr 6, 2019
1 parent ac65263 commit 15116fb122090b050d27ebe268589887f4990ea7
Showing with 3 additions and 1 deletion.
  1. +2 −1 src/Words.Benchmark/FindWords.cs
  2. +1 −0 src/Words.Benchmark/Words.Benchmark.csproj
@@ -6,9 +6,10 @@ namespace Words.Benchmark
{
using System.IO;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Diagnosers;

[CoreJob]
[MemoryDiagnoser]
[HardwareCounters(HardwareCounter.CacheMisses)]
public class FindWords
{
private LetterBoxSearch stringSearch;
@@ -6,6 +6,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.11.5" />
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.11.5" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Words.Core\Words.Core.csproj" />

0 comments on commit 15116fb

Please sign in to comment.
You can’t perform that action at this time.