Skip to content

CI: run non-production-build non-coverage jobs with -O0 and/or --compile=min for a speedup #59

@nsajko

Description

@nsajko

Using --compile=min about halves the run time of the test suite, as far as I remember. -O0 is something else to consider.
Xref julia-actions/julia-runtest#47.

These compiler options shouldn't be used when testing a production build (because they inhibit optimization, constant-folding, introduce additional allocations which we test for, etc.) or a code-coverage-enabled build (because Julia code coverage is currently not compatible with these compiler options, xref JuliaLang/julia#37059), but I guess we could use -O0 --compile=min for most jobs to save CPU time.

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