Skip to content

Make priming run only on workspace reload #9922

@lnicola

Description

@lnicola

Seems that our priming caching infra is indeed at least confusing: #9704 (comment)

@jonas-schievink I wonder if you see some quick wins there? One reasonable option might be to only run cache priming on configuration change (that is, when we go non-quiescent -> quiescent). That's a bit tricky to code, because priming might get interrupted by edits, and we should re-run it in that case, but we still want to not re-run it when it completes.

Another option is to make salsa internally-parallel and just get rid of cache priming :o)

Originally posted by @matklad in #9564 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-perfperformance issuesBroken WindowBugs / technical debt to be addressed immediatelyS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions