Skip to content

Commit

Permalink
Remove obsolete GetAsyncNew method from KVBench.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mtmk committed Dec 5, 2024
1 parent 05b0bd6 commit 384a883
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions sandbox/MicroBenchmark/KVBench.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,6 @@ public async ValueTask<int> TryGetAsync()
return 0;
}

[Benchmark]
public async ValueTask<int> GetAsyncNew()
{
try
{
await _store.GetEntryAsyncNew<int>("does.not.exist");
}
catch (NatsKVKeyNotFoundException)
{
return 1;
}

return 0;
}

[Benchmark(Baseline = true)]
public async ValueTask<int> GetAsync()
{
Expand Down

0 comments on commit 384a883

Please sign in to comment.