I have tried SafeBoot. In safe move the MacOS works with the High Perf gpu only. The checkbox does change anything.

Also I have created a new user. And try to reproduce the issue.
The freezes stay much shorter. It stay slightly noticeable.
The GPU time of the WindowServer process grows same as on my main user.
I suspect the Android Studio application because this app is the first installed app after MacOS on my Mac.
Is there a way to temporary disable .kext Extensions?
I want try to disable the following:
intelhaxm:
Version: 7.5.1
Last Modified: 27.05.2019, 15:52
Bundle ID: com.intel.kext.intelhaxm
Notarised: Yes
Loaded: Yes
Obtained from: Identified Developer
Kind: Intel
Architectures: x86_64
64-Bit (Intel): Yes
Location: /Library/Extensions/intelhaxm.kext
Kext Version: 7.5.1
Load Address: 18446743521872486000
Loadable: Yes
Dependencies: Satisfied
Signed by: Developer ID Application: Intel Corporation Apps (Z3L495V9L4), Developer ID Certification Authority, Apple Root CA
EnergyDriver:
Version: 3.6.1
Last Modified: 27.09.2019, 16:55
Bundle ID: com.intel.driver.EnergyDriver
Notarised: Yes
Loaded: Yes
Obtained from: Identified Developer
Kind: Intel
Architectures: x86_64
64-Bit (Intel): Yes
Location: /Library/Extensions/EnergyDriver.kext
Kext Version: 3.6.1
Load Address: 18446743521881293000
Loadable: Yes
Dependencies: Satisfied
Signed by: Developer ID Application: Intel Corporation Apps (Z3L495V9L4), Developer ID Certification Authority, Apple Root CA