vsapsai added a comment.

In D109632#3076648 <https://reviews.llvm.org/D109632#3076648>, @rmaz wrote:

> In D109632#3076586 <https://reviews.llvm.org/D109632#3076586>, @vsapsai wrote:
>
>> I'm curious to get the results for an empty module cache because clean 
>> builds are also important for us.
>
> I should measure this too. What would you suggest for the approach, to clean 
> the module cache before each build, retry and average? How much weight should 
> be given to the clean vs populated module cache numbers?

I am compiling just a single file and before each compilation I

1. Delete ModuleCache.noindex
2. Create ModuleCache.noindex directory
3. Create ModuleCache.noindex/Session.modulevalidation file

Then retry multiple times and average. Given my experience, calculating 
standard deviation can be useful too.

I'm wondering what your numbers will be but for me I think they are fairly 
meaningless due to high deviation. That's why I don't think it's worth 
assigning any weight to the clean module cache build (at least for individual 
files).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109632/new/

https://reviews.llvm.org/D109632

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to