Skip to content

[Proposal] Add "SetUp" method #6

@Mart-Bogdan

Description

@Mart-Bogdan

I'd like to add method for user to specify callback to clan resources between runs.

            Script.Of(
                Tuple.Create("sumLinq",   sumLinq),
                Tuple.Create("sumSqLinq", sumSqLinq),
                Tuple.Create("sumSqEvensLinq", sumSqEvenLinq),
                Tuple.Create("cartLinq", cartLinq))
                .SetUp(()=>collection.Reset())
                .RunAll();

Perhaps different methods to run between differnt benchmarks and runs of single Benchmark.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions