Skip to content

Commit

Permalink
Benchmarks are manualtests now
Browse files Browse the repository at this point in the history
  • Loading branch information
soenneker committed Dec 19, 2024
1 parent 11fd079 commit 02d5234
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Threading.Tasks;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
using Soenneker.Facts.Local;
using Soenneker.Facts.Manual;
using Xunit;

namespace Soenneker.Utils.AutoBogus.Tests.Benchmarking.Benchmarks;
Expand All @@ -13,23 +13,23 @@ public GenerateRunner(ITestOutputHelper outputHelper) : base(outputHelper)
{
}

[LocalFact]
[ManualFact]
public async Task Generate()
{
Summary summary = BenchmarkRunner.Run<GenerateBenchmarks>(DefaultConf);

await OutputSummaryToLog(summary);
}

[LocalFact]
[ManualFact]
public async Task GenerateT()
{
Summary summary = BenchmarkRunner.Run<GenerateTBenchmarks>(DefaultConf);

await OutputSummaryToLog(summary);
}

[LocalFact]
[ManualFact]
public async Task Bogus()
{
Summary summary = BenchmarkRunner.Run<BogusBenchmarks>(DefaultConf);
Expand Down

0 comments on commit 02d5234

Please sign in to comment.