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

Read CDemoFileInfo in seekable streams #31

Closed saul closed 11 months ago

saul commented 11 months ago

Fixes #26

github-actions[bot] commented 11 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-TTWOLS : .NET 7.0.14 (7.0.1423.51910), X64 RyuJIT AVX2
  Job-LZWTZT : .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-TTWOLS /p:Baseline=true 2.402 s 0.0083 s 0.0073 s 1.00 6000.0000 1000.0000 583.88 MB 1.00
ParseDemo Job-LZWTZT Default 2.392 s 0.0125 s 0.0117 s 1.00 6000.0000 1000.0000 583.88 MB 1.00