Skip to content

Write tests for cache performance in fine-grained incremental mode #5002

Open

Description

@ilevkivskyi

We don't have good tests for end-to-end cache performance. It would be good to add tests that check that cache files written in a normal run with --cache-fine-grained are then successfully loaded in a subsequent daemon cold start. The emphasis here is on end-to-end, we have tests that use cache but they don't exactly emulate what happens "in real world". An additional argument for this is that code in build.py responsible for cache loading is quite complicated, so it is better to be sure that we don't break it.

Activity

  1. ilevkivskyi commented on May 4, 2018

    @ilevkivskyi
    MemberAuthor

    More ideas for cache tests: cache corruption tests, see #5004 (comment)

  2. removed their assignment
    on Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions