Skip to content

v0.3.0

Latest
Compare
Choose a tag to compare
@OoLunar OoLunar released this 06 Sep 20:35
· 39 commits to master since this release
c591cf4

Added:

  • Added articles.
  • Added benchmarks.
  • Added logo.
  • Added more overloads for IServiceCollection.AddHyperSharp.
  • Added source generated HyperHeaderName enum.
  • Added source generated HyperStatus static overloads.
  • Added SourceLink support.
  • Added unit tests.

Changed:

  • Changed how cancellation tokens are internally obtained.
  • Changed HyperContext to flush all at once instead of per call.
  • Changed the default listening address.
  • Changed the default response logic.
  • Changed to MIT license.

Removed:

  • Removed HyperConnection.RemoteAddress
  • Removed HyperConnection.TcpClient
  • Removed the almighty OoLunar prefix.

Fixed:

  • Fixed broken docs link.
  • Fixed extra / being added in URIs.
  • Fixed memory leak causing invalid connections.

Other:

  • Downgraded to net7.0 for compatibility.
  • Synced config properties and added helpful overloads.
  • Updated dependencies.

Merged PR's:

New Contributors:

Http Benchmarks:

Machine Information:

BenchmarkDotNet v0.13.7, Void Linux

  • AMD Ryzen 7 6800H with Radeon Graphics, 1 CPU, 16 logical and 8 physical cores
  • Hardware Intrinsics: AVX2, AES, BMI1, BMI2, FMA, LZCNT, PCLMUL, POPCNT VectorSize=256
  • .NET 8.0.0 (8.0.23.37506), x64, RyuJIT
  • Total Execution Time: 37.864s

HttpBenchmarks

Execution Time: 37.864s

HttpClientTestAsync:

Mean: 163.40μs
Error: 940ns
StdDev: 7.22μs
Max per second: 6,120.08 (1,000,000,000ns / 163,396.52ns)

ParseHeadersTestAsync:

Mean: 3.96μs
Error: 10ns
StdDev: 34ns
Max per second: 252,775.34 (1,000,000,000ns / 3,956.08ns)

Full Changelog: 0.2.0...0.3.0