Skip to content

Slow unit tests delay functional tests and leave CPU unused #32770

@maflcko

Description

@maflcko

When running the unit and functional tests under a sanitizer (as done in some CI tasks), the CPU usage could be better. Currently, one or two slow running unit tests idle along on a single CPU thread.

Can be seen in this graph, which shows an initial spike during compilation, then the slow unit tests, and finally the functional test CPU usage:
Image

It would be nice to somehow fix this. Options are:

  • Speed up the unit tests (not sure how easy this is, or if this is possible at all)
  • Run the functional tests along with the ctest-tests in parallel somehow
  • Something else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions