Skip to content

Instantly share code, notes, and snippets.

@AnthonySteele
Last active August 12, 2018 09:20
Show Gist options
  • Save AnthonySteele/95bb779ed6342910f12b4779422e8d33 to your computer and use it in GitHub Desktop.
Save AnthonySteele/95bb779ed6342910f12b4779422e8d33 to your computer and use it in GitHub Desktop.

I have finally done a like-for-like benchmaerk on JustEat.Statsd version 2.1 versus version 3.1

In order to get a consistent measurement, it has to be on the same machine under the same conditions.

dotnet run -c Release --framework netcoreapp2.0

BenchmarkDotNet=v0.11.0, OS=Windows 10.0.17134.167 (1803/April2018Update/Redstone4)
Intel Core i7-4712HQ CPU 2.30GHz (Max: 2.20GHz) (Haswell), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=2.1.4
  [Host]     : .NET Core 2.0.7 (CoreCLR 4.6.26328.01, CoreFX 4.6.26403.03), 64bit RyuJIT
  DefaultJob : .NET Core 2.0.7 (CoreCLR 4.6.26328.01, CoreFX 4.6.26403.03), 64bit RyuJIT

Version 2.1

Method Mean Error Allocated
RunUdp 574.3 us 5.607 us 132.34 KB

Version 3.1

Method Mean Error Allocated
SendStatPooledUdp 24.91 us 0.1103 us 384 B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment