Skip to content

Instantly share code, notes, and snippets.

@jbogard
Last active November 29, 2018 04:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbogard/daa09b6a9741e34806986b516fc6f147 to your computer and use it in GitHub Desktop.
Save jbogard/daa09b6a9741e34806986b516fc6f147 to your computer and use it in GitHub Desktop.
BenchmarkDotNet=v0.10.13, OS=Windows 10.0.17134
Intel Core i7-7700HQ CPU 2.80GHz (Kaby Lake), 1 CPU, 8 logical cores and 4 physical cores
.NET Core SDK=2.1.402
  [Host]     : .NET Core 2.1.4 (CoreCLR 4.6.26814.03, CoreFX 4.6.26814.02), 64bit RyuJIT
  Job-OWZBJX : .NET Core 2.1.4 (CoreCLR 4.6.26814.03, CoreFX 4.6.26814.02), 64bit RyuJIT

Runtime=Core  Server=True  Toolchain=.NET Core 2.1  
RunStrategy=Throughput  
Method Mean Error StdDev Op/s Scaled ScaledSD Gen 0 Allocated
NoConstraints 14.43 us 0.2839 us 0.4161 us 69,304.3 1.00 0.00 0.0763 4840 B
NewConstraint 14.60 us 0.2495 us 0.1948 us 68,477.5 1.01 0.03 0.0610 4840 B
NotMatchingNewConstraint NA NA NA NA ? ? N/A N/A
SimpleTypeConstraint 14.18 us 0.2733 us 0.3254 us 70,529.4 0.98 0.04 0.0610 4840 B
ComplexInterfaceConstraint 14.45 us 0.2869 us 0.7250 us 69,215.6 1.00 0.06 0.0610 4840 B
NotMatchingComplexInterfaceConstraint NA NA NA NA ? ? N/A N/A

Benchmarks with issues: ConstrainedGenericBenchmark.NotMatchingNewConstraint: Job-OWZBJX(Runtime=Core, Server=True, Toolchain=.NET Core 2.1, RunStrategy=Throughput) ConstrainedGenericBenchmark.NotMatchingComplexInterfaceConstraint: Job-OWZBJX(Runtime=Core, Server=True, Toolchain=.NET Core 2.1, RunStrategy=Throughput)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment