I'm using Android Studio version 3.2 and I have 12GB ram and double graphic cards(NVIDIA and INTEL).
I already installed HAXM and also forces emulator.exe and qemu-system-x86_64.exe to work with NVIDIA.
But still the emulator is extremely slow
My Nexus 5X API 24 and 25 Emulators works well but Nexus 5X API 26 and above are very slow, I check memory and CPU costs in Android Profiler it shows much higher than others, even simulators have the same density.
I think currently we often choose latest Emulators (from API 26 - Android 8.0 and above) ONLY for testing code that relates to OS features changes, for stable and performance testing, we should choose Emulators equal or below API 25 - Android 7.1.
I reported this problem to Google, hope they will make some enhancements soon.