Skip to content
Discussion options

You must be logged in to vote

I'm guessing you're running with MacOS? :). I observed a lot of aggressive reordering of commands there, and that sometimes leaves the timer queries in weird spots causing the kind of thing you're describing, it's quite nasty. Wgpu is partially to blame for that but it's also really hard to do this without making things slower. Generally, the pass scopes are way more to trust than other scopes, especially on MacOS where they map directly onto a Metal concept.
Another reason why this could be happening is just inaccuracy of the counter.

I think wgpu-profiler should do a better job at documenting these pitfalls.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rchiaramo
Comment options

@Wumpf
Comment options

Wumpf Jul 8, 2025
Maintainer

Answer selected by Wumpf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants