Skip to content

feat: replace the launch profiler with the Inspector's Performance tab - #2500

Open
kpal81xd wants to merge 1 commit into
mainfrom
feat/launch-inspector-profiler
Open

kpal81xd wants to merge 1 commit into
mainfrom
feat/launch-inspector-profiler

Conversation

@kpal81xd

@kpal81xd kpal81xd commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #2461

What's Changed

  • Updates @playcanvas/inspector to 0.5.0.
  • The Launch menu's Profiler option now opens the Inspector on its Performance tab, recording from before the first frame, so the Startup entry and the Loading section cover the load. It still launches with ?profile=true and the profiler engine build, so old URLs and the MCP profiler option keep working.
  • Removes the Launch page's own profiler (src/launch/tools/, its styles, and the tools:frame:field:add / tools:frame:field:value events). Custom fields now go through app.stats.user, shown in the Inspector's Counters section.
  • Like the Inspector option, Profiler needs Engine 2.23 or later. On older engines the app runs without a panel and logs a warning; the tooltip says so.
  • The Inspector has no option to open a tab yet, so the Launch page switches to Performance through its private _setTab. If that changes upstream, recording still starts and the panel opens on another tab.

Known: the Inspector logs ResizeObserver loop completed with undelivered notifications once to the launch page's error console when it opens on the Performance tab. This also happens with the Inspector option alone when Performance was the last tab used, and is to be fixed in the Inspector.

User Manual: playcanvas/developer-site#1339, replacing the Profiler page with Inspector Performance.

Smoke Test

  1. Tick Profiler in the Launch menu and launch a project on Engine 2.23 or later. The Inspector opens on Performance, already recording, with a Startup entry for the load.
  2. Open a saved launch URL with ?profile=true. The same Inspector view opens.
  3. Untick Profiler, tick Inspector and launch. The Inspector opens, not recording, and the old profiler overlay does not appear.
  4. Launch a project on an engine older than 2.23 with Profiler ticked. The app runs without a panel.

Checks

@vercel

vercel Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
editor Ready Ready Preview Nov 10, 2026 11:54am UTC

Request Review

This branch was successfully deployed

1 active deployment
dev — 65ccfd6d Deployed Nov 10, 2026 by kpal81xd via Test Suite #1022
Preview — 65ccfd6d Deployed Nov 10, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: launch tab enhancement New feature or request release: next minor Ticket marked for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the Launch page to @playcanvas/inspector 0.4.0, and consider retiring its profiler

1 participant