Skip to content

Commit

Permalink
Update method calls to avoid obsolete methods
Browse files Browse the repository at this point in the history
  • Loading branch information
pictos committed Jun 12, 2024
1 parent 2548a1c commit dfdc3a0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions LiteDB.Benchmarks/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ class Program
static void Main(string[] args)
{
BenchmarkRunner.Run(typeof(Program).Assembly, DefaultConfig.Instance
//.With(new BenchmarkDotNet.Filters.AnyCategoriesFilter(new[] {Benchmarks.Constants.Categories.DATA_GEN}))
.With(Job.Default.With(CoreRuntime.Core31)
.With(Jit.RyuJit)
.With(CsProjCoreToolchain.NetCoreApp31)
//.With(new BenchmarkDotNet.Filters.AnyCategoriesFilter(new[] { Benchmarks.Constants.Categories.GENERAL }))
//.AddFilter(new BenchmarkDotNet.Filters.AnyCategoriesFilter([Benchmarks.Constants.Categories.GENERAL]))
.AddJob(Job.Default.WithRuntime(CoreRuntime.Core60)
.WithJit(Jit.RyuJit)
.WithToolchain(CsProjCoreToolchain.NetCoreApp60)
.WithGcForce(true))
/*.With(Job.Default.With(MonoRuntime.Default)
.With(Jit.Llvm)
.With(new[] {new MonoArgument("--optimize=inline")})
.WithGcForce(true))*/
.With(MemoryDiagnoser.Default)
.With(BenchmarkReportExporter.Default, HtmlExporter.Default, MarkdownExporter.GitHub)
.AddDiagnoser(MemoryDiagnoser.Default)
.AddExporter(BenchmarkReportExporter.Default, HtmlExporter.Default, MarkdownExporter.GitHub)
.KeepBenchmarkFiles());
}
}
Expand Down

0 comments on commit dfdc3a0

Please sign in to comment.