sholloway / agents-playground

MIT License
4 stars 0 forks source link

GPU Profiling #108

Open sholloway opened 9 months ago

sholloway commented 9 months ago

I need a profiling solution for inspecting the performance of WebGPU on the M1 Mac chipset.

Profiler Notes
Scalene The README says that it only supports NVIDIA GPUs but Issue 302 says it has been added. Turns out it was disabled because ioreg doesn't give per process information.

Notes: There is a command on Mac OS X called ioreg that may do the trick, specifically this invocation:

ioreg -r -d 1 -w 0 -c "IOAccelerator"

This outputs JSON.

There is an XCode Metal Debugger. https://developer.apple.com/documentation/xcode/optimizing-gpu-performance/

Someone has been working on a Rust profiler. https://github.com/wumpf/wgpu-profiler

WonderInteractive is building a profiler. https://github.com/WonderInteractive/WebGPUVision