GPU performance scales in a fairly linear manner, so you can compare cores and get a fairly good idea. The M1 iMac has a 7 or 8 core GPU, while a base 16” MBP has 16 cores. So, graphics performance should be at least twice as good in this scenario. Obviously this is a rough guide and doesn’t account for thermals, etc.