Skip to content

Per-iteration setup? #32

@achingbrain

Description

@achingbrain

Is it possible to do untimed setup before each iteration of a task? I've seen the setup option, but it only gets run before each task that is .added to the benchmark suite rather than each time the task function is executed.

In my benchmarks I need to set up test data each time but I don't want this setup to impact the reported timings.

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