Skip to content

refactor(perf-trace): embed devtools frontend from appspot#278

Merged
erickzhao merged 5 commits into
mainfrom
devtools-iframe
Nov 4, 2025
Merged

refactor(perf-trace): embed devtools frontend from appspot#278
erickzhao merged 5 commits into
mainfrom
devtools-iframe

Conversation

@erickzhao
Copy link
Copy Markdown
Member

@erickzhao erickzhao commented Nov 4, 2025

Thanks to some great upstream work from @samuelmaddock, we can now load performance traces to an instance of Chrome DevTools via the window.postMessage API.

See Sam's Chromium CLs:

This PR refactors the <DevtoolsView/> component to load traces from https://chrome-devtools-frontend.appspot.com/, and drops the devtools-frontend-prebuilt npm dependency (this should have the effect of dropping 20MB from our final bundle size).

@erickzhao erickzhao changed the title refactor(perftrace): embed devtools frontend from appspot refactor(perf-trace): embed devtools frontend from appspot Nov 4, 2025
@erickzhao erickzhao marked this pull request as ready for review November 4, 2025 03:02
@erickzhao erickzhao requested review from a team and samuelmaddock November 4, 2025 03:02
Copy link
Copy Markdown
Contributor

@samuelmaddock samuelmaddock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! I think this is the last use of oop: if we wanted to clean that up too.

@erickzhao erickzhao merged commit 7504641 into main Nov 4, 2025
6 checks passed
@erickzhao erickzhao deleted the devtools-iframe branch November 4, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants