Skip to content

Commit

Permalink
Update deps; Remove .NET 7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
OoLunar committed Apr 25, 2024
1 parent c23bb83 commit d934973
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 31 deletions.
3 changes: 1 addition & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<Nullable>enable</Nullable>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<TargetFrameworks>net7.0;net8.0</TargetFrameworks>
<TargetFrameworks>net8.0</TargetFrameworks>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<IsPackable>false</IsPackable>
Expand All @@ -25,6 +25,5 @@
<EmbeddedResource Include="$(ProjectRoot)/res/*.png" Pack="true" PackagePath=""/>
<EmbeddedResource Include="$(ProjectRoot)/LICENSE" Pack="true" PackagePath=""/>
<EmbeddedResource Include="$(ProjectRoot)/README.md" Pack="true" PackagePath=""/>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All"/>
</ItemGroup>
</Project>
24 changes: 12 additions & 12 deletions benchmarks/HyperSharp.Benchmarks.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@
<ItemGroup>
<None Include="../res/config.json" CopyToOutputDirectory="Always" />
<PackageReference Include="EmbedIO" Version="3.5.2" />
<PackageReference Include="GenHTTP.Core" Version="7.0.0" />
<PackageReference Include="NetCoreServer" Version="7.0.0" />
<PackageReference Include="GenHTTP.Core" Version="8.3.1" />
<PackageReference Include="NetCoreServer" Version="8.0.7" />
<ProjectReference Include="$(ProjectRoot)/src/HyperSharp/HyperSharp.csproj" />
<PackageReference Include="BenchmarkDotNet" Version="0.13.7" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.4" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="Serilog" Version="3.0.1" />
<PackageReference Include="BenchmarkDotNet" Version="0.13.12" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Serilog" Version="3.1.1" />
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="7.0.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.1" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<ProjectReference Include="$(ProjectRoot)/src/HyperSharp/HyperSharp.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Serilog" Version="3.0.1" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="7.0.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="4.1.0" />
<PackageReference Include="Serilog" Version="3.1.1" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="5.0.1" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions src/HyperSharp.Responders/HyperSharp.Responders.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../HyperSharp.Results/HyperSharp.Results.csproj" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="7.0.0" />
<PackageReference Include="Microsoft.Net.Http.Headers" Version="2.2.8" />
<PackageReference Include="NuGet.Frameworks" Version="6.7.0" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="8.0.0" />
<PackageReference Include="Microsoft.Net.Http.Headers" Version="8.0.4" />
<PackageReference Include="NuGet.Frameworks" Version="6.9.1" />
</ItemGroup>
</Project>
8 changes: 4 additions & 4 deletions src/HyperSharp/HyperSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<ProjectReference Include="../HyperSharp.Results/HyperSharp.Results.csproj" />
<ProjectReference Include="../HyperSharp.Responders/HyperSharp.Responders.csproj" />
<PackageReference Include="Microsoft.Toolkit.HighPerformance" Version="7.1.2" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="7.0.1" />
<PackageReference Include="System.IO.Pipelines" Version="7.0.0" />
<PackageReference Include="Ulid" Version="1.3.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="8.0.2" />
<PackageReference Include="System.IO.Pipelines" Version="8.0.0" />
<PackageReference Include="Ulid" Version="1.3.3" />
</ItemGroup>
</Project>
8 changes: 4 additions & 4 deletions tests/HyperSharp.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<ProjectReference Include="../src/HyperSharp/HyperSharp.csproj" />
<ProjectReference Include="../src/HyperSharp.Responders/HyperSharp.Responders.csproj" />
<ProjectReference Include="../src/HyperSharp.Results/HyperSharp.Results.csproj" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
<PackageReference Include="coverlet.collector" Version="6.0.0">
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.3.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.3.1" />
<PackageReference Include="coverlet.collector" Version="6.0.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down

1 comment on commit d934973

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Machine Information:

BenchmarkDotNet v0.13.12, Ubuntu 22.04.4 LTS (Jammy Jellyfish)

  • AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
  • Hardware Intrinsics: AVX2, AES, BMI1, BMI2, FMA, LZCNT, PCLMUL, POPCNT VectorSize=256
  • .NET 8.0.4 (8.0.424.16909), x64, RyuJIT
  • Total Execution Time: 49.686s

HyperBenchmarks

Execution Time: 48.279s

FullHttpRequest:

Mean: 382.23μs
Error: 343ns
StdDev: 1.33μs
Max per second: 2,616.25 (1,000,000,000ns / 382,226.33ns)

HyperContextRespondAsync:

Mean: 13.74μs
Error: 28ns
StdDev: 109ns
Max per second: 72,780.69 (1,000,000,000ns / 13,739.91ns)

ParseHeadersTestAsync:

Mean: 5.79μs
Error: 10ns
StdDev: 38ns
Max per second: 172,854.56 (1,000,000,000ns / 5,785.21ns)

HttpBenchmarks

Execution Time: 1.407s

HyperSharpTestAsync, Baseline, Failed:

No results.

EmbedIoTestAsync, Failed:

No results.

GenHttpTestAsync, Failed:

No results.

HttpCoreTestAsync, Failed:

No results.

HttpListenerTestAsync, Failed:

No results.

Please sign in to comment.