Yes. You need to go to server class chips (eg. threadripper) before beating the raw multi-core performance of a top-spec M4 Max in a Macbook pro, and the battery life is still crazy good!
EDIT: Also, I know the code in the link is awful; the point is doing a 1:1 comparison between the architectures.
[0]: https://gist.github.com/stephanGarland/f6b7a13585c0caf9eb64b...