I have found that if you use:
app.
Within an application class it slows it down unnecessarily. You don't need to have app. within an application class so if you have code using this delete it out for a speed improvement. I found a 30% gain by getting rid of it.
Hope this is useful for someone.