These are the changes to each version that has been released on the official NuGet Gallery (Common) and NuGet Gallery (MVC).
- Update nuget-dependencies for test project
- Add feature: allows to get PerformanceMeter of concrete class using DI with
RegisterPerformanceMeterScope
option setted to true (by default is true)
- Add feature: allows to iterate executing Actions with
iterations
parameter inStart
extension methods - Update nuget-dependencies
- Add feature: allows to to get the performance measurements results using the built-in DI
- Add feature: possible to measure the performance of methods (actions) in an AspNetCore MVC application using the special
WatchingPerformanceAttribute
attribute, as well as configure the methods performance watching for the controllers inStartup.cs
- Add code refactoring
- Replace all
Task
byValueTask
- Add
Unchase.FluentPerformanceMeter.TestWebAPI31
(.NET Core 3.1 WebApi example project) - Add
Interlocked.CompareExchange
for incrementing and decrementing calls counter
- Add xml-comments to nuget packages
- Add
HandleException
toPerformanceDiagnosticObserver
class - Add
GetExceptionHandler
andGetDefaultExceptionHandler
methods toPerformanceMeter
class
BREAKING CHANGES:
- Rename
PerformanceClassDiagnosticObserver
toPerformanceDiagnosticObserver
- Should use
services.AddPerformanceDiagnosticObserver<MeasurableClass>();
instead ofservices.AddPerformanceDiagnosticObserver<PerformanceClassDiagnosticObserver<MeasurableClass>>();
inConfigureServices
method inStartup.cs
- Add
TryAddCustomData
method intoPerformanceMeter
class - Add
AddMethodArgumentsToCustomDataAttribute
attribute for adding arguments to measurement custom data withDiagnosticSource
- Add
GetCustomData
method intoPerformanceMeter
andPerformanceInfoStep
classes
[x] Add Unchase.FluentPerformanceMeter.AspNetCore.Mvc
project that allows to observe method's performance measurement with DiagnosticSource
in AspNetCore project
- Add more method overloads (with Action and Func parameter) for
PerformanceMeter<TClass>.WatchingMethod
and extension methodPerformanceMeter<TClass>.StartWatching
- Release version of
Unchase Fluent Performance Meter
NuGet package on the official NuGet Gallery