[PATCH] D36492: [RFC][time-report] Add preprocessor timer

2017-08-10 Thread Michael Zolotukhin via Phabricator via cfe-commits
mzolotukhin added a comment. FWIW, I strongly support the idea of adding more detailed timers into the frontend. Thanks for working on it! I probably won't be very helpful in reviewing this code, but I'd appreciate if you CC me in the future patches. Thanks, Michael https://reviews.llvm.org/D

[PATCH] D36492: [RFC][time-report] Add preprocessor timer

2017-08-10 Thread Brian Gesiak via Phabricator via cfe-commits
modocache added a reviewer: vsk. modocache planned changes to this revision. modocache added a comment. Thanks for the feedback, @vsk, I really appreciate it! I have some other work done for this on my local checkout, but I was going a little bonkers working on it without knowing whether people

[PATCH] D36492: [RFC][time-report] Add preprocessor timer

2017-08-09 Thread Vedant Kumar via Phabricator via cfe-commits
vsk added subscribers: mzolotukhin, vsk. vsk added a comment. Thanks for working on this. Collecting better timing information in the frontend sgtm. It's cheap to do, and we can use the information to guide our efforts re: attacking the compile-time problem. Feel free to add me to future timing

[PATCH] D36492: [RFC][time-report] Add preprocessor timer

2017-08-08 Thread Brian Gesiak via Phabricator via cfe-commits
modocache created this revision. `gcc -ftime-report` provides a breakdown of how much time GCC spends doing preprocessing, parsing, template instantiation, and more: g++ -ftime-report foo.cpp Execution times (seconds) phase setup : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.00 ( 0%)