I have written a small c# program that connects to a sql server, displays some information and gives the user an option for logging out.
The executable is located in the desktop folder of users having mandatory user profile on Windows XP Professional.
The problem is that it takes very long time to execute the program. After first execution, the second is faster and the third is even faster, but after restart and sometimes after logoff/logon execution is slow again.
How can I check what causes such long time to start the program?
If the program is executed once, JIT compilation occurs, but is copying the file on another machine causing executable to be recompiled? If the file is in the desktop of mandatory profile, does it mean that recompilation will occur every time user logs on?
Anybody with an idea?
The executable is located in the desktop folder of users having mandatory user profile on Windows XP Professional.
The problem is that it takes very long time to execute the program. After first execution, the second is faster and the third is even faster, but after restart and sometimes after logoff/logon execution is slow again.
How can I check what causes such long time to start the program?
If the program is executed once, JIT compilation occurs, but is copying the file on another machine causing executable to be recompiled? If the file is in the desktop of mandatory profile, does it mean that recompilation will occur every time user logs on?
Anybody with an idea?