Skip to content

Investigate CI performance #7318

@ulope

Description

@ulope

Problem Definition

In the last couple of months our CI performance has noticeably decreased.
The current average workflow runtime seems to be 20+ minutes.

Ideally we want to return to the the 10 - 15 min range.

Things to investigate:

  • Where is time being spent?
    • Workspace up-/download
      • This seems relatively slow esp. compared to cache
      • Maybe move some files (e.g. python venv) to cache and only keep config / setting in workspace
    • Caching (is it working as intended?)
  • Are we being throttled by concurrency limits? (Conversation with Circle @karlb @czepluch)
  • Can we improve test run-time by further parallelization? (diminishing returns due to spin up overhead)
  • Can the integration tests be optimized?
    E.g.:
    • Possibility to not restart eth node / synapse / etc. for every test
    • Do the contracts have to be deployed for every test?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions