There are no settings in the VM that will help you with this. The workarounds are all Windows OS tweaks due to the interaction of Workstation, Hyper-V, and 12th gen Core CPUs. (and it's not clear really who's to blame, so don't automatically blame VMware. I believe Microsoft shoulders some of the blame here as well).
Try the following first:
Open a command prompt on Windows as administrator, and run the following command to disable power throttling on a VM (for some reason, Windows wants to run VM virtual CPUs on E-Cores, not P-Cores)
powercfg /powerthrottling disable /path "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx.exe"
If that doesn't work, you'll need to disable Windows' use of Hyper-V technology entirely in order to force the use of the VMware hypervisor and not Hyper-V:
Note that this precludes the use of WSL2 as WSL2 needs Hyper-V components.