while developing in AndroidStudio I found that my Mi 9 SE (MIUI Global 11.0.4) is extremely slow in debugging applications.
It is an issue that other developers have encountered and as for now, the only solution seems to change ROM.
I hope Xiaomi developers are aware of this issue and that it can be solved soon.

Bar that, congratulations on making such a good phone!