View Full Version : .Net programs lag?
danielclarkz
09-05-2002, 11:56 PM
Ive compiled a program in C# and VB.NET. Both really lag the first time u start them up. Just dont understand this. VB6 apps arent slow like this. Does anyone else notice this? Or am i insane?
inkedmn
09-06-2002, 12:07 AM
i'm moving this to the C#, C, C++ forum...
please avoid posting language specific questions in the General forum. Thanks!
oh, btw, if this is more of a VB-type post, let me know and i'll move it. :)
the reason it takes a while the first time is because before it executes, it compies it into Intermediate Language first then machine language, the next time should and will be instantaneously, if a new change is made then the app will run slow the first time :)
sans-hubris
09-06-2002, 04:16 PM
Originally posted by gish
the reason it takes a while the first time is because before it executes, it compies it into Intermediate Language first then machine language, the next time should and will be instantaneously, if a new change is made then the app will run slow the first time :) It's actually much more than just that. The debugging features of VS.NET are much more extensive than VS6.0. Not only does the code get compiled into the CLR, but also numerous debugging symbols go with it (it would be like using the level three debugging features of gcc) which take a great deal of time to load. The actual compiled release version of the software is ten times faster.
I have tried playing with the optimizations, but had no luck. I have not figured out if you can specify the amount of debug information you want.
danielclarkz
09-12-2002, 10:20 PM
Well, still sucks.. I hate when programs take a long time to load.. It just sucks.!
Originally posted by sans-hubris
I have tried playing with the optimizations, but had no luck. I have not figured out if you can specify the amount of debug information you want.
I can't believe that MS wouldn't allow you to make something akin to a "release" build. (after all, there's a reason it's called a "release" build). I won't likely see the VS.NET GUI any time soon, though, so I can't play with it.
Solean
10-03-2003, 08:17 PM
Well, MS is MS. What do you expect? :D
still 10000000 times fast than Java......no contest there....
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.