Simple X windows benchmark
John Plocher
plocher at sally.Sun.COM
Wed Aug 8 15:32:58 AEST 1990
+-- richard at pegasus.com (Richard Foulk) writes:
| xterm -geometry 80x24 -fn 8x13 +j &
|
| then put the following awk script in a file called x-test:
| -----------------------------cut here----------------------------
| BEGIN {
| for (i = 0; i < 1000; i++) {
| printf("xxxxxxxxxxxxx %d\n", i);
| }
| exit;
| }
| -----------------------------cut here----------------------------
| Run it, from the above mentioned xterm, like this:
|
| time awk -f x-test
|
| and report the real time results.
+--
These test times can be reduced by 50% or more by replacing the
time awk -f x-test
with
awk -f x-test > /tmp/x
time cat /tmp/x
This implies that you are measuring as much "awk" time as you
are "scrolling". In fact, awk is a known abuser of FP, as
reflected by other comments about this benchmark.
FYI, on a Sun SS1+GX (1152x900x256), the test takes about 13 seconds.
-John
More information about the Comp.unix.i386
mailing list