Isn’t there a ShippingWithEditor, or something must like that?
Or maybe it’s “DevelopmentWithEditor” – there’s a special mode for “use compiler optimizations, but allow editor” – that you need to use.
If you’re using a debug build, performance will indeed be terrible.