You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a mechanism for the frontend to automatically refresh when the backend server restarts in dev mode.
- Adds `/_/dev/version` endpoint to backend.
- Adds `dev_mode` flag to `SkPerfConfig`.
- Implements polling in `perf-scaffold-sk` to check for version changes in dev mode.
- Updates demos and tests to include `dev_mode: false` in mock config.
How to run locally:
1. Run ./perf/run_perfserver.sh --instance chrome
2. Open http://<hostname>:8002
3. Edit files in perf/ (e.g. perf/modules/perf-scaffold-sk/perf-scaffold-sk.ts)
4. The server will rebuild and restart automatically.
5. The browser page will refresh automatically once the server is back up.
Change-Id: I0639f3a92525a029a42a0a1e5b264fa2468593fb
Reviewed-on: https://skia-review.googlesource.com/c/buildbot/+/1101558
Reviewed-by: Farid (Mojtaba) Faridzad <[email protected]>
Commit-Queue: Tony Seaward <[email protected]>
0 commit comments