I have over 150 forms. My app starts up in about 12 seconds.
From your first post, it looks like you might be import
ing some big files unconditionally. You probably don’t need stripe, facebook, and google for every function in module Form1
. You may be able to delay import
ing those files, by import
ing them in just those few functions that need them. That way, the import
is deferred until the function is actually called.
This technique also works for Server-side and Uplink code.
Edit: It’s more important for Server-side code, because that code gets terminated and re-loaded. A lot. In most apps.