Ps3 has the more powerful cpu. Switch has the better gpu and ram. Ps3 cpu is more capable than current gen console cpus
How did you reach this ridiculous conclusion about the PS3 CPU? By totalling clock speeds and counting the SPEs as "cores" (which is completely incorrect)? Or maybe you're just recycling second hand information online, which I'll admit is quite a common thing.
The PS3 CPU was one 3.2GHz PowerPC core with 7 usable SPEs available - they can communicate with each other, but they do
not have branch prediction and are therefore incredibly poor when running changing/branching/modifying code; in other words, any code that isn't a straightforward execution or loop. The sole PPE has to babysit all 7 SPEs while also supplying the GPU with instructions and because of the long pipeline involved this was another huge performance impediment.
The PS3 SPEs also had just 256KB of local store cache and the main PPE had to DMA data from memory 256KB at a time,
further slowing down the process.
Let's not forget that the Cell (like the 360 CPU) is strictly in-order, compared to the out-of-order nature of the PS4, XB1, Switch and even Wii - instructions must be handled in order, one at a time, so even
if we assume the PS3 is a brute compute colossus it often sits doing absolutely nothing as it waits for the rest of the instructions to execute, wasting whatever potential compute it has left in a real game situation.
For these reasons, the Cell often doesn't even outperform the Xbox 360 CPU, let alone PS4/XB1.
Call it a strawman, but it's worth mentioning that the PS4/XB1 are designed to process on the GPU (which is very sensible, given the raw compute potential of gpus in general that is only now being utilised) and as a result, the system is intentionally balanced with GPU emphasis. The PS4 CPU is still far easier to work with and generally superior to the Cell, but in cases where the Cell does succeed the PS4 GPU is quick to compensate.
In some edge cases, the PS3 CPU outperforms the PS4 CPU in high density compute scenarios where the SPEs can simply rip through operations with no need to communicate or change any of their instructions (they are definitely good SIMD units in very specific cases) but by and large, the PS3 doesn't outperform the Xbox 360, Switch, PS4 or XB1 and is even (in theory) outperformed by the superscalar out-of-order
Wii by the same "edge case" token.