Presumably the M1 MBP you're talking about is the 13".
Yes it has fractionally worse performance than the Mac Mini.
Though, I don't know what your results are telling me compared to established metrics like Geekbench, which show Mac Mini single core score of 1714 and multi-core of 7437. The 13" M1 MBP achieves 1707 single and 7395 multi. In reality the difference is not going to be greatly noticeable: Mac Mini might shave a second off a task which takes two minutes on the M1 13" MBP.
EDIT: However the fact you thought the MBP was the faster, more 'professional' machine (I know, not literally your words), and probably thousands like you also assume the same, is actually not your fault: instead it speaks volumes about Apple's successful marketing strategies with their use of the 'Pro' moniker.