Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
AsakusaRinne committed May 8, 2024
1 parent 12e8c59 commit fbe4fd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions LLama.Benchmark/LLama.Benchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
<PackageReference Include="BenchmarkDotNet.Diagnostics.Windows" Version="0.13.12" />
</ItemGroup>

<ItemGroup>
Expand Down
5 changes: 3 additions & 2 deletions LLama.Benchmark/LLamaExecutorBenchmark/Prefill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,14 @@
using BenchmarkDotNet.Jobs;
using LLama.Abstractions;
using LLama.Common;
using BenchmarkDotNet.Diagnostics.Windows.Configs;

namespace LLama.Benchmark.LLamaExecutorBenchmark
{
#if WINDOWS
[BenchmarkDotNet.Diagnostics.Windows.Configs.NativeMemoryProfiler]
#endif
[BenchmarkCategory("Executor", "LLama")]
[SimpleJob(RunStrategy.ColdStart, runtimeMoniker: RuntimeMoniker.Net80)]
[NativeMemoryProfiler]
[MemoryDiagnoser]
[MinIterationCount(1)]
[MaxIterationCount(16)]
Expand Down

0 comments on commit fbe4fd4

Please sign in to comment.