There is a bug where if a network drive is in the recent items list and is not accessible it can cause the Win11 menu style to populate very slowly.
As a workaround for now disabling the option to show recent items on the menu should fix the problem.
We have this resolved for a future update.