First step in Windows is this https://www.instructables.com/How-to-Adjust-CPU-Frequency-in...
In Linux you can control it much more gradually https://wiki.archlinux.org/index.php/CPU_frequency_scaling
It's even easier than that. Just click the battery icon in the taskbar and there's a slider that goes from "best battery life" to "best performance". Choosing the latter basically forces the highest boost frequency available.
The steps are something like the following:
Install ThrottleStop Disable "BD PROCHOT" Set a mild undervolt via FIVR -> CPU Core Voltage -> Unlock Adjustable Voltage Enable FIVR -> Memory -> Disable and Lock Turn Power Limits Increase Turbo Boost Long Power Max, Turbo Time Limit and PP0 Current Limit
If I replace my existing XPS 13 (1065G7) I'll definitely consider AMD if throttling is less of an issue.