A Vita wasn't really anywhere close to a 360/PS3 though. It's 28 gigaflops, and XBox 360 is 250 gigaflops ... almost a 10x gap.
The Switch is 393 gigaflops docked, the XBox One is 1.2 teraflops, that's only about a 1/3 gap.
So a Switch is much closer to the actual home consoles it launched against (PS4/XB1) than a Vita was (versus PS3/360) even though Vita was somewhat impressive hardware.
This is why the Switch can run actual modern-gen titles like DOOM Eternal, Hellblade, Witcher 3, Persona 5, Fortnite, Overwatch 2, Dragon Quest XI, FC Soccer, while a Vita was not really getting many demanding games from the PS3/360.