Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Issue with timestamp queries with multi-pass

Aperta
#480 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
performance

Direzione di ricerca

Start by locating the timestamp query example and its TimestampQueryManager, then reproduce measurements for one pass and for two passes recorded from the same command encoder. Trace how timestamps are placed and how multi-pass results are associated with passes. Done means each pass reports its own consistent timing in both scenarios.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi,

I encountered an issue with the TimestampQueryManager while working with the timestamp query example. It functions correctly when measuring a single pass. However, when multiple passes are measured from the same command encoder, the timing results become inconsistent.

For example, in my project, I have two passes:

  • One pass takes approximately 5ms when measured individually.
  • The other pass takes 0.3ms when measured individually.

However, when both passes are measured simultaneously, the results indicate that both passes take around 5ms, which is unexpected unless perhaps I am missing something?

@greggman Any idea what could cause this?

Lingua principale
TypeScript
Stelle
2.2k
Fork
357
Merge medio
18h 40m
PR unite (30g)
1

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di webgpu/webgpu-samples

Tutte le issue di webgpu/webgpu-samples

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.