I don't know what "rating" you are using. The i3-12100 is nowhere near those figures on Geekbench 6, for example, but around 2300/7700. The 5825U is around 1900/7000 which is a little lower but you wouldn't notice without a stopwatch.
So woud the Mini really be as powerful as our desktop ?
Well, why not?
Cooling is the main problem with a small enclosure (and not having room for lots of hard drives, PCIe cards etc). It's a lot easier to cool the 15W 5825U than the 60W 12100.
In 2018 I went from a desktop i7-6700 to a tiny NUC with an i7-8650U that I could literally put in my jeans front pocket with no problems at all. Newer CPU generation: every bit as fast, at much lower energy use.
Similarly a year ago I replaced a massive water cooled tower ThreadRipper 2990WX that cost $4800 in 2019 with an i9-13900HX laptop costing $1600. The new(ish) laptop is faster than the ThreadRipper at absolutely everything (sometimes not by much) while using a fraction of the energy -- about 40% maxed out, and 20% at idle. Plus I can take it to cafes, on planes etc.