Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://chromedevtools.github.io/timeline-viewer/
View DevTools Timeline trace files from Google Drive wicked easily
https://chromedevtools.github.io/timeline-viewer/
Last synced: 25 days ago
JSON representation
View DevTools Timeline trace files from Google Drive wicked easily
- Host: GitHub
- URL: https://chromedevtools.github.io/timeline-viewer/
- Owner: ChromeDevTools
- License: other
- Created: 2016-08-29T23:25:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-14T21:28:21.000Z (9 months ago)
- Last Synced: 2024-04-14T05:09:15.767Z (8 months ago)
- Language: JavaScript
- Homepage: https://chromedevtools.github.io/timeline-viewer/
- Size: 2.64 MB
- Stars: 318
- Watchers: 13
- Forks: 46
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-chrome-devtools - DevTools Timeline Viewer - Share URLs of your timeline recordings. (DevTools tooling and ecosystem / Timeline, Tracing & Profiling)
README
# 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](https://chromedevtools.github.io/timeline-viewer/) to Drive via the typical Google OAuth flow and..
1. have `Edit` permission to the Google Drive fileTo revoke authorization, visit your Google security permissions.
---------------------
## Dev
Run:
- `yarn` or `npm i`
- `yarn run dev` or `npm run dev` - it will open site in browser and run server for you.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.
* Private file: http://localhost:8833/?loadTimelineFromURL=drive://0BzvYe7bYFf--aVhZM1RNR2N3cGc
## Updating DevTools Version
* Remote debug Chrome on Android (Dev channel or Canary).
* (Verify it works as expected)
* Open devtools on devtools
* Look at `location.href` and grab the hash out of it
* `copy(new URL(location.href).pathname.match(/@(\w+)/)[1])`
* Pop that into the hash in `docs/index.html`### DevTools / Chrome version compatibility
- chrome 79/80/+ (a9b97dff480d5c50843b5190c4d02373a0fc6d84) breaks in our setup. appears to be a decent amount of work to fix.
- chrome 78 (675968a8c657a3bd9c1c2c20c5d2935577bbc5e6 was base commit) is fine
- chrome 70 (81bf34f6bd3784247d7787d879821061c1b7484b) was fine until the removal of custom elements shipped and broke clientside in chrome 80I sometimes use the archive of https://chromereleases.googleblog.com/ to find a target chrome version.
## Testing
[Cypress](https://cypress.io) is used for integration testing.
To run test just invoke `yarn test`--------
### Known alternatives
- https://www.speedscope.app/ is quite good