I don’t have my M1 Mac Mini yet, but in looking at early reviews, as with a lot of photography Youtubers, they obsess about video editing performance, seeing as the are Youtubers, it’s what they do now, not so much photography. I saw this earlier in iPad Pro reviews (pre-M1) too with Luma Fusion performance outperforming large PC editing rigs with smooth 4K playback with lots of edits and export times by quite a way. That all comes down to optimised decoders in the Apple silicon, not a reflection of raw CPU or GPU in general.
And so the early M1 Mac Mini and MacBook reviews tested video performance endlessly too, with a few doing Lightroom export tests and very simple Photoshop tests, both before and after optimisation, but nothing too taxing. And of course all the synthetic benchmark tests.
The thing to remember here is that the M1 is Apple’s very first desktop CPU, and it is put into all the low-end Macs. None of the machines they replaced were particularly powerful, and all had integrated Intel Irix graphics. What has been amazing to many of the reviewers is that these low-end M1 Macs outperform earlier Pro Macs, even Mac Pros, in certain tasks not involving a dedicated GPU. GPU-heavy tasks, be it on a Mac or PC, always do far better on a system with a dedicated GPU than any integrated graphics chip, like the M1.
Again, the machines being replaced all had integrated graphics, like the M1, and in that context it is far superior to what it replaces (even the 2020 Intel 13” MacBook Pro only had Intel Irix graphics). The more powerful Pro chip(s) are about to be announced at WWDC, it is conceivable they might even do a separate GPU for thermal reasons.
So yeah, I’m not surprised your Ryzen PC outperforms the M1 with 8Gb in certain tasks. If you were doing a video editing and exporting task, it would likely be a different story.
And yes, 8Gb vs 16Gb of unified RAM could make a difference; in your PC (don’t remember what you said it’s specs were), your graphics card (if you have one) has it’s own dedicated RAM, separate from the 8Gb system RAM.
we shall soon see what Apple has planned for their Pro machines, replacing the current Intel Macs with a graphics card. That is bound to be a major point of differentiation with the M1.