Projects running extremely slow when started from .exe
- hi there!
i just noticed that one of my projects in my project compilation runs extremely slomo-ish when started through the exe file! but when you run it in small basic, it runs fast. (it doenst look like lag, it just looks slow motion-ish...)
it runs normal at the start of the program. but after about 0.5 seconds its going slomo..
whats up with that???
Live for nothing, OR CODE FOR SOMETHING!
Answers
I may have over-estimated the performance increase - it seemed faster but that was only based on my memory of the SmallBasic compiled version which I though was slower.
A program .NET launched for the first time (after compilation) is alwas slightly slower. To test performance, you should always run the *.exe twice.
Additionnaly, you shouldn't notice many perf improvements when switching to VB. The same functions are used, so the perf will be similar.
The only thing who can change is the speed of numerical operations (like 1+3).
Fremy - Developer in VB.NET, C# and JScript ... - Feel free to try my extension- Marked As Answer byDudeson Monday, November 02, 2009 9:25 PM
All Replies
- Try v0.7 and convert to VB - for me your zombie program runs fast and smoothly. The only change I made was to manually set the ProgramDirectory variable to be the SmallBasic path where the images and sounds are. It also runs (too fast for me) when the exe is run without Visual Studio.
- it runs at the same speed for me...
did i do something wrong??
Live for nothing, OR CODE FOR SOMETHING! - I may have over-estimated the performance increase - it seemed faster but that was only based on my memory of the SmallBasic compiled version which I though was slower.
- doh..
NOOOOOO!
Live for nothing, OR CODE FOR SOMETHING! I may have over-estimated the performance increase - it seemed faster but that was only based on my memory of the SmallBasic compiled version which I though was slower.
A program .NET launched for the first time (after compilation) is alwas slightly slower. To test performance, you should always run the *.exe twice.
Additionnaly, you shouldn't notice many perf improvements when switching to VB. The same functions are used, so the perf will be similar.
The only thing who can change is the speed of numerical operations (like 1+3).
Fremy - Developer in VB.NET, C# and JScript ... - Feel free to try my extension- Marked As Answer byDudeson Monday, November 02, 2009 9:25 PM


