-
Hello, I not so familiar with Rust and looking for profiler for compute.toys. Can I get timestamps for each compute stage? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Anyways, for the more general question whether this crate works with WebGPU: "Yes, it should, but" |
Beta Was this translation helpful? Give feedback.
I don't quite understand how you'd use a Rust crate on the compute.toys website?Anyways, for the more general question whether this crate works with WebGPU: "Yes, it should, but"
The big issue is that right now you need to change a browser setting to enable timestamps. According to this website you need to start Chrome with
--disable-dawn-features=disallow_unsafe_apis
. The WebGPU spec generally does not require the timestamp feature to be available, so there is no general guarantee that timings can be extracted.