-
-
Save mattwarren/db02793392ec055bac38943b936af5e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Total time: 00:03:42 (222.36 sec) | |
// * Summary * | |
BenchmarkDotNet=v0.9.9-develop | |
OS=Microsoft Windows NT 6.1.7601 Service Pack 1 | |
Processor=Intel(R) Core(TM) i7-4800MQ CPU 2.70GHz, ProcessorCount=8 | |
Frequency=2630791 Hz, Resolution=380.1138 ns, Timer=TSC | |
Host Runtime=Clr 4.0.30319.42000, Arch=64-bit RELEASE [RyuJIT] | |
GC=Concurrent Workstation | |
JitModules=clrjit-v4.6.1590.0 | |
Job Runtime(s): | |
Clr 4.0.30319.42000, Arch=64-bit RELEASE [RyuJIT] | |
RunStrategy=Throughput LaunchCount=2 WarmupCount=10 | |
TargetCount=15 | |
Method | GcServer | GcForce | Mean | StdErr | StdDev | Median | Gen 0 | Gen 1 | Gen 2 | Bytes Allocated/Op | | |
------------------------ |--------- |-------- |------------ |----------- |------------ |------------ |---------- |------ |------ |------------------- | | |
'stackalloc byte[10KB]' | False | False | 1.0690 ns | 0.1392 ns | 1.0783 ns | 1.0454 ns | - | - | - | 0.00 | | |
'stackalloc byte[10KB]' | True | True | 1.0748 ns | 0.1400 ns | 1.0842 ns | 1.0400 ns | - | - | - | 0.00 | | |
'stackalloc byte[10KB]' | True | False | 1.0772 ns | 0.1403 ns | 1.0866 ns | 1.0403 ns | - | - | - | 0.00 | | |
'stackalloc byte[10KB]' | False | True | 1.0872 ns | 0.1423 ns | 1.1023 ns | 1.0260 ns | - | - | - | 0.00 | | |
'new byte[10KB]' | False | True | 108.5197 ns | 14.1317 ns | 109.4635 ns | 105.7219 ns | 24,839.00 | - | - | 10,048.00 | | |
'new byte[10KB]' | False | False | 109.8449 ns | 14.3067 ns | 110.8190 ns | 106.2894 ns | 25,045.00 | - | - | 10,048.00 | | |
'new byte[10KB]' | True | True | 154.6476 ns | 20.1560 ns | 156.1277 ns | 148.9501 ns | 1,114.00 | - | - | 10,042.00 | | |
'new byte[10KB]' | True | False | 158.9589 ns | 20.7968 ns | 161.0914 ns | 142.1361 ns | 1,326.00 | - | - | 10,042.00 | | |
// * Diagnostic Output - MemoryDiagnoser * | |
Benchmark: IntroGcMode.'new byte[10KB]' - Server(GcServer=True, GcForce=False, RunStrategy=Throughput, LaunchCount=2, WarmupCount=10, TargetCount=15) | |
7,864,320 Ops | |
Benchmark: IntroGcMode.'stackalloc byte[10KB]' - Server(GcServer=True, GcForce=False, RunStrategy=Throughput, LaunchCount=2, WarmupCount=10, TargetCount=15) | |
503,316,480 Ops | |
Benchmark: IntroGcMode.'new byte[10KB]' - ServerForce(GcServer=True, GcForce=True, RunStrategy=Throughput, LaunchCount=2, WarmupCount=10, TargetCount=15) | |
7,864,320 Ops | |
Benchmark: IntroGcMode.'stackalloc byte[10KB]' - ServerForce(GcServer=True, GcForce=True, RunStrategy=Throughput, LaunchCount=2, WarmupCount=10, TargetCount=15) | |
503,316,480 Ops | |
Benchmark: IntroGcMode.'new byte[10KB]' - Workstation(GcServer=False, GcForce=True, RunStrategy=Throughput, LaunchCount=2, WarmupCount=10, TargetCount=15) | |
7,864,320 Ops | |
Benchmark: IntroGcMode.'stackalloc byte[10KB]' - Workstation(GcServer=False, GcForce=True, RunStrategy=Throughput, LaunchCount=2, WarmupCount=10, TargetCount=15) | |
1,006,632,960 Ops | |
Benchmark: IntroGcMode.'new byte[10KB]' - WorkstationForce(GcServer=False, GcForce=False, RunStrategy=Throughput, LaunchCount=2, WarmupCount=10, TargetCount=15) | |
7,864,320 Ops | |
Benchmark: IntroGcMode.'stackalloc byte[10KB]' - WorkstationForce(GcServer=False, GcForce=False, RunStrategy=Throughput, LaunchCount=2, WarmupCount=10, TargetCount=15) | |
1,006,632,960 Ops | |
// ***** BenchmarkRunner: End ***** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment