From 2548a1cd9df170d4b33bd7751360304a140d28cb Mon Sep 17 00:00:00 2001 From: Pedro Jesus Date: Wed, 12 Jun 2024 14:10:18 -0300 Subject: [PATCH 1/2] bump version --- LiteDB.Benchmarks/LiteDB.Benchmarks.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LiteDB.Benchmarks/LiteDB.Benchmarks.csproj b/LiteDB.Benchmarks/LiteDB.Benchmarks.csproj index 73986ac04..80a1ebdde 100644 --- a/LiteDB.Benchmarks/LiteDB.Benchmarks.csproj +++ b/LiteDB.Benchmarks/LiteDB.Benchmarks.csproj @@ -7,7 +7,7 @@ - + From dfdc3a00022eb92be3b38069092ba5fef5bb046e Mon Sep 17 00:00:00 2001 From: Pedro Jesus Date: Wed, 12 Jun 2024 14:10:32 -0300 Subject: [PATCH 2/2] Update method calls to avoid obsolete methods --- LiteDB.Benchmarks/Program.cs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/LiteDB.Benchmarks/Program.cs b/LiteDB.Benchmarks/Program.cs index 39c0b5654..334c15a68 100644 --- a/LiteDB.Benchmarks/Program.cs +++ b/LiteDB.Benchmarks/Program.cs @@ -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()); } }