timeline-viewer
timeline-viewer copied to clipboard
Add the ability to compile timeline-viewer to an offline static applicaiton
Then publish this tool to npm,
I've been thinking about refactoring it a bit, like https://github.com/ChromeDevTools/timeline-viewer/pull/46 But we need more activity on this project. Sam, do you wanna collaborate?
@samccone what's the ideal user flow user?
npm install -g view-trace ... view-trace awesome-trace.DDMMYYYY.json
This opens up a webpage in your default browser, etc?
oh that would be very cool, another (useful for me) option would be
view-trace MY_TRACE.json --save
would save a MY_TRACE.html file that could be shared directly to view the given trace without having to download anything from the internet.
The reason why this is useful for us to because we want to generate trace files as part of a build process so that folks can look at the breakdown in time by directly clicking the "processed" trace file.
Thanks!