Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add .net7 to benchmarks #1703

Merged
merged 1 commit into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>net5.0;net6.0;net7.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<LangVersion>10</LangVersion>
<RootNamespace>ClusterExperiment1</RootNamespace>
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/InprocessBenchmark/InprocessBenchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<OutputType>Exe</OutputType>
<ServerGarbageCollection>true</ServerGarbageCollection>
<ConcurrentGarbageCollection>true</ConcurrentGarbageCollection>
<TargetFrameworks>net5.0;net6.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net5.0;net6.0;netcoreapp3.1;net7.0</TargetFrameworks>
<LangVersion>10</LangVersion>
</PropertyGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/RemoteBenchmark/Node1/Node1.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ServerGarbageCollection>true</ServerGarbageCollection>
<ConcurrentGarbageCollection>true</ConcurrentGarbageCollection>
<LangVersion>10</LangVersion>
<TargetFrameworks>net5.0;net6.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net5.0;net6.0;netcoreapp3.1;net7.0</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/RemoteBenchmark/Node2/Node2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ServerGarbageCollection>true</ServerGarbageCollection>
<ConcurrentGarbageCollection>true</ConcurrentGarbageCollection>
<LangVersion>10</LangVersion>
<TargetFrameworks>net5.0;net6.0;netcoreapp3.1</TargetFrameworks>
<TargetFrameworks>net5.0;net6.0;netcoreapp3.1;net7.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\src\Proto.Actor\Proto.Actor.csproj" />
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/SkyriseMini/Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
lcfg
.ReadFrom.Configuration(builder.Configuration)
.WriteTo.Console()
.WriteTo.Seq(builder.Configuration["SeqUrl"])
.WriteTo.Seq(builder.Configuration["SeqUrl"]!)
.Enrich.WithProperty("Service", Assembly.GetExecutingAssembly().GetName().Name));


Expand Down
2 changes: 1 addition & 1 deletion benchmarks/SkyriseMini/Client/ProtoActorExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static WebApplicationBuilder AddProtoActorClient(this WebApplicationBuild
var clusterProvider = new ConsulProvider(new ConsulProviderConfig());

var clusterConfig = ClusterConfig
.Setup(config["ClusterName"], clusterProvider, new PartitionIdentityLookup());
.Setup(config["ClusterName"]!, clusterProvider, new PartitionIdentityLookup());

system
.WithServiceProvider(provider)
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/SkyriseMini/Client/SkyriseMiniClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/SkyriseMini/Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
lcfg
.ReadFrom.Configuration(builder.Configuration)
.WriteTo.Console()
.WriteTo.Seq(builder.Configuration["SeqUrl"])
.WriteTo.Seq(builder.Configuration["SeqUrl"]!)
.Enrich.WithProperty("Service", Assembly.GetExecutingAssembly().GetName().Name)
);

Expand Down
2 changes: 1 addition & 1 deletion benchmarks/SkyriseMini/Server/ProtoActorExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static WebApplicationBuilder AddProtoActorSUT(this WebApplicationBuilder
var clusterProvider = new ConsulProvider(new ConsulProviderConfig());

var clusterConfig = ClusterConfig
.Setup(config["ClusterName"], clusterProvider, new PartitionIdentityLookup())
.Setup(config["ClusterName"]!, clusterProvider, new PartitionIdentityLookup())
.WithClusterKind("PingPongRaw",Props.FromProducer(() => new PingPongActorRaw()) );

system
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/SkyriseMini/Server/SkyriseMiniServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/SpawnBenchmark/SpawnBenchmark.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ServerGarbageCollection>true</ServerGarbageCollection>
<ConcurrentGarbageCollection>true</ConcurrentGarbageCollection>
<LangVersion>10</LangVersion>
<TargetFrameworks>net5.0;netcoreapp3.1;net6.0</TargetFrameworks>
<TargetFrameworks>net5.0;netcoreapp3.1;net6.0;net7.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Proto.Actor\Proto.Actor.csproj" />
Expand Down