Get the latest tech news
GPU profiling for WebGPU workloads on Windows with Chrome
Fast Forward If you’ve read the article already and/or want to jump straight to profiling, go to the TL;DR section. Context WebGPU is not a native graphics API, as in no hardware vendor provides specific drivers for their GPUs targeting this API. Instead, WebGPU runtimes like web browsers must implement backends for WebGPU using modern native APIs such as DirectX12, Vulkan or Metal. Those APIs are widely used, in particular for video games, and hardware vendors have developed great profiling tools for them.
All you need to do is download a DLL I wrote and put it in the correct location to get both AMD’s Radeon GPU Profiler and Nvidia’s Nsight to work! When the Radeon Developer Panel is open, connected and has the Profiling feature selected, any DirectX12, Vulkan, OpenCL or HIP application that you launch from now on will be automatically detected and attached to. So open Nsight, click the connect button in the top left corner and select GPU Trace Profiler from the Activity tab.
Or read this on Hacker News