The GameCube was more powerful than the PS2 during its generation. GameCube was a powerhouse.
The Switch is nothing like the GC...nothing like it at all. It is closer to the WiiU, which was based on a secknd screen experience making it also completely different from Switch in concept.
Heck the Switch is closer to the VITA done right if we really want to draw a direct comparison from somewhere.