saul / demofile-net

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

Add ability to read tick-by-tick with `StartReadingAsync` and `MoveNextAsync` #32

Closed saul closed 9 months ago

saul commented 9 months ago

Fixes #22

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.100
  [Host]     : .NET 8.0.0 (8.0.23.53103), X64 RyuJIT AVX2
  Job-RBMSHU : .NET 8.0.0 (8.0.23.53103), X64 RyuJIT AVX2
  Job-ODOOPH : .NET 8.0.0 (8.0.23.53103), X64 RyuJIT AVX2

InvocationCount=1  MaxIterationCount=16  UnrollFactor=1  
WarmupCount=1  
Method Job Arguments Mean Error StdDev Ratio RatioSD Gen0 Gen1 Allocated Alloc Ratio
ParseDemo Job-RBMSHU /p:Baseline=true NA NA NA ? ? NA NA NA ?
ParseDemo Job-ODOOPH Default 2.236 s 0.0111 s 0.0093 s ? ? 6000.0000 1000.0000 583.87 MB ?

Benchmarks with issues: DemoParserBenchmark.ParseDemo: Job-RBMSHU(Arguments=/p:Baseline=true, InvocationCount=1, MaxIterationCount=16, UnrollFactor=1, WarmupCount=1)