saul / demofile-net

Blazing fast cross-platform demo parser library for Counter-Strike 2 and Valve's Deadlock, written in C#.
MIT License
111 stars 10 forks source link

Fix userid event vars being parsed as entity indexes, add GetPlayerByUserId/SteamId helpers #13

Closed saul closed 1 year ago

saul commented 1 year ago

Fixes #12

github-actions[bot] commented 1 year ago

BenchmarkDotNet v0.13.9+228a464e8be6c580ad9408e98f18813f6407fb5a, Ubuntu 22.04.3 LTS (Jammy Jellyfish)
Intel Xeon Platinum 8272CL CPU 2.60GHz, 1 CPU, 2 logical and 2 physical cores
.NET SDK 7.0.403
  [Host]     : .NET 7.0.13 (7.0.1323.51816), X64 RyuJIT AVX2
  Job-UDVHWF : .NET 7.0.13 (7.0.1323.51816), X64 RyuJIT AVX2
  Job-MJWQNF : .NET 7.0.13 (7.0.1323.51816), 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-UDVHWF /p:Baseline=true 3.956 s 0.0066 s 0.0055 s 1.00 33000.0000 1000.0000 681.31 MB 1.00
ParseDemo Job-MJWQNF Default 3.840 s 0.0070 s 0.0058 s 0.97 33000.0000 1000.0000 681.32 MB 1.00