Hi there
EDIT: Found what is causing the problem. Polypaint turned on is slowing down with masking or polygrouping visible. Once is off, everything works just fine.
I was about to create some clothing for wip character and this stricked me down.
Check videos
Zbrush 2021
Zbrush 2020
File