rustdoc icon indicating copy to clipboard operation
rustdoc copied to clipboard

Source tests could reuse analysis data

Open euclio opened this issue 7 years ago • 3 comments

If the tests haven't changed, we could save some work by not regenerating the analysis data.

euclio avatar Oct 13 '17 20:10 euclio

Hmmm... cargo runs tests in parallel so it might be a bit harder to cache data, but this would be a good improvement.

mgattozzi avatar Oct 13 '17 23:10 mgattozzi

I don't think the parallelism would be a problem because the analysis data is per-test.

euclio avatar Oct 14 '17 03:10 euclio

Ah I misunderstood how it worked. Thanks for clearing that up

mgattozzi avatar Oct 15 '17 18:10 mgattozzi