|
Speed
May 12, 2021 17:32:27 GMT 1
Post by harrya on May 12, 2021 17:32:27 GMT 1
I have the following in my autoexec.txt file:
@echo OFF
PATH=C:\VDOS;C:\VDOS\4DOS
USE C: C:\
CD STAR
C:\VDOS\4DOS\4DOS.COM
SET COMSPEC=C:\VDOS\4DOS\4DOS.COM
STAR.exe EXIT
My compiled foxpro program, Star.exe, works fine but is much slower than when it runs on XP on my old computer. Do you have any ideas on how to speed it up?
|
|
|
Speed
May 12, 2021 20:14:21 GMT 1
Post by Jos on May 12, 2021 20:14:21 GMT 1
Delete the lines: @echo OFF (useless) C:\VDOS\4DOS\4DOS.COM (only consumes DOS memory)
Have a look at the FAQs.pdf document - Miscellaneous - My application (occasionally) runs slower than before. Note that people complaining about vDos speed mostly pick the one rarely used routine that already takes considerable time in NTVDM. Then compare that with the routine running in vDos to conclude vDos is slow(er) in practical use.
No speedup tricks. A CPU with faster, not more, cores. If not already installed, get the 2021.05.01 version. That’s up to 50% faster with FoxProX programs. Don’t complain if your selected routine doesn’t run that much faster. The speed gain is accomplished by optimizing/substituting some 20 FoxProX core functions. It all depends on how frequent those functions are used.
Jos
|
|