Skip to content

run BenchmarkDotNet in asp.net core webapi application type #1296

@namnik

Description

@namnik

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions