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

Reading CDemoFileInfo is best effort #44

Closed saul closed 4 months ago

saul commented 4 months ago

Fixes #43

github-actions[bot] commented 4 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.101
  [Host]     : .NET 8.0.1 (8.0.123.58001), X64 RyuJIT AVX2
  Job-OMGWKJ : .NET 8.0.1 (8.0.123.58001), X64 RyuJIT AVX2
  Job-FVFVMI : .NET 8.0.1 (8.0.123.58001), 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-OMGWKJ /p:Baseline=true 2.250 s 0.0144 s 0.0127 s 1.00 6000.0000 1000.0000 594.31 MB 1.00
ParseDemo Job-FVFVMI Default 2.213 s 0.0085 s 0.0071 s 0.98 6000.0000 1000.0000 594.31 MB 1.00