MacMini is currently king. In previows generations, the CPU/GPU performance of the iMacs were far superior, but with Ivy Bridge models, the MacMini is just as powerfull
In addition, you are limited to 1TB on the 22"iMac, while you can go to 2TB with the MacMini.
In addition, you are limited to 1TB on the 22"iMac, while you can go to 2TB with the MacMini.