I had upgraded my project to 2019.3.0f6. In earlier version everything is working fine. But in 2019.3.0f6 editor, there was a big performance hit. The performance hit is because of
FrameEvents.XRBeginFrame → XR.WaitForGPU → Gfx.WatForRenderThread → Semaphore.WaitForSignal
But with the standalone build of my project with the same editor 2019.3.0f6, it is again working smooth. The issue I am facing is only when testing in unity editor. Can anyone suggest me a solution to overcome this problem ?