Skip to content

Commit ee116a8

Browse files
committed
Updated runtime versions to .NET Core 2.2 and Mono 5.18
Cleaned up entrypoint
1 parent dfbb0cd commit ee116a8

File tree

2 files changed

+3
-29
lines changed

2 files changed

+3
-29
lines changed

LiteDB.Benchmarks/LiteDB.Benchmarks.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
5-
<TargetFrameworks>net471;netcoreapp2.1</TargetFrameworks>
5+
<TargetFrameworks>net472;netcoreapp2.2</TargetFrameworks>
66
</PropertyGroup>
77

88
<ItemGroup>

LiteDB.Benchmarks/Program.cs

Lines changed: 2 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using BenchmarkDotNet.Diagnosers;
33
using BenchmarkDotNet.Environments;
44
using BenchmarkDotNet.Exporters;
5-
using BenchmarkDotNet.Filters;
65
using BenchmarkDotNet.Jobs;
76
using BenchmarkDotNet.Running;
87
using 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

Comments
 (0)