Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sun-barr!newstop!sun!sally!plocher From: plocher@sally.Sun.COM (John Plocher) Newsgroups: comp.unix.i386 Subject: Re: Simple X windows benchmark Message-ID: <140342@sun.Eng.Sun.COM> Date: 8 Aug 90 05:32:58 GMT References: <1990Jul28.014025.17578@pegasus.com> Sender: news@sun.Eng.Sun.COM Lines: 32 +-- richard@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