22using BenchmarkDotNet . Diagnosers ;
33using BenchmarkDotNet . Environments ;
44using BenchmarkDotNet . Exporters ;
5- using BenchmarkDotNet . Filters ;
65using BenchmarkDotNet . Jobs ;
76using BenchmarkDotNet . Running ;
87using BenchmarkDotNet . Toolchains . CsProj ;
@@ -11,42 +10,17 @@ namespace LiteDB.Benchmarks
1110{
1211 class Program
1312 {
14- // sudo mono LiteDB.Benchmarks/bin/Release/net471 /LiteDB.Benchmarks.exe
13+ // sudo mono LiteDB.Benchmarks/bin/Release/net472 /LiteDB.Benchmarks.exe
1514 static void Main ( string [ ] args )
1615 {
17- /*BenchmarkRunner.Run(typeof(Program).Assembly, DefaultConfig.Instance
18- .With(MemoryDiagnoser.Default)
19- .With(BenchmarkReportExporter.Default, HtmlExporter.Default, MarkdownExporter.GitHub)
20- .With(Job.Mono
21- .With(Jit.Llvm)
22- .With(new[] {new MonoArgument("--optimize=inline")})
23- .WithGcForce(true))
24- .With(Job.Core
25- .With(Jit.RyuJit)
26- .With(CsProjCoreToolchain.NetCoreApp21)
27- .WithGcForce(true)));*/
28-
29- /*BenchmarkRunner.Run<Benchmarks.Queries.QueryIgnoreExpressionPropertiesBenchmark>(DefaultConfig.Instance
30- .With(MemoryDiagnoser.Default)
31- .With(BenchmarkReportExporter.Default, HtmlExporter.Default, MarkdownExporter.GitHub)
32- .With(Job.Mono
33- .With(Jit.Llvm)
34- .With(new[] {new MonoArgument("--optimize=inline")})
35- .WithGcForce(true))
36- .With(Job.Core
37- .With(Jit.RyuJit)
38- .With(CsProjCoreToolchain.NetCoreApp21)
39- .WithGcForce(true)));*/
40-
4116 BenchmarkRunner . Run ( typeof ( Program ) . Assembly , DefaultConfig . Instance
42- //.With(new AnyCategoriesFilter(new[] {Benchmarks.Constants.Categories.QUERIES}))
4317 . With ( Job . Mono
4418 . With ( Jit . Llvm )
4519 . With ( new [ ] { new MonoArgument ( "--optimize=inline" ) } )
4620 . WithGcForce ( true ) )
4721 . With ( Job . Core
4822 . With ( Jit . RyuJit )
49- . With ( CsProjCoreToolchain . NetCoreApp21 )
23+ . With ( CsProjCoreToolchain . NetCoreApp22 )
5024 . WithGcForce ( true ) )
5125 . With ( MemoryDiagnoser . Default )
5226 . With ( BenchmarkReportExporter . Default , HtmlExporter . Default , MarkdownExporter . GitHub )
0 commit comments