You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw all examples that run in console app by calling :
BenchmarkRunner.Run();
can call this code in webapi? can call BenchmarkRunner into asp.net core weapi application? note:
I need to benchmark my classes that have multiple inject.
with console app my IOC injection corrupted!
The text was updated successfully, but these errors were encountered:
BenchmarkDotNet was designed for very accurate micro-benchmarking. All the metrics that we report are specific to the process which is executing the benchmark. The architecture does not have a concept of multiple processes like client and server. So we can tell you have long it takes to send a web request, but we can't report how much memory the server has allocated to handle it.
Most probably https://github.com/aspnet/Benchmarks/ is what you are looking for. It has a client-server concept and can track metrics for both. And it was designed to run web server benchmarks.
Since there is nothing actionable on our side here, I am closing the issue.
I saw all examples that run in console app by calling :
BenchmarkRunner.Run();
can call this code in webapi? can call BenchmarkRunner into asp.net core weapi application?
note:
I need to benchmark my classes that have multiple inject.
with console app my IOC injection corrupted!
The text was updated successfully, but these errors were encountered: