Skip to content

Inspector: Add frame timeline and group passes by name. - #35705

Open
sunag wants to merge 6 commits into
mrdoob:devfrom
sunag:dev-inspector-frame
Open

sunag wants to merge 6 commits into
mrdoob:devfrom
sunag:dev-inspector-frame

Conversation

@sunag

@sunag sunag commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Related issue: #35687

Description

Adds a frame timeline to the Frame Stats list of the Performance tab and groups the passes of effects by name. Inspired by #35687, but the timeline is a column of the list instead of a separate chart, so it follows the rows as they are expanded or collapsed.

image -

@bhouston My idea seemed to have fundamental differences, so I decided to create a separate PR. I think the this design is more unified and easier to understand.

@sunag sunag added this to the r188 milestone Nov 25, 2026
@sunag
sunag marked this pull request as ready for review November 25, 2026 02:00
@bhouston

bhouston commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

It is amazing! What does the blue background rows means?

Is there a reason to keep "Frame Stats" row if it is exactly the same numbers as "Render Pipeline"?

The "Frame Stats" row is really weird, because it is like a "Section" header, but the row headers are above it.

@sunag

sunag commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator Author

What does the blue background rows means?

FPS, I aligned the text color with the colors of the charts.

Is there a reason to keep "Frame Stats" row if it is exactly the same numbers as "Render Pipeline"?

I had forgotten about the timeline in the frame state, maybe it makes more sense now after this commit:
Add the timeline to the Frame Stats row.

I think it should be necessary because not all use cases rely on the Render Pipeline API.

Example: webgpu_compute_particles

image

Example: webgpu_camera

image

@bhouston

Copy link
Copy Markdown
Contributor

I love this so much! Can not wait for it to get released.

From SSR Stochastic:
Screenshot 2026-11-25 at 12 18 23 PM

This branch has not been deployed

No deployments
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