It is even worse, they compare a Ryzen 5800X vs a M1 here:
Ryzen 5800X vs. M1: Programming benchmarks via https://news.ycombinator.com/item?id=25481143
Nothing wrong with that kind of comparison. In fact, M1 is truly impressive in all those benchmarks. An entry level passively cooled machine can go toe to toe with a large desktop with twice as many cores? That’s unheard of.