[libcxx-commits] [PATCH] D104980: [libcxx][NFC] replaces `<utility>` includes with specific headers

Hans Wennborg via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 20 09:08:10 PDT 2021


hans added a comment.

> The numbers we're looking at are public, and can be found here: https://commondatastorage.googleapis.com/chromium-browser-clang/include-analysis.html That doesn't measure compile time, but compiler input size. In other measurements we've seen a strong correlation between compiler input size and compile time. It's not surprising that libc++ headers are on top since they're included everywhere, but that also means there's a high chance slimmer libc++ headers would have measurable impact for us.

The same analysis for an LLVM build is available here: https://commondatastorage.googleapis.com/chromium-browser-clang/llvm-include-analysis.html though that uses libstdc++ (and hasn't been updated in a while). The standard headers show up on top, and I assume that's common across most c++ projects.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104980



More information about the libcxx-commits mailing list