my method to optimize application startup performance
I found that for an application, if I specify the entry point function (e.g. main), the performance of startup will be greatly improved.
My questions are,
1. If no entry point is specified, how will debugger of Visual Studio find the entry point function? Will the time to search entry point function long?
For example, in my application, I defined the main function like this,
how will debugger treat main as the start point to execute (I set a break point to this function if I do not specify the entry point, then after a couple of minutes after pressing F5 to trigger debugger, debugger will jumps to main)?
If I specify the entry point to main, then debugger will directly jumps to this function after F5 debugging.
2. Specify entry point is a way to improve performance?
thanks in advance,