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

[WIP] Support protocol v13987 #40

Closed saul closed 9 months ago

saul commented 9 months ago

Very WIP - is backwards compatible with old demos, but the data in delta svc_PacketEntities has changed. This will require reverse engineering work.

Will fix #39

github-actions[bot] commented 9 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-FVJAIZ : .NET 8.0.1 (8.0.123.58001), X64 RyuJIT AVX2
  Job-AXXCAS : .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-FVJAIZ /p:Baseline=true 2.154 s 0.0140 s 0.0124 s 1.00 6000.0000 1000.0000 583.87 MB 1.00
ParseDemo Job-AXXCAS Default 2.183 s 0.0199 s 0.0176 s 1.01 6000.0000 1000.0000 594.31 MB 1.02