How do I get the same performance in the packaged game as in the editor?

My main VR project is getting 1 ms frame times in the editor but 40 ms frame times in the packaged game (shipping build). These numbers come from stat unit.

The game’s frame time is 1 ms but both Draw and GPU are 40. This makes the game completely unplayable. But in the editor running VR Preview, everything is fine (1 ms frame times).

I’ve noticed that a similar thing happens even for the default VR project. Creating a VR project straight from the “Virtual Reality” template gives 1 ms frame time in the editor, but 11 ms in the packaged game.

Can anyone offer any suggestions as I’m really stuck with this problem? Is this a bug or am I missing something obvious? I’m running 4.24.1 on a GTX 1080.

Slight addendum - the “1 ms” frame time I quoted for the editor should have been 11 ms (brain explosion).

Is it because of the overhead in VR of running both the VR and editor sessions?
You could package your game and try turning off the editor then starting up the VR cooked game?
Just an idea; interesting to see if it makes any difference.