The query-side counterpart of Brighter
Full Changelog: https://github.com/BrighterCommand/Darker/compare/4.0.0...4.0.1
Support .NET 8 and .NET 6
Full Changelog: https://github.com/BrighterCommand/Darker/compare/3.0.0...4.0.0
Removed LibLog and replaced it with ILogger from Microsoft.Extensions.Logging. You just have to make sure ILogger has been registered which happens automatically in aspnetcore.
Full Changelog: https://github.com/BrighterCommand/Darker/compare/2.0.79...3.0.0
Full Changelog: https://github.com/BrighterCommand/Darker/compare/2.0.78...2.0.79
services.AddDarker(options =>
{
//EFCore by default registers Context as scoped, which forces the QueryProcessorLifetime to also be scoped
options.QueryProcessorLifetime = ServiceLifetime.Scoped;
})
BenchmarkDotNet=v0.11.4, OS=Windows 8.1 (6.3.9600.0), VM=Hyper-V
Intel Xeon CPU E5-2697 v3 2.60GHz, 1 CPU, 2 logical and 2 physical cores
.NET Core SDK=2.2.103
[Host] : .NET Core 2.2.1 (CoreCLR 4.6.27207.03, CoreFX 4.6.27207.03), 64bit RyuJIT
DefaultJob : .NET Core 2.2.1 (CoreCLR 4.6.27207.03, CoreFX 4.6.27207.03), 64bit RyuJIT
Method | Mean | Error | StdDev | Median |
---|---|---|---|---|
BasicSyncQuery | 4.714 us | 0.2423 us | 0.7107 us | 4.674 us |
BasicAsyncQuery | 4.938 us | 0.3600 us | 1.0615 us | 4.569 us |
Notable changes:
net452
and net461
Benchmarks
BenchmarkDotNet=v0.10.9, OS=Windows 8.1 (6.3.9600)
Processor=Intel Xeon CPU E5-2697 v3 2.60GHz, ProcessorCount=2
.NET Core SDK=2.0.0
[Host] : .NET Core 2.0.0 (Framework 4.6.00001.0), 64bit RyuJIT
DefaultJob : .NET Core 2.0.0 (Framework 4.6.00001.0), 64bit RyuJIT
Method | Mean | Error | StdDev |
---|---|---|---|
BasicSyncQuery | 3.900 us | 0.0173 us | 0.0153 us |
BasicAsyncQuery | 4.010 us | 0.0211 us | 0.0176 us |
Notable changes:
PipelineBuilder.Dispose
.System.Dynamic.Runtime
.System.Reflection.TypeExtensions
only in netstandard1.3
.LIBLOG_PORTABLE
only in netstandard
< 2.0
.Benchmarks
BenchmarkDotNet=v0.10.9, OS=Windows 8.1 (6.3.9600)
Processor=Intel Xeon CPU E5-2697 v3 2.60GHz, ProcessorCount=2
.NET Core SDK=2.0.0
[Host] : .NET Core 2.0.0 (Framework 4.6.00001.0), 64bit RyuJIT
DefaultJob : .NET Core 2.0.0 (Framework 4.6.00001.0), 64bit RyuJIT
Method | Mean | Error | StdDev | Median |
---|---|---|---|---|
BasicSyncQuery | 3.857 us | 0.0772 us | 0.1612 us | 3.775 us |
BasicAsyncQuery | 4.106 us | 0.0774 us | 0.0828 us | 4.099 us |
The first stable Darker release 🎉 🎂
Notable changes:
Paramore.Darker.AspNetCore
.Release()
method to handler factories and call it after pipeline executionBenchmarks
BenchmarkDotNet=v0.10.9, OS=Windows 8.1 (6.3.9600)
Processor=Intel Xeon CPU E5-2680 v3 2.50GHz, ProcessorCount=2
.NET Core SDK=2.0.0
[Host] : .NET Core 2.0.0 (Framework 4.6.00001.0), 64bit RyuJIT
DefaultJob : .NET Core 2.0.0 (Framework 4.6.00001.0), 64bit RyuJIT
Method | Mean | Error | StdDev |
---|---|---|---|
BasicSyncQuery | 4.210 us | 0.0469 us | 0.0416 us |
BasicAsyncQuery | 4.366 us | 0.0863 us | 0.0807 us |