forked from serilog/serilog
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request serilog#981 from skomis-mm/less_alloc
PropertyValueConverter improvements
- Loading branch information
Showing
17 changed files
with
350 additions
and
151 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
``` ini | ||
|
||
BenchmarkDotNet=v0.10.6, OS=Windows 10 Redstone 1 (10.0.14393) | ||
Processor=Intel Core i7-4790 CPU 3.60GHz (Haswell), ProcessorCount=8 | ||
Frequency=3507500 Hz, Resolution=285.1033 ns, Timer=TSC | ||
[Host] : Clr 4.0.30319.42000, 32bit LegacyJIT-v4.7.2053.0 | ||
DefaultJob : Clr 4.0.30319.42000, 32bit LegacyJIT-v4.7.2053.0 | ||
|
||
|
||
``` | ||
| Method | Mean | Error | StdDev | Scaled | ScaledSD | Gen 0 | Allocated | | ||
|--------------------- |-------------:|-----------:|-----------:|-------:|---------:|-------:|----------:| | ||
| LogEmpty | 9.749 ns | 0.0346 ns | 0.0324 ns | 1.00 | 0.00 | - | 0 B | | ||
| LogEmptyWithEnricher | 103.460 ns | 0.1742 ns | 0.1629 ns | 10.61 | 0.04 | 0.0066 | 28 B | | ||
| LogScalar | 478.723 ns | 0.6996 ns | 0.6201 ns | 49.11 | 0.17 | 0.0591 | 248 B | | ||
| LogDictionary | 3,867.137 ns | 13.5751 ns | 12.6982 ns | 396.67 | 1.79 | 0.3128 | 1324 B | | ||
| LogSequence | 1,309.241 ns | 1.4345 ns | 1.3418 ns | 134.30 | 0.45 | 0.1144 | 484 B | | ||
| LogAnonymous | 6,128.421 ns | 11.3529 ns | 10.6195 ns | 628.62 | 2.28 | 0.4654 | 1960 B | |
19 changes: 19 additions & 0 deletions
19
results/netcoreapp1.1/AllocationsBenchmark-report-github.md
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,19 @@ | ||
``` ini | ||
|
||
BenchmarkDotNet=v0.10.6, OS=Windows 10 Redstone 1 (10.0.14393) | ||
Processor=Intel Core i7-4790 CPU 3.60GHz (Haswell), ProcessorCount=8 | ||
Frequency=3507500 Hz, Resolution=285.1033 ns, Timer=TSC | ||
dotnet cli version=2.0.0-preview1-005977 | ||
[Host] : .NET Core 4.6.25211.01, 64bit RyuJIT | ||
DefaultJob : .NET Core 4.6.25211.01, 64bit RyuJIT | ||
|
||
|
||
``` | ||
| Method | Mean | Error | StdDev | Scaled | ScaledSD | Gen 0 | Allocated | | ||
|--------------------- |-------------:|-----------:|-----------:|-------:|---------:|-------:|----------:| | ||
| LogEmpty | 8.652 ns | 0.0230 ns | 0.0215 ns | 1.00 | 0.00 | - | 0 B | | ||
| LogEmptyWithEnricher | 104.790 ns | 0.4970 ns | 0.4405 ns | 12.11 | 0.06 | 0.0132 | 56 B | | ||
| LogScalar | 432.424 ns | 0.6263 ns | 0.5858 ns | 49.98 | 0.14 | 0.1030 | 432 B | | ||
| LogDictionary | 3,887.068 ns | 4.4649 ns | 3.7284 ns | 449.26 | 1.16 | 0.5417 | 2296 B | | ||
| LogSequence | 1,428.896 ns | 3.6324 ns | 3.2200 ns | 165.15 | 0.53 | 0.2079 | 880 B | | ||
| LogAnonymous | 6,694.431 ns | 22.4848 ns | 21.0323 ns | 773.73 | 3.00 | 0.8392 | 3528 B | |
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
Oops, something went wrong.