This is an archive of the discontinued LLVM Phabricator instance.

add time traces for AST serialization
ClosedPublic

Authored by Trass3r on Oct 11 2022, 3:42 AM.

Details

Summary

Fills gaps in the time trace when precompiled headers are created/loaded.

Diff Detail

Event Timeline

Trass3r created this revision.Oct 11 2022, 3:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 11 2022, 3:42 AM
Trass3r requested review of this revision.Oct 11 2022, 3:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 11 2022, 3:42 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Trass3r updated this revision to Diff 466921.Oct 11 2022, 2:13 PM
Trass3r retitled this revision from add time traces for loading PCH files to add time traces for AST serialization.
Trass3r edited the summary of this revision. (Show Details)
Trass3r added a reviewer: jansvoboda11.

rebased

This looks good to me in principle. It would be nice to have a simple test that shows what kind of output we get. Can you add that?

It looks like this:



There is a generic test for the TimeTraceScope functionality.
Other than that there's only this one I found in https://reviews.llvm.org/D135658#change-sRvmpoTP4Jas.

jansvoboda11 accepted this revision.Oct 18 2022, 9:01 AM

Thanks, LGTM.

This revision is now accepted and ready to land.Oct 18 2022, 9:01 AM

Thanks, could you also commit it? I don't have the rights.

Thanks, could you also commit it? I don't have the rights.

Sure. What name and email do you want me to associate with the commit?

This comment was removed by Trass3r.
This revision was automatically updated to reflect the committed changes.