-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f04626e
commit 894ad75
Showing
33 changed files
with
223 additions
and
312 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<!DOCTYPE html> | ||
<html lang='en'> | ||
<head> | ||
<meta charset='utf-8' /> | ||
<title>Pure.DI.Benchmarks.Benchmarks.Enum-20240413-090302</title> | ||
|
||
<style type="text/css"> | ||
table { border-collapse: collapse; display: block; width: 100%; overflow: auto; } | ||
td, th { padding: 6px 13px; border: 1px solid #ddd; text-align: right; } | ||
tr { background-color: #fff; border-top: 1px solid #ccc; } | ||
tr:nth-child(even) { background: #f8f8f8; } | ||
</style> | ||
</head> | ||
<body> | ||
<pre><code> | ||
BenchmarkDotNet v0.13.12, Ubuntu 20.04.6 LTS (Focal Fossa) | ||
Intel Xeon Platinum 8175M CPU 2.50GHz, 1 CPU, 2 logical cores and 1 physical core | ||
.NET SDK 8.0.201 | ||
[Host] : .NET 8.0.2 (8.0.224.6711), X64 RyuJIT AVX-512F+CD+BW+DQ+VL | ||
DefaultJob : .NET 8.0.2 (8.0.224.6711), X64 RyuJIT AVX-512F+CD+BW+DQ+VL | ||
</code></pre> | ||
<pre><code></code></pre> | ||
|
||
<table> | ||
<thead><tr><th>Method </th><th>Mean </th><th>Error</th><th>StdDev</th><th>Ratio</th><th>RatioSD</th><th>Gen0</th><th>Gen1</th><th>Allocated</th><th>Alloc Ratio</th> | ||
</tr> | ||
</thead><tbody><tr><td>'Simple Injector'</td><td>NA</td><td>NA</td><td>NA</td><td>?</td><td>?</td><td>NA</td><td>NA</td><td>NA</td><td>?</td> | ||
</tr><tr><td>'Castle Windsor'</td><td>NA</td><td>NA</td><td>NA</td><td>?</td><td>?</td><td>NA</td><td>NA</td><td>NA</td><td>?</td> | ||
</tr><tr><td>Ninject</td><td>NA</td><td>NA</td><td>NA</td><td>?</td><td>?</td><td>NA</td><td>NA</td><td>NA</td><td>?</td> | ||
</tr><tr><td>'Pure.DI Resolve<T>()'</td><td>136.3 ns</td><td>2.77 ns</td><td>4.48 ns</td><td>0.88</td><td>0.03</td><td>0.0198</td><td>-</td><td>344 B</td><td>1.00</td> | ||
</tr><tr><td>'Pure.DI Resolve(Type)'</td><td>137.9 ns</td><td>2.84 ns</td><td>4.66 ns</td><td>0.88</td><td>0.03</td><td>0.0198</td><td>-</td><td>344 B</td><td>1.00</td> | ||
</tr><tr><td>'Pure.DI composition root'</td><td>141.5 ns</td><td>2.69 ns</td><td>5.50 ns</td><td>0.92</td><td>0.05</td><td>0.0198</td><td>-</td><td>344 B</td><td>1.00</td> | ||
</tr><tr><td>'Hand Coded'</td><td>157.7 ns</td><td>3.24 ns</td><td>3.32 ns</td><td>1.00</td><td>0.00</td><td>0.0198</td><td>-</td><td>344 B</td><td>1.00</td> | ||
</tr><tr><td>'Microsoft DI'</td><td>189.1 ns</td><td>3.11 ns</td><td>2.60 ns</td><td>1.20</td><td>0.02</td><td>0.0272</td><td>-</td><td>472 B</td><td>1.37</td> | ||
</tr><tr><td>LightInject</td><td>290.2 ns</td><td>5.79 ns</td><td>5.42 ns</td><td>1.84</td><td>0.05</td><td>0.0496</td><td>-</td><td>856 B</td><td>2.49</td> | ||
</tr><tr><td>DryIoc</td><td>308.8 ns</td><td>6.25 ns</td><td>14.12 ns</td><td>1.92</td><td>0.08</td><td>0.0496</td><td>-</td><td>856 B</td><td>2.49</td> | ||
</tr><tr><td>Unity</td><td>7,874.1 ns</td><td>137.31 ns</td><td>128.44 ns</td><td>50.05</td><td>1.18</td><td>0.7935</td><td>-</td><td>13752 B</td><td>39.98</td> | ||
</tr><tr><td>Autofac</td><td>26,601.4 ns</td><td>213.84 ns</td><td>189.56 ns</td><td>168.63</td><td>4.20</td><td>1.6479</td><td>0.0610</td><td>28944 B</td><td>84.14</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
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,41 @@ | ||
<!DOCTYPE html> | ||
<html lang='en'> | ||
<head> | ||
<meta charset='utf-8' /> | ||
<title>Pure.DI.Benchmarks.Benchmarks.Singleton-20240413-091023</title> | ||
|
||
<style type="text/css"> | ||
table { border-collapse: collapse; display: block; width: 100%; overflow: auto; } | ||
td, th { padding: 6px 13px; border: 1px solid #ddd; text-align: right; } | ||
tr { background-color: #fff; border-top: 1px solid #ccc; } | ||
tr:nth-child(even) { background: #f8f8f8; } | ||
</style> | ||
</head> | ||
<body> | ||
<pre><code> | ||
BenchmarkDotNet v0.13.12, Ubuntu 20.04.6 LTS (Focal Fossa) | ||
Intel Xeon Platinum 8175M CPU 2.50GHz, 1 CPU, 2 logical cores and 1 physical core | ||
.NET SDK 8.0.201 | ||
[Host] : .NET 8.0.2 (8.0.224.6711), X64 RyuJIT AVX-512F+CD+BW+DQ+VL | ||
DefaultJob : .NET 8.0.2 (8.0.224.6711), X64 RyuJIT AVX-512F+CD+BW+DQ+VL | ||
</code></pre> | ||
<pre><code></code></pre> | ||
|
||
<table> | ||
<thead><tr><th>Method </th><th>Mean </th><th>Error </th><th>StdDev </th><th>Ratio</th><th>RatioSD</th><th>Gen0</th><th>Gen1</th><th>Allocated</th><th>Alloc Ratio</th> | ||
</tr> | ||
</thead><tbody><tr><td>'Hand Coded'</td><td>8.469 ns</td><td>0.2493 ns</td><td>0.4165 ns</td><td>1.00</td><td>0.00</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>'Pure.DI composition root'</td><td>9.506 ns</td><td>0.2733 ns</td><td>0.3648 ns</td><td>1.11</td><td>0.06</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>'Pure.DI Resolve<T>()'</td><td>12.508 ns</td><td>0.2986 ns</td><td>0.2793 ns</td><td>1.43</td><td>0.08</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>'Pure.DI Resolve(Type)'</td><td>12.572 ns</td><td>0.2674 ns</td><td>0.2501 ns</td><td>1.43</td><td>0.07</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>DryIoc</td><td>28.755 ns</td><td>0.2372 ns</td><td>0.2219 ns</td><td>3.28</td><td>0.15</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>'Simple Injector'</td><td>35.304 ns</td><td>0.2639 ns</td><td>0.2060 ns</td><td>3.99</td><td>0.19</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>'Microsoft DI'</td><td>39.436 ns</td><td>0.4113 ns</td><td>0.3435 ns</td><td>4.48</td><td>0.24</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>LightInject</td><td>910.508 ns</td><td>5.9297 ns</td><td>5.2565 ns</td><td>103.56</td><td>4.97</td><td>0.0010</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>Unity</td><td>7,927.580 ns</td><td>29.0347 ns</td><td>24.2453 ns</td><td>900.81</td><td>44.06</td><td>0.1831</td><td>-</td><td>3184 B</td><td>132.67</td> | ||
</tr><tr><td>Autofac</td><td>19,562.149 ns</td><td>236.3915 ns</td><td>209.5549 ns</td><td>2,224.36</td><td>94.37</td><td>1.3733</td><td>0.0305</td><td>24208 B</td><td>1,008.67</td> | ||
</tr><tr><td>'Castle Windsor'</td><td>31,009.123 ns</td><td>327.3126 ns</td><td>306.1684 ns</td><td>3,531.38</td><td>141.29</td><td>1.3428</td><td>-</td><td>23912 B</td><td>996.33</td> | ||
</tr><tr><td>Ninject</td><td>120,850.129 ns</td><td>2,359.7906 ns</td><td>3,532.0234 ns</td><td>14,228.15</td><td>605.72</td><td>4.2725</td><td>1.0986</td><td>74096 B</td><td>3,087.33</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<!DOCTYPE html> | ||
<html lang='en'> | ||
<head> | ||
<meta charset='utf-8' /> | ||
<title>Pure.DI.Benchmarks.Benchmarks.Transient-20240413-091543</title> | ||
|
||
<style type="text/css"> | ||
table { border-collapse: collapse; display: block; width: 100%; overflow: auto; } | ||
td, th { padding: 6px 13px; border: 1px solid #ddd; text-align: right; } | ||
tr { background-color: #fff; border-top: 1px solid #ccc; } | ||
tr:nth-child(even) { background: #f8f8f8; } | ||
</style> | ||
</head> | ||
<body> | ||
<pre><code> | ||
BenchmarkDotNet v0.13.12, Ubuntu 20.04.6 LTS (Focal Fossa) | ||
Intel Xeon Platinum 8175M CPU 2.50GHz, 1 CPU, 2 logical cores and 1 physical core | ||
.NET SDK 8.0.201 | ||
[Host] : .NET 8.0.2 (8.0.224.6711), X64 RyuJIT AVX-512F+CD+BW+DQ+VL | ||
DefaultJob : .NET 8.0.2 (8.0.224.6711), X64 RyuJIT AVX-512F+CD+BW+DQ+VL | ||
</code></pre> | ||
<pre><code></code></pre> | ||
|
||
<table> | ||
<thead><tr><th>Method </th><th>Mean </th><th>Error </th><th>StdDev </th><th>Ratio</th><th>RatioSD</th><th>Gen0</th><th>Gen1</th><th>Allocated</th><th>Alloc Ratio</th> | ||
</tr> | ||
</thead><tbody><tr><td>'Hand Coded'</td><td>8.300 ns</td><td>0.2275 ns</td><td>0.2017 ns</td><td>1.00</td><td>0.00</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>'Pure.DI composition root'</td><td>8.417 ns</td><td>0.2472 ns</td><td>0.2313 ns</td><td>1.02</td><td>0.04</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>'Pure.DI Resolve<T>()'</td><td>10.007 ns</td><td>0.2170 ns</td><td>0.1924 ns</td><td>1.21</td><td>0.03</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>'Pure.DI Resolve(Type)'</td><td>10.739 ns</td><td>0.2942 ns</td><td>0.4915 ns</td><td>1.29</td><td>0.06</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>LightInject</td><td>18.968 ns</td><td>0.4292 ns</td><td>0.3805 ns</td><td>2.29</td><td>0.07</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>'Microsoft DI'</td><td>24.761 ns</td><td>0.2356 ns</td><td>0.2089 ns</td><td>2.98</td><td>0.07</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>DryIoc</td><td>26.034 ns</td><td>0.3170 ns</td><td>0.2810 ns</td><td>3.14</td><td>0.06</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>'Simple Injector'</td><td>33.862 ns</td><td>0.4485 ns</td><td>0.3976 ns</td><td>4.08</td><td>0.11</td><td>0.0014</td><td>-</td><td>24 B</td><td>1.00</td> | ||
</tr><tr><td>Unity</td><td>11,055.904 ns</td><td>85.9931 ns</td><td>76.2306 ns</td><td>1,332.65</td><td>31.50</td><td>0.2899</td><td>-</td><td>5176 B</td><td>215.67</td> | ||
</tr><tr><td>Autofac</td><td>28,686.734 ns</td><td>523.7684 ns</td><td>464.3070 ns</td><td>3,458.02</td><td>103.75</td><td>1.9226</td><td>0.0916</td><td>33224 B</td><td>1,384.33</td> | ||
</tr><tr><td>'Castle Windsor'</td><td>57,113.574 ns</td><td>417.0749 ns</td><td>369.7260 ns</td><td>6,883.84</td><td>138.26</td><td>3.1128</td><td>-</td><td>54360 B</td><td>2,265.00</td> | ||
</tr><tr><td>Ninject</td><td>259,310.814 ns</td><td>5,082.3164 ns</td><td>5,438.0217 ns</td><td>31,238.77</td><td>1,101.53</td><td>7.3242</td><td>1.9531</td><td>131008 B</td><td>5,458.67</td> | ||
</tr></tbody></table> | ||
</body> | ||
</html> |
41 changes: 0 additions & 41 deletions
41
benchmarks/data/results/Pure.DI.Benchmarks.Benchmarks.Enum-report.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.