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

Add documentation show how to use chrome://tracing #6

Open
y2kappa opened this issue Oct 19, 2020 · 3 comments
Open

Add documentation show how to use chrome://tracing #6

y2kappa opened this issue Oct 19, 2020 · 3 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@y2kappa
Copy link
Owner

y2kappa commented Oct 19, 2020

I only heard about this one month ago so I assume most people are unfamiliar. Documentation with gifs are welcome.

@y2kappa y2kappa added good first issue Good for newcomers help wanted Extra attention is needed labels Oct 19, 2020
@yonip23
Copy link
Contributor

yonip23 commented Oct 22, 2020

Why not generate a plot using https://github.com/milliams/plotlib or something similar?

@y2kappa
Copy link
Owner Author

y2kappa commented Oct 23, 2020

It's a good idea, I think we can add an output parameter of how you want to deliver it.

I'd like to keep chrome://tracing as an option for two reasons:

  1. For myy main use case, I can only print to console, I have no filesystem to save on - it's a docker container / aws lambda function.
  2. Also, chrome://tracing is pretty sweet, has a lot of built in stuff and interactivity. You can click on individual spans and it shows you the total duration, metadata, etc.

By the way, did you check chrome://tracing with this crate to see how it feels? What do you think a plot can do that chrome://tracing can't?

@yonip23
Copy link
Contributor

yonip23 commented Oct 23, 2020

Haven't tried chrome tracing yet, mainly bc I work with firefox... That's also why I don't know if plots have any advantage here. It's just a widely accepted way of viewing your data.

There is Python's Plotly library which is very rich and easy quite easy to work with, maybe it's a good idea to add a python script to this crate, something like ./visualize.py or something.

(Of course, in addition to chrome tracing, which sounds good)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants