ChromeDevTools / timeline-viewer

View DevTools Timeline trace files from Google Drive wicked easily
https://chromedevtools.github.io/timeline-viewer/
Other
323 stars 43 forks source link

DevTools Timeline Viewer

Shareable URLs for your Chrome DevTools performance traces.

Works with GitHub gists, public GitHub URLs, some dropbox public URLs, public files on Google Drive, and (after authentication) private files on Google Drive.

You can also drag and drop a Profile-*.json file onto the webapp.


Google Drive integration

Once authorized, you'll see Timeline Viewer as a registered Google Drive viewer when opening .json files. Once you select the Timeline Viewer, it will open in a new tab and load the timeline asset from your Drive.

You can share this URL with any users who have both:

  1. authorized Timeline Viewer to Drive via the typical Google OAuth flow and..
  2. have Edit permission to the Google Drive file

To revoke authorization, visit your Google security permissions.


Dev

Run:

Master branch's docs folder is what's published to gh-pages, to simplify deployment.

Auth keys have localhost:8833 whitelisted, so you can hack there.

Updating DevTools Version

DevTools / Chrome version compatibility

I sometimes use the archive of https://chromereleases.googleblog.com/ to find a target chrome version.

Testing

Cypress is used for integration testing. To run test just invoke yarn test


Known alternatives