Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Issue with timestamp queries with multi-pass

Đang mở
#480 7 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
performance

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
TypeScript
Star
2.2k
Fork
357
Merge trung bình
18 giờ 40 phút
Pull request đã merge (30 ngày)
1

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của webgpu/webgpu-samples

Tất cả issue của webgpu/webgpu-samples

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.