saul / demofile-net

Blazing fast cross-platform demo parser library for Counter-Strike 2, written in C#.
MIT License
76 stars 7 forks source link

Fix decode exception caused by .NET runtime bug #28

Closed saul closed 6 months ago

saul commented 6 months ago

https://github.com/dotnet/runtime/issues/96174

Fixes #25

github-actions[bot] commented 6 months ago

BenchmarkDotNet v0.13.9+228a464e8be6c580ad9408e98f18813f6407fb5a, Ubuntu 22.04.3 LTS (Jammy Jellyfish)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 8.0.100
  [Host]     : .NET 7.0.14 (7.0.1423.51910), X64 RyuJIT AVX2
  Job-CSZKSG : .NET 7.0.14 (7.0.1423.51910), X64 RyuJIT AVX2
  Job-TTQWSZ : .NET 7.0.14 (7.0.1423.51910), X64 RyuJIT AVX2

InvocationCount=1  MaxIterationCount=16  UnrollFactor=1  
WarmupCount=1  
Method Job Arguments Mean Error StdDev Ratio Gen0 Gen1 Allocated Alloc Ratio
ParseDemo Job-CSZKSG /p:Baseline=true 2.926 s 0.0222 s 0.0207 s 1.00 7000.0000 1000.0000 681.38 MB 1.00
ParseDemo Job-TTQWSZ Default 2.686 s 0.0143 s 0.0133 s 0.92 7000.0000 1000.0000 681.38 MB 1.00