[libcxx-commits] [libcxx] [libc++] Refactor __tuple_like and __pair_like (PR #85206)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 20 03:17:41 PDT 2024


philnik777 wrote:

> This is the first time I see this kind of output, and I think I am not able to interpret it properly. Where does that come from, is there any documentation or can you explain it to me?

You can get information about what the compiler is spending time on with `-ftime-trace`. You can get a visualization of that in chromium with `chrome://tracing/`. In this case it's just including `<__utility/pair.h>` (probably should have mentioned that) in C++23, which takes ~58ms, with 19ms spent on parsing `<__fwd/subrange.h>` and anything new it includes transitively.

> Sorry, but I kinda need that to properly understand (and quantify) what the benefit of this change is.

No problem.


https://github.com/llvm/llvm-project/pull/85206


More information about the libcxx-commits mailing list