Skip to content

BenchmarkRunner Run with args #1530

Closed
Closed
@Wraith2

Description

@Wraith2

The documentation for using CoreRun at https://benchmarkdotnet.org/articles/configs/toolchains.html#corerun fails to mention that you have to use an overload of the runner that is passed the args in order for it to pickup and use the corerun path. This may appear obvious but it wasn't. The documentation could be improved here to have a standalone example.

The only way to pass args seems to be to use BenchmarkSwitcher but since I have a single benchmark and don't want to switch I used BenmarkRunner which can't take args. So, can we have an overload of BenchmarkRunner.Run which takes args?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions