Use Galaxy with [debloater](https://github.com/0x192/universal-android-debloater – you can also remove Google Play Services) + AdGuard DNS + TrackerControl (you can get with droidify)
You can also dual boot Linux desktop distro on it also.
This way you get best performance and all the choices.
I guess you mean whatever factory OS is installed on your phone. Nobody uses stock OS.
What phone do you use?