Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 520 Bytes

File metadata and controls

22 lines (14 loc) · 520 Bytes

Benchmarks

Benchmark project: ZTSharp.Benchmarks/ZTSharp.Benchmarks.csproj

Uses BenchmarkDotNet with MemoryDiagnoser to report allocations for hot encode/decode and dispatch paths.


Run All Benchmarks

dotnet run -c Release --project ZTSharp.Benchmarks/ZTSharp.Benchmarks.csproj

Run a Specific Benchmark

Use BenchmarkDotNet's built-in --filter flag:

dotnet run -c Release --project ZTSharp.Benchmarks/ZTSharp.Benchmarks.csproj `
  -- --filter *NodeFrameCodec*