0.5.1 - Introduction of NetData 📉
- Even though the same machine is used, performance decreases quite a bit (7%-21%) when using netdata on the machine. This is a release to show that difference and give a possible way to recalculate future benchmarks using netdata.
- Name Change from NetCoreNetworkBenchmark to NetworkBenchmarkDotNet, since .NET Core becomes .NET.
- Update of LiteNetLib to 0.9.4 (And removal of submodule from repository, since it is not necessary anymore)
- Change from .NET Core 3.1.9 to 3.1.10, last release in master branch with .NET Core 3.x
With NetData
Results v0.5.1 with Background Tasks: NetDat
BenchmarkDotNet=v0.12.1, OS=ubuntu 20.04
Intel Core i5-3570K CPU 3.40GHz (Ivy Bridge), 1 CPU, 4 logical and 4 physical cores
.NET Core SDK=3.1.404
[Host] : .NET Core 3.1.10 (CoreCLR 4.700.20.51601, CoreFX 4.700.20.51901), X64 RyuJIT
Job-CXRHAN : .NET Core 3.1.10 (CoreCLR 4.700.20.51601, CoreFX 4.700.20.51901), X64 RyuJIT
Concurrent=False Server=True InvocationCount=1
IterationCount=10 LaunchCount=1 UnrollFactor=1
WarmupCount=1
Benchmark |
ENet |
LiteNetLib |
NetCoreServer |
Performance |
|
|
|
Performance1 |
167,841 msg/s (5.958 s) |
68,129 msg/s (14.678 s) |
90,612 msg/s (11.036 s) |
Performance2 |
993,048 msg/s (1.007 s) |
267,379 msg/s (3.740 s) |
91,215 msg/s (10.963 s) |
Garbage |
|
|
|
Alloc |
0.512 MB |
81.968 MB |
161.892 MB |
GC Pauses |
107.5 ms (max 19.6 ms) |
106.6 ms (max 2.7 ms) |
86.8 ms (max 10.6 ms) |
Without NetData
Results v0.5.1 with Background Tasks: None
BenchmarkDotNet=v0.12.1, OS=ubuntu 20.04
Intel Core i5-3570K CPU 3.40GHz (Ivy Bridge), 1 CPU, 4 logical and 4 physical cores
.NET Core SDK=5.0.100
[Host] : .NET Core 3.1.10 (CoreCLR 4.700.20.51601, CoreFX 4.700.20.51901), X64 RyuJIT
Job-GXZRRI : .NET Core 3.1.10 (CoreCLR 4.700.20.51601, CoreFX 4.700.20.51901), X64 RyuJIT
Concurrent=False Server=True InvocationCount=1
IterationCount=10 LaunchCount=1 UnrollFactor=1
WarmupCount=1
Benchmark |
ENet |
LiteNetLib |
NetCoreServer |
Performance |
|
|
|
Performance1 |
189,721 msg/s (5.271 s) |
78,859 msg/s (12.681 s) |
110,378 msg/s (9.060 s) |
Performance2 |
1,061,684 msg/s (0.942 s) |
289,218 msg/s (3.458 s) |
111,165 msg/s (8.996 s) |
Garbage |
|
|
|
Alloc |
0.512 MB |
82.648 MB |
162.256 MB |
GC Pauses |
84.9 ms (max 2.0 ms) |
102.5 ms (max 3.0 ms) |
68.6 ms (max 2.5 ms) |
Comparison
Method |
Library |
Mean time increase |
Performance1 |
ENet |
13,04% |
Performance2 |
ENet |
6,91% |
Performance1 |
NetCoreServer |
21,81% |
Performance2 |
NetCoreServer |
21,87% |
Performance1 |
LiteNetLib |
15,75% |
Performance2 |
LiteNetLib |
8,17% |