Closed MeikelLP closed 1 year ago
This is just a new foundation for the networking in this project which may be improved even further.
Benefits of source generator:
But this doesn't come without a cost:
Tested with
DamageInfo
Attack
BenchmarkDotNet=v0.13.5, OS=Windows 10 (10.0.19045.2965/22H2/2022Update) Intel Core i9-9900K CPU 3.60GHz (Coffee Lake), 1 CPU, 16 logical and 8 physical cores .NET SDK=7.0.105 [Host] : .NET 7.0.5 (7.0.523.17405), X64 RyuJIT AVX2 DefaultJob : .NET 7.0.5 (7.0.523.17405), X64 RyuJIT AVX2
This is just a new foundation for the networking in this project which may be improved even further.
Benefits of source generator:
But this doesn't come without a cost:
Dependencies
9
Performance
Tested with
DamageInfo
as outgoing (serialize)Attack
as incoming (deserialize)