Details
- Reviewers
kadircet - Commits
- rG9b88a190b42a: [clangd] Add CSV export for trace metrics
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Thanks, LGTM!
clang-tools-extra/clangd/support/Trace.cpp | ||
---|---|---|
210 | do we ever expect to have any of \r \n , " in a label? I think it would be OK to just assert notNeedsQuote on Label. Up to you though. | |
214 | unused var | |
215 | acquire Mu before printing ? | |
221 | why not use integers instead? | |
251 | what are the benefits for making these absolute apart from being able to merge streams coming from different runs? This would help decrease output size only by a couple percents though, so not that important. Just wondering if there are any other reasons. | |
clang-tools-extra/clangd/unittests/support/TraceTests.cpp | ||
183 | nit: maybe have a getLines() in the fixture. |
clang-tools-extra/clangd/support/Trace.cpp | ||
---|---|---|
210 | I don't think it's terribly likely but I can certainly imagine:
I was torn between:
Chose A because it's pretty short, and I wrote a test :-) | |
251 | Yeah no good reason I think. Removed. |
This broke tests on Windows: http://45.33.8.238/win/15539/step_9.txt
Please take a look, and revert if it takes a while to investigate.
(I'll note that the presubmit bot now has a win/msvc bot that failed compile and reported this on this review before it got merged: https://reviews.llvm.org/B56290 . the bot i linked to builds with clang. i'm guessing the msvc bot would also fail tests once the compile is fixed there.)
do we ever expect to have any of \r \n , " in a label? I think it would be OK to just assert notNeedsQuote on Label.
Up to you though.