Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: speed WinBatch Runs slowly. Is Compiler faster?
The compiled version (especially if you use the BIG exe model) takes a small tad more memory, but not usually enought to affect anything. If you are suffering with a 4MB Ram system you *might* see some speed differences.
The usual problem is that the interpreter and compiler are out of sync with each other. Make sure you're using the same versions of both WinBatch and Compiler.
On the speed issue: A 100Mhz Pentium should process more than 500 simple statements a second. For batch file processing sorts of stuff, this is very reasonable; for complex number crunching it is clearly not acceptable.
Try this:
a=0 a1=GetExactTime() for x=1 to 1000 a=a+1 next a2=GetExactTime() Message(a1,a2)
On a 486/33 mHZ laptop this takes 14 seconds. It executes about 3000 statements, for 215 statements a second. Try it on yours to see what kind of number you get. If it is 'very slow' there could be some kind of configuration problem.
Another thing to check is what other windows apps are running and at what priority. For example, a MS-DOS window running with a high priority, will greatly slow down all Windows processing.
Article ID: W12783
Filename: Does it Run Faster or Use More Resources.txt
File Created: 1999:04:15:16:49:36
Last Updated: 1999:04:15:16:49:36