PDA

View Full Version : Screen output is much slower on WinXP


LurfysMa
May 17th 07, 06:54 AM
What could be causing a program to write to the display 16 times most
slowly on a much faster CPU running WinXP?


I just replaced my old 2001 HP laptop running Win2K with a brand new
Dell Inspiron 7400 running WinXP.

I have a number of little programs that are written in an interpreted
language called Rexx. This particular interpreter is from Quercus
Systems (http://www.quercus-sys.com/).

When the Rexx programs run, the Rexx interpreter creates an output
window that functions like a scrollable page. Each time the program
writes to the screen, a new line appears in the output window and the
previous lines scroll up and eventually out of the window.

On the old Win2K system, this output is very fast. So fast, that a
loop to display the numbers from 1 to 10,000 would scroll by way too
fast to read. On the new WinXP machine, a much faster machine, it is
about 16 times slower.

These are results for a simple loop that displays the integers
starting with 1, 2, 3, ... and stops after 30 seconds. If the first
row, the program generates no output. It just computes. In the second
row, 1 line is added to display the number each loop:

Win2K WinXP Ratio
No Output 1.8M 8.5M 1:5
With Output 3344 212 16:1

The new system is almost 5 times faster when there is no I/O but 16
times slower when there is.

Is there some Windows XP setting that I need to change?

--

Google