Show me a laptop that unlocks higher clock rates and renders 3D games in higher performance with more detail when docked.
Literally every laptop ever down-clocks everything when not connected to power...
Windows and OSX both do this by default and you can over ride it with a few mouse clicks.
Which is EXACTLY what the switch does.
Here is Windows as example when high performance is selected
Literally choosing maximum CPU useage on battery at 40% would achieve the exact same ting you have described.
Lots of Laptops also have 2 GPUS and stop using the proper one when on battery power to keep things lasting longer and cooler.
However I suspect that will not meet your criteria, so here is a laptop that you can buy an external dock with additional hardware in which gives you a sizeable improvement in performance.
https://www.razerzone.com/gaming-systems/razer-blade-stealth
Let's not kid ourself, the reason that it doesn't run full pelt is because it will kill the battery.
Sony also artificially restricted the PSP for the same reason, later on down the line they removed some of those restrictions, no doubt the same will happen with the Switch once developers are more efficient with the hardware.