Similarly as fastplotlib does it, it would be useful to add some diagnostic functionality. In the picture below, the frame rate and draw time:
The functionality used in fastplotlib seems to come from:
https://github.com/pygfx/wgpu-py/blob/main/wgpu/utils/imgui/stats.py