hans added a comment. In D72703#1833018 <https://reviews.llvm.org/D72703#1833018>, @kimgr wrote:
> I just want to say that finding the correlation between token count and > compile time is a bit of a breakthrough! I assume the same correlation could also be found with lines of code, but I think tokens is a better dimension to measure since it's less likely to be gamed, and it also is also kind of the basic work unit that the compiler deals with. > Could you expose a flag for printing token count so users can run their own > analysis? Or does that already exist in baseline clang? It's easier to set a > maximum for a codebase if the distribution is known. I used this patch with -fmax-tokens 1 and scraped the output for my measurements. I would like to avoid adding a separate flag if we can avoid it. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D72703/new/ https://reviews.llvm.org/D72703 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits