My 7 year old desktop goes toe-to-toe with my top of the line MacBook Pro from 2020 and in almost all benchmarks crushes it.
https://cpu.userbenchmark.com/Compare/Intel-Core-i7-4930K-vs...
on the other hand, your mentioned 1065G7 is a 15w processor that doesn't really represent what a laptop processor can do in 2019/2020. laptop processors like i7-10875H would be a far better apple-to-apple comparison in case you still want to make your claims above. the reality here is that at much lower power draw and thermal envelope (45w vs 130w), laptop processor like 10875H would crush 4930k in both single core and multi core settings.
The much older CPU in the MBP has a much faster base clock of 2.4GHz vs 1.3GHz in the XPS. What I find frustrating is that the XPS will throttle down to base clocks for any workload sustaining about 10 seconds, even if the temperature is reasonable, e.g. 50C.
In Windows I can work around this a little using ThrottleStop but I'm primarily a Linux user and haven't found a reliable way to bypass Intel's turbo limits with my Ice Lake CPU. Linux also has annoying bugs where the CPU will limit itself to base clock when connected to AC but then turbo up to 4.1GHz when the AC is unplugged, baffling.
Glad to hear about your positive results with m1, it's for sure a purchase I'll be making in 2021.
I had got same issue with my dell before, it caused by trouble with charger(I have replaced it 3 times). I actually get a lot of power issue with dell laptop, my an other dell can't fall to deep sleep. I won't pick a dell anymore >:< .
I got my m1 MacBook Pro 16GB yesterday and was pretty confused to find that Rust compilation felt faster than the desktop. To go from recent Intel laptops taking two to three times longer to compile Rust than my budget desktop despite the laptops' whiny fans and extreme heat, to having my desktop be sightly outclassed by an ice cold laptop on battery (which got at least 15 hours of use, including said compiling, with no need to charge) is a world changer. I can’t remember the last time a laptop was this close to desktop performance for my everyday workflow.
Now that I think about it, I haven’t even tried optimising compile times on the MacBook like I usually do with Rust projects. My desktop would have been running lld at least to make its compilation significantly faster, and the MacBook more than kept up in spite of the handicap.