Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Format Support Request: Chrome Trace Event Format #12

Open
hari387 opened this issue Sep 26, 2023 · 2 comments
Open

Format Support Request: Chrome Trace Event Format #12

hari387 opened this issue Sep 26, 2023 · 2 comments

Comments

@hari387
Copy link

hari387 commented Sep 26, 2023

Hi,
I'd like to request support for the chrome trace event format (documented here). One of the main reasons for this is that clang/clang++ has support for outputting this profiling format with the -ftime-trace flag (see here), which is useful when thinking about how to speedup builds, particularly in a C++ context. Currently, it's not too hard to upload these to https://perfetto.dev, but it would be much quicker, and quite probably better served with this terminal viewer instead.

@laixintao
Copy link
Owner

Hi! thanks for telling me this (I didn't know chrome trace event format before)

found an example picture here: https://www.chromium.org/developers/how-tos/trace-event-profiling-tool/

So do you mean rendering this part?

image

Looks like it is not a "flamegraph" but a tracing tiemline, like the timeline graph in chrome's developer tools. But I think we should be able to render it, like flamegraph ;D

@hari387
Copy link
Author

hari387 commented Sep 26, 2023

Yes, that's exactly what I mean, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants