Both terrible, but Shake one is a little better. Dustbusting in Nuke is easier.
Nuke. More options, better Primatte implementation and channels make things way easier and cleaner to deal with.
Nuke specially if you take into account channels
Nuke by far. FrameCycler is great and caching works far better.
I think Nuke is a bit faster
Overall Nuke is far superior in terms of workflow, technology, scripting and customization. Macros (gizmos) in Nuke rule, all float, kick ass OpenEXR support, real 3D environment among other features.
And let's not forget to mention Color correction features which is something that Nuke is great at it.