When I recorded myself playing Hi3, I realized that the phone performed better than usual. After trying many times, I realized that when recording video, the performance will be about 10fps better than normal. This problem only appears when I use X mode.
This is normal use the cooler if you have it the recording use a lot of power other thing that you can do is to lower the recording quality and fps of the recording also the resolution to 720p can help for better performance when gaiming and recording
I have tried several other recording applications but still the same. Finally, I tried using my advanced profile for Genshin, it worked fine. In short, fps when using X mode will be lower than when using advanced profile or when using X mode and recording. This is my advanced profile for Genshin https://drive.google.com/file/d/1tKh8b2Uim8QbqCkvzNkZXXoCsyhnBHaX/view?usp=drive_link