-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs and benchmarks for v1.0.0. ~15% faster than v1.0.0
- Loading branch information
Showing
6 changed files
with
98 additions
and
14 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
``` ini | ||
|
||
BenchmarkDotNet=v0.11.5, OS=Windows 7 SP1 (6.1.7601.0) | ||
Intel Xeon CPU E3-1545M v5 2.90GHz, 1 CPU, 8 logical and 4 physical cores | ||
Frequency=2836132 Hz, Resolution=352.5929 ns, Timer=TSC | ||
.NET Core SDK=2.2.105 | ||
[Host] : .NET Core 2.2.3 (CoreCLR 4.6.27414.05, CoreFX 4.6.27414.05), 64bit RyuJIT | ||
Core : .NET Core 2.2.3 (CoreCLR 4.6.27414.05, CoreFX 4.6.27414.05), 64bit RyuJIT | ||
|
||
Job=Core Runtime=Core | ||
|
||
``` | ||
| Method | DataSize | Mean | Error | StdDev | Median | Min | Max | Ratio | RatioSD | Rank | Gen 0 | Gen 1 | Gen 2 | Allocated | | ||
|----------------- |--------- |----------:|----------:|----------:|----------:|----------:|----------:|------:|--------:|-----:|------:|------:|------:|----------:| | ||
| **TestXxHash** | **100** | **18.19 ns** | **0.1241 ns** | **0.1161 ns** | **18.14 ns** | **18.05 ns** | **18.43 ns** | **0.57** | **0.01** | **2** | **-** | **-** | **-** | **-** | | ||
| TestXxHashNative | 100 | 21.85 ns | 0.1671 ns | 0.1563 ns | 21.90 ns | 21.63 ns | 22.08 ns | 0.69 | 0.01 | 3 | - | - | - | - | | ||
| TestWyHashNative | 100 | 16.50 ns | 0.3931 ns | 1.1528 ns | 15.88 ns | 15.37 ns | 19.77 ns | 0.57 | 0.02 | 1 | - | - | - | - | | ||
| TestWyHash | 100 | 31.84 ns | 0.2136 ns | 0.1998 ns | 31.85 ns | 31.47 ns | 32.18 ns | 1.00 | 0.00 | 4 | - | - | - | - | | ||
| | | | | | | | | | | | | | | | | ||
| **TestXxHash** | **1024** | **97.64 ns** | **0.6791 ns** | **0.6020 ns** | **97.52 ns** | **96.98 ns** | **99.13 ns** | **0.41** | **0.01** | **3** | **-** | **-** | **-** | **-** | | ||
| TestXxHashNative | 1024 | 89.51 ns | 1.1083 ns | 1.0367 ns | 89.92 ns | 87.46 ns | 90.84 ns | 0.37 | 0.01 | 2 | - | - | - | - | | ||
| TestWyHashNative | 1024 | 71.31 ns | 0.7103 ns | 0.6644 ns | 71.34 ns | 70.54 ns | 72.85 ns | 0.30 | 0.01 | 1 | - | - | - | - | | ||
| TestWyHash | 1024 | 238.94 ns | 5.0078 ns | 5.1426 ns | 236.56 ns | 234.14 ns | 249.36 ns | 1.00 | 0.00 | 4 | - | - | - | - | |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Method,Job,AnalyzeLaunchVariance,EvaluateOverhead,MaxAbsoluteError,MaxRelativeError,MinInvokeCount,MinIterationTime,OutlierMode,Affinity,EnvironmentVariables,Jit,Platform,Runtime,AllowVeryLargeObjects,Concurrent,CpuGroups,Force,HeapAffinitizeMask,HeapCount,NoAffinitize,RetainVm,Server,PowerPlan,Arguments,BuildConfiguration,Clock,EngineFactory,NuGetReferences,Toolchain,IsMutator,InvocationCount,IterationCount,IterationTime,LaunchCount,MaxIterationCount,MaxWarmupIterationCount,MinIterationCount,MinWarmupIterationCount,RunStrategy,UnrollFactor,WarmupCount,DataSize,Mean,Error,StdDev,Median,Min,Max,Ratio,RatioSD,Rank,Gen 0,Gen 1,Gen 2,Allocated | ||
TestXxHash,Core,False,Default,Default,Default,Default,Default,Default,11111111,Empty,RyuJit,X64,Core,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,1,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,100,18.19 ns,0.1241 ns,0.1161 ns,18.14 ns,18.05 ns,18.43 ns,0.57,0.01,2,-,-,-,- | ||
TestXxHashNative,Core,False,Default,Default,Default,Default,Default,Default,11111111,Empty,RyuJit,X64,Core,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,1,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,100,21.85 ns,0.1671 ns,0.1563 ns,21.90 ns,21.63 ns,22.08 ns,0.69,0.01,3,-,-,-,- | ||
TestWyHashNative,Core,False,Default,Default,Default,Default,Default,Default,11111111,Empty,RyuJit,X64,Core,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,1,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,100,16.50 ns,0.3931 ns,1.1528 ns,15.88 ns,15.37 ns,19.77 ns,0.57,0.02,1,-,-,-,- | ||
TestWyHash,Core,False,Default,Default,Default,Default,Default,Default,11111111,Empty,RyuJit,X64,Core,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,1,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,100,31.84 ns,0.2136 ns,0.1998 ns,31.85 ns,31.47 ns,32.18 ns,1.00,0.00,4,-,-,-,- | ||
TestXxHash,Core,False,Default,Default,Default,Default,Default,Default,11111111,Empty,RyuJit,X64,Core,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,1,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,1024,97.64 ns,0.6791 ns,0.6020 ns,97.52 ns,96.98 ns,99.13 ns,0.41,0.01,3,-,-,-,- | ||
TestXxHashNative,Core,False,Default,Default,Default,Default,Default,Default,11111111,Empty,RyuJit,X64,Core,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,1,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,1024,89.51 ns,1.1083 ns,1.0367 ns,89.92 ns,87.46 ns,90.84 ns,0.37,0.01,2,-,-,-,- | ||
TestWyHashNative,Core,False,Default,Default,Default,Default,Default,Default,11111111,Empty,RyuJit,X64,Core,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,1,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,1024,71.31 ns,0.7103 ns,0.6644 ns,71.34 ns,70.54 ns,72.85 ns,0.30,0.01,1,-,-,-,- | ||
TestWyHash,Core,False,Default,Default,Default,Default,Default,Default,11111111,Empty,RyuJit,X64,Core,False,True,False,True,Default,Default,False,False,False,Default,Default,Default,Default,Default,Default,Default,Default,1,Default,Default,Default,Default,Default,Default,Default,Default,16,Default,1024,238.94 ns,5.0078 ns,5.1426 ns,236.56 ns,234.14 ns,249.36 ns,1.00,0.00,4,-,-,-,- |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<!DOCTYPE html> | ||
<html lang='en'> | ||
<head> | ||
<meta charset='utf-8' /> | ||
<title>WyHash.Benchmarks.Test-20190423-115039</title> | ||
|
||
<style type="text/css"> | ||
table { border-collapse: collapse; display: block; width: 100%; overflow: auto; } | ||
td, th { padding: 6px 13px; border: 1px solid #ddd; } | ||
tr { background-color: #fff; border-top: 1px solid #ccc; } | ||
tr:nth-child(even) { background: #f8f8f8; } | ||
</style> | ||
</head> | ||
<body> | ||
<pre><code> | ||
BenchmarkDotNet=v0.11.5, OS=Windows 7 SP1 (6.1.7601.0) | ||
Intel Xeon CPU E3-1545M v5 2.90GHz, 1 CPU, 8 logical and 4 physical cores | ||
Frequency=2836132 Hz, Resolution=352.5929 ns, Timer=TSC | ||
.NET Core SDK=2.2.105 | ||
[Host] : .NET Core 2.2.3 (CoreCLR 4.6.27414.05, CoreFX 4.6.27414.05), 64bit RyuJIT | ||
Core : .NET Core 2.2.3 (CoreCLR 4.6.27414.05, CoreFX 4.6.27414.05), 64bit RyuJIT | ||
</code></pre> | ||
<pre><code>Job=Core Runtime=Core | ||
</code></pre> | ||
|
||
<table> | ||
<thead><tr><th> Method</th><th>DataSize</th><th>Mean</th><th>Error</th><th>StdDev</th><th>Median</th><th>Min</th><th>Max</th><th>Ratio</th><th>RatioSD</th><th>Rank</th><th>Gen 0</th><th>Gen 1</th><th>Gen 2</th><th>Allocated</th> | ||
</tr> | ||
</thead><tbody><tr><td>TestXxHash</td><td>100</td><td>18.19 ns</td><td>0.1241 ns</td><td>0.1161 ns</td><td>18.14 ns</td><td>18.05 ns</td><td>18.43 ns</td><td>0.57</td><td>0.01</td><td>2</td><td>-</td><td>-</td><td>-</td><td>-</td> | ||
</tr><tr><td>TestXxHashNative</td><td>100</td><td>21.85 ns</td><td>0.1671 ns</td><td>0.1563 ns</td><td>21.90 ns</td><td>21.63 ns</td><td>22.08 ns</td><td>0.69</td><td>0.01</td><td>3</td><td>-</td><td>-</td><td>-</td><td>-</td> | ||
</tr><tr><td>TestWyHashNative</td><td>100</td><td>16.50 ns</td><td>0.3931 ns</td><td>1.1528 ns</td><td>15.88 ns</td><td>15.37 ns</td><td>19.77 ns</td><td>0.57</td><td>0.02</td><td>1</td><td>-</td><td>-</td><td>-</td><td>-</td> | ||
</tr><tr><td>TestWyHash</td><td>100</td><td>31.84 ns</td><td>0.2136 ns</td><td>0.1998 ns</td><td>31.85 ns</td><td>31.47 ns</td><td>32.18 ns</td><td>1.00</td><td>0.00</td><td>4</td><td>-</td><td>-</td><td>-</td><td>-</td> | ||
</tr><tr><td>TestXxHash</td><td>1024</td><td>97.64 ns</td><td>0.6791 ns</td><td>0.6020 ns</td><td>97.52 ns</td><td>96.98 ns</td><td>99.13 ns</td><td>0.41</td><td>0.01</td><td>3</td><td>-</td><td>-</td><td>-</td><td>-</td> | ||
</tr><tr><td>TestXxHashNative</td><td>1024</td><td>89.51 ns</td><td>1.1083 ns</td><td>1.0367 ns</td><td>89.92 ns</td><td>87.46 ns</td><td>90.84 ns</td><td>0.37</td><td>0.01</td><td>2</td><td>-</td><td>-</td><td>-</td><td>-</td> | ||
</tr><tr><td>TestWyHashNative</td><td>1024</td><td>71.31 ns</td><td>0.7103 ns</td><td>0.6644 ns</td><td>71.34 ns</td><td>70.54 ns</td><td>72.85 ns</td><td>0.30</td><td>0.01</td><td>1</td><td>-</td><td>-</td><td>-</td><td>-</td> | ||
</tr><tr><td>TestWyHash</td><td>1024</td><td>238.94 ns</td><td>5.0078 ns</td><td>5.1426 ns</td><td>236.56 ns</td><td>234.14 ns</td><td>249.36 ns</td><td>1.00</td><td>0.00</td><td>4</td><td>-</td><td>-</td><td>-</td><td>-</td> | ||
</tr></tbody></table> | ||
</body> | ||
</html> |
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