windows – Slow bash under WSL

I have a Windows 10 system with WSL v2 Ubuntu enabled. If I run bash from Windows to call a programm installed on Linux, it is very slow (500-800ms) for even a trivial command.

I used Measure-Command in PowerShell to time it:

PS C:UsersthomaDesktop> Measure-Command { bash -c "echo Hello" }

...
TotalMilliseconds : 655,8447

In comparision cmd takes a fraction:

PS C:UsersthomaDesktop> Measure-Command { cmd /c echo Hello }

...
TotalMilliseconds : 17,5062

Any ideas why this is so slow? I deactivated any anti virus software.