This is one reason AWS Fargate is so good. No, it isn’t developer friendly, but it gives you performance that actually matches the CPU allocation while still abstracting the VMs.
It doesn’t, actually, because you have zero guarantees on what generation of hardware you’ll end up on from deployment to deployment. Haswell this time, Ice Lake next time. What fun!