Added some benchmarke benchmark stuff

This commit is contained in:
Tom Gardham-Pallister
2016-08-17 19:24:23 +01:00
parent d3b9fddcfd
commit 0421dba1e2
7 changed files with 363 additions and 0 deletions

View File

@ -0,0 +1,20 @@
```ini
Host Process Environment Information:
BenchmarkDotNet=v0.9.8.0
OS=OSX
Processor=?, ProcessorCount=4
Frequency=1000000000 ticks, Resolution=1.0000 ns, Timer=UNKNOWN
CLR=CORE, Arch=64-bit ? [RyuJIT]
GC=Concurrent Workstation
JitModules=?
dotnet cli version: 1.0.0-preview2-003121
Type=UrlPathToUrlPathTemplateMatcherBenchmarks Mode=Throughput Toolchain=Core
GarbageCollection=Concurrent Workstation
```
Method | Median | StdDev | Mean | StdError | StdDev | Op/s | Min | Q1 | Median | Q3 | Max |
----------- |------------ |---------- |------------ |---------- |---------- |----------- |------------ |------------ |------------ |------------ |------------ |
Benchmark1 | 180.4251 ns | 4.1294 ns | 180.4400 ns | 0.9234 ns | 4.1294 ns | 5542007.02 | 174.5503 ns | 177.6286 ns | 180.4251 ns | 182.5334 ns | 190.9792 ns |
Benchmark2 | 178.7267 ns | 6.1670 ns | 180.6081 ns | 1.3148 ns | 6.1670 ns | 5536849.8 | 174.0821 ns | 177.0992 ns | 178.7267 ns | 182.1962 ns | 198.1308 ns |

View File

@ -0,0 +1,3 @@
Type;Method;Mode;Platform;Jit;Toolchain;Runtime;GarbageCollection;LaunchCount;WarmupCount;TargetCount;Affinity;Median;StdDev;Mean;StdError;StdDev;Op/s;Min;Q1;Median;Q3;Max
UrlPathToUrlPathTemplateMatcherBenchmarks;Benchmark1;Throughput;Host;Host;Core;Host;Concurrent Workstation;Auto;Auto;Auto;Auto;180.4251 ns;4.1294 ns;180.4400 ns;0.9234 ns;4.1294 ns;5542007.02;174.5503 ns;177.6286 ns;180.4251 ns;182.5334 ns;190.9792 ns
UrlPathToUrlPathTemplateMatcherBenchmarks;Benchmark2;Throughput;Host;Host;Core;Host;Concurrent Workstation;Auto;Auto;Auto;Auto;178.7267 ns;6.1670 ns;180.6081 ns;1.3148 ns;6.1670 ns;5536849.8;174.0821 ns;177.0992 ns;178.7267 ns;182.1962 ns;198.1308 ns
1 Type Method Mode Platform Jit Toolchain Runtime GarbageCollection LaunchCount WarmupCount TargetCount Affinity Median StdDev Mean StdError StdDev Op/s Min Q1 Median Q3 Max
2 UrlPathToUrlPathTemplateMatcherBenchmarks Benchmark1 Throughput Host Host Core Host Concurrent Workstation Auto Auto Auto Auto 180.4251 ns 4.1294 ns 180.4400 ns 0.9234 ns 4.1294 ns 5542007.02 174.5503 ns 177.6286 ns 180.4251 ns 182.5334 ns 190.9792 ns
3 UrlPathToUrlPathTemplateMatcherBenchmarks Benchmark2 Throughput Host Host Core Host Concurrent Workstation Auto Auto Auto Auto 178.7267 ns 6.1670 ns 180.6081 ns 1.3148 ns 6.1670 ns 5536849.8 174.0821 ns 177.0992 ns 178.7267 ns 182.1962 ns 198.1308 ns

View File

@ -0,0 +1,20 @@
<pre><code>
Host Process Environment Information:
BenchmarkDotNet=v0.9.8.0
OS=OSX
Processor=?, ProcessorCount=4
Frequency=1000000000 ticks, Resolution=1.0000 ns, Timer=UNKNOWN
CLR=CORE, Arch=64-bit ? [RyuJIT]
GC=Concurrent Workstation
JitModules=?
dotnet cli version: 1.0.0-preview2-003121
</code></pre>
<pre><code>Type=UrlPathToUrlPathTemplateMatcherBenchmarks Mode=Throughput Toolchain=Core
GarbageCollection=Concurrent Workstation
</code></pre>
<table>
<tr><th>Method</th><th>Median</th><th>StdDev</th><th> Mean</th><th>StdError</th><th>StdDev</th><th>Op/s</th><th> Min</th><th> Q1</th><th>Median</th><th> Q3</th><th> Max</th>
</tr><tr><td>Benchmark1</td><td>180.4251 ns</td><td>4.1294 ns</td><td>180.4400 ns</td><td>0.9234 ns</td><td>4.1294 ns</td><td>5542007.02</td><td>174.5503 ns</td><td>177.6286 ns</td><td>180.4251 ns</td><td>182.5334 ns</td><td>190.9792 ns</td>
</tr><tr><td>Benchmark2</td><td>178.7267 ns</td><td>6.1670 ns</td><td>180.6081 ns</td><td>1.3148 ns</td><td>6.1670 ns</td><td>5536849.8</td><td>174.0821 ns</td><td>177.0992 ns</td><td>178.7267 ns</td><td>182.1962 ns</td><td>198.1308 ns</td>
</tr></table>