[comp.windows.x] Performance observations: R4 on Sun 3

david@jpl-devvax.JPL.NASA.GOV (David E. Smyth) (02/22/90)

I just ran x11perf on X11R4 on my newly upgraded Sun3/460HM.
Several timings were quite interesting.

First, the 33MHz 68030 seems to be about as fast as a
SPARCstation1 running R3 (don't have R4 data yet).

What is more intersting is the performance of circles and
ellipses when compared to rectangles:

Legend:
-------
X3c_S3m		X11R3 on Sun3/260 HM
XN_S3m		X/NeWS 1.0 on same Sun3/260 HM
X3c_SSm		X11R3 on SPARCstation1
X4_S34m		X11R4 on Sun2/460 HM (33MHz 68030)

Test                                     X3c_S3m  XN_S3m X3c_SSm X4_S34m
-----                                    --------------------------------

10x10 rectangle                          11280.0  1992.0 20820.0 18560.0
100x100 rectangle                         1790.0  1226.0  2602.0  2452.0
500x500 rectangle                          161.0   186.8   189.4   249.8

10-pixel diameter circle                     9.6   340.8   391.6  6816.0
100-pixel diameter circle                    0.7   120.0    59.1  1614.0
500-pixel diameter circle                    0.1    27.0    19.4   372.8

Cicles and ellipses are now fast enough to be useful!
More interesting stuff:

Char in 80-char line (6x13)              12360.0 14660.0 23920.0 25740.0
Char in 80-char line (TR 10)             13740.0 18060.0 27080.0 30280.0
Char in 30-char line (TR 24)              8484.0 11340.0 16140.0 17940.0

Char in 80-char image line (6x13)        13200.0 12960.0 25880.0 39840.0
Char in 80-char image line (TR 10)       13180.0 15600.0 25720.0 29540.0
Char in 30-char image line (TR 24)        7722.0  8928.0 14440.0 16260.0

Scroll 10x10 pixels                        455.0   325.6  1126.0  3930.0
Scroll 100x100 pixels                      211.6   254.4   500.4   981.2
Scroll 500x500 pixels                       48.0    67.4    85.2   111.2

And an overall summary, comparing performance within groups of tests
against a standard of "1.0" for X11R3 on Sun3/260 HM.  The ordering
of the test reflects a subjective assesment of how important the
performance area: scrolling and text is alot more important the
circulating unmapped windows.

Test                        X3c_S3m  XN_S3m X3c_SSm X4_S34m
-----                       --------------------------------
 Scrolling                      1.0     1.1     2.2     5.2
 Text                           1.0     1.2     1.9     2.2
                            --------------------------------
    average                     1.0     1.1     2.1     3.7


 Pop-Up                         1.0     0.7     5.0     7.9
 Window Mapping                 1.0     0.3     2.4     7.1
 Window Unmapping               1.0     0.0     3.1    10.5
 Mapped Window Creation         1.0     0.2     2.6    13.2
 Unmapped Window Creation       1.0     0.0     2.3     3.4
 Window Destruction             1.0     0.0     2.9     8.1
 Circulate Mapped Window        1.0     0.8     2.2     7.8
 Mapped Window Move             1.0     0.0     2.3     2.8
 Mapped Window Resize           1.0     0.1     2.3     2.8
                            --------------------------------
    average                     1.0     0.2     2.8     7.1


 Lines                          1.0     0.8     1.7     3.0
 Basic Rectangles               1.0     0.6     1.6     1.6
 Polygons                       1.0     0.7     1.9     1.9
                            --------------------------------
    average                     1.0     0.7     1.7     2.2


 X Protocol                     1.0     1.6     1.6     3.2
 Pixmap Copy                    1.0     0.8     1.6     2.9
 Put/Get Image                  1.0     0.5     1.1     1.8
 Complex Rectangles             1.0     0.4     1.8     1.6
                            --------------------------------
    average                     1.0     0.8     1.5     2.3


 Unmapped Window Move           1.0     0.2     2.0     3.1
 Unmapped Window Resize         1.0     0.0     1.9     2.9
 Circulate Unmapped Window      1.0     0.1     2.0     2.1
 Curves                         1.0    69.2    32.6   724.1
                            --------------------------------
    average                     1.0    17.4     9.6   183.0



----------------------------------------------------------
David Smyth                david@jpl-devvax.jpl.nasa.gov
Senior Software Engineer,  seismo!cit-vax!jpl-devvax!david
X and Object Guru.         (818)364-6344
JPL, M/S 301-260, 4800 Oak Grove Drive, Pasadena, CA 91109
----------------------------------------------------------