Skip to content

Runner.respond uses join leading to slowness #1079

Description

@kasium

Runner.respond uses a join call of the whole buffer + the new content. We execute pytest over invoke and it can happen, that the pytest output is several hundred MB big. For each line of these, the join is executed leading to a slower and slower processing. For reference, 300MB takes about 2h to process.

Recommendation: as the join is only needed if watchers are used, it can be avoided if no watchers are attached

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