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 entities being created multiple times #97

Closed saul closed 2 months ago

saul commented 2 months ago

Fixes #91

github-actions[bot] commented 2 months ago

BenchmarkDotNet v0.13.9+228a464e8be6c580ad9408e98f18813f6407fb5a, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 8.0.401
  [Host]     : .NET 8.0.8 (8.0.824.36612), X64 RyuJIT AVX2
  Job-ZKMOZL : .NET 8.0.8 (8.0.824.36612), X64 RyuJIT AVX2
  Job-TAZXPI : .NET 8.0.8 (8.0.824.36612), X64 RyuJIT AVX2

InvocationCount=1  MaxIterationCount=16  UnrollFactor=1  
WarmupCount=1  
Method Job BuildConfiguration Mean Error StdDev Ratio RatioSD Gen0 Gen1 Allocated Alloc Ratio
ParseDemo Job-ZKMOZL Baseline 2.281 s 0.0080 s 0.0067 s 1.00 0.00 5000.0000 1000.0000 516 MB 1.00
ParseDemo Job-TAZXPI Default 2.250 s 0.0118 s 0.0099 s 0.99 0.01 5000.0000 1000.0000 516 MB 1.00
ParseDemoParallel Job-ZKMOZL Baseline 1.210 s 0.0239 s 0.0199 s 1.00 0.00 6000.0000 1000.0000 558.48 MB 1.00
ParseDemoParallel Job-TAZXPI Default 1.190 s 0.0246 s 0.0230 s 0.98 0.02 6000.0000 1000.0000 558.49 MB 1.00