wgpu-native
wgpu-native copied to clipboard
WSL2: wgpuDeviceCreateBuffer extremely slow in v24
There is some measurements taken on native win11 and wsl2 with 1000 buffers creation per frame:
== WSL2 ==
create buffers v19: 673 FPS
create buffers v24: 3 FPS <==== ???
== Windows ==
create buffers v19: 160 FPS
create buffers v24: 500 FPS
As you can see on native windows platform we have a nice performance boost. But in WSL2 (same equipment) we can see perf drop for v24 in comparing with v19
I'm not sure what there is really to do about this - WSL's GPU support is complicated and it could be many different layers. Could you do some profiling to figure out where the issues are?