Skip to content

Stop using --strict with ASV benchmarks #5421

@trexfeathers

Description

@trexfeathers

The --strict parameter is being removed from ASV in the imminent v0.6 release (airspeed-velocity/asv#1205). We use this as parameter in our benchmark runs:

ASV_HARNESS = (
"run {posargs} --attribute rounds=4 --interleave-rounds --strict "
"--show-stderr"
)

The good news: the parameter is being removed because it is now the default behaviour

The bad news: we need to stop making calls to strict, and also work out how to modify the times when we don't call strict:

# C/SPerf benchmarks are much bigger than the CI ones:
# Don't fail the whole run if memory blows on 1 benchmark.
asv_command = asv_command.replace(" --strict", "")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions