Skip to content

Randomization of benchmark's Arguments #2314

@MineCake147E

Description

@MineCake147E

Often in benchmarks, the same value is given to the same argument of the same function over and over again in succession, but for some functions, this is almost never the case in practice.
Randomizing the order of argument values given to the same function in repeated calls can be useful in determining the performance impact of the order in which they are given.
Therefore, it would be nice to have an Attribute that specifies a list of argument values to be given in a ArgumentsSourceAttribute-like fashion, and randomly gives values to arguments from that list at each iteration.

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