home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / misc / 35796 < prev    next >
Encoding:
Text File  |  1992-11-08  |  5.5 KB  |  155 lines

  1. Path: sparky!uunet!ukma!darwin.sura.net!spool.mu.edu!agate!darkstar.UCSC.EDU!david
  2. From: david@maxwell.ucsc.edu (David Darknell)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re: Video Benchmark (of sorts)
  5. Date: 8 Nov 1992 18:16:42 GMT
  6. Organization: University of California, Santa Cruz
  7. Lines: 142
  8. Message-ID: <1djliaINN1v7@darkstar.UCSC.EDU>
  9. References: <1dgrguINNa10@darkstar.UCSC.EDU>
  10. NNTP-Posting-Host: maxwell.ucsc.edu
  11. Keywords: Benchmark
  12.  
  13. In <1dgrguINNa10@darkstar.UCSC.EDU> david@maxwell.ucsc.edu (David Darknell) writes:
  14.  
  15.  
  16. >Since I have been having such a terrible time with the scrolling
  17. >speed of my os/2 windows (after upgrading to the CSD) I decided
  18. >to do a little benchmark of my own.  I wrote a REXX script to
  19. >type the OS/2 README file and time how long it takes to do so.
  20.  
  21. >Please cut this out, and run it on your system!  My system is 
  22. >386SX25 with 16M memory, with an Orchid Prodesigner II graphic
  23. >card (tseng 4000), on an ISA bus operating at 12.5 Mhz.  My benchmark
  24. >(both for 25 line screens)
  25.  
  26. >Full Screen: 16.6 Seconds   Window: 1577.6 Seconds
  27.  
  28. >THATS 91X SLOWER!  Since my desktop is running in 1024x768x256 mode
  29. >it is perhaps justified (but still unusable.)  If enough people
  30. >send me their results I will post a summary we can all use to compare
  31. >the `relative' speed of our full screen/windowed OS/2, and perhaps
  32. >suggest which adapters are best for OS/2..
  33.  
  34. >Note: that I have designed this to work with the CSD README file dated
  35. >10/92 only.  If you have not installed the latest CSD you can still
  36. >run this file by editing the line:
  37. >call SysFileSearch 'OS/2 2.0 README (10/92)', fspec, 'found.' 
  38. >and changing the date to reflect the version you have.  If you do,
  39. >please tell me what readme date you are using with your results!
  40.  
  41. >David
  42.  
  43. ===================================================================
  44.  
  45.     A lot of people have been rightly complaining about the time it
  46.     takes to scroll the OS/2 README file in a window.  I have another
  47.     benchmark that makes this process a lot quicker.  So at the risk
  48.     of muddying the water, here is another REXX program you can run
  49.     on your system.  If you do, forward the results to me and I will
  50.     post a summary of responses after a week or so...
  51.     (Please let me know which benchmark you are using...)
  52. *****cut here*****
  53.  
  54. /*
  55. ** vs.cmd
  56. **
  57. ** This is a new and revised video speed test
  58. ** that does not rely on the existance of a
  59. ** particular OS/2 README file.  
  60. **
  61. ** This file copies 200 carriage return/line feeds
  62. ** to your screen 4 separate times.  Each time
  63. ** the elapsed time is calculated, and after the
  64. ** fourth time a running average is calculated.
  65. ** This allegedly eliminates the deleterious effects
  66. ** of cache refill.  It also I might add, is MUCH
  67. ** faster with SLOW video systems like mine.  The
  68. ** 26 minutes plus copying the OS/2 README file for 
  69. ** real slow systems has been a real complaint from my
  70. ** original post.
  71. **
  72. ** email your results to: david@maxwell.ucsc.edu
  73. **
  74. ** Along with the two times, be sure to include:
  75. ** Your CPU Type: (386SX,386DX,486SX,486DX,486DX2,586)
  76. ** Your CPU speed: (in Megahertz)
  77. ** Your BUS type: (ISA,EISA,MCA,LOCAL-VL,LOCAL-PCI,LOCAL-PROPRIETARY)
  78. ** Your BUS clock speed (in Megahertz).  This should be the speed of
  79. ** the local bus if you have one. Your graphics card (i.e. tseng 4K, 
  80. ** Paradise, ...)  and the graphics resolution of your desktop.  For 
  81. ** example 1024x768x256 or 1024x768x16.
  82. **
  83. ** I will post the results once I have accumulated a good 
  84. ** cross section of different system types!
  85. **
  86. ** David Darknell  8 Nov, 1992
  87. */
  88.  
  89. /* load SysSearchPath function */
  90. call RxFuncAdd 'SysGetKey', 'RexxUtil', 'SysGetKey'
  91. call RxFuncAdd 'SysCls', 'RexxUtil', 'SysCls'
  92.  
  93. call SysCls
  94. say '**'
  95. say '** This program is sort of a screen scrolling benchmark.'
  96. say '** This file copies 200 carriage return/line feeds'
  97. say '** to your screen 4 separate times.  Each time'
  98. say '** the elapsed time is calculated, and after the'
  99. say '** fourth time a running average is calculated.'
  100. say '** You should run this program in a 25 line OS/2 window '
  101. say '** (unobscured), and a 25 line full screen session. '  
  102. say '**'
  103. say '** email your results to: david@maxwell.ucsc.edu'
  104. say '**'
  105. say '** Along with the two times, be sure to include:'
  106. say '** Your CPU Type: (386SX,386DX,486SX,486DX,486DX2,586)'
  107. say '** Your CPU speed: (in Megahertz)'
  108. say '** Your BUS type: (ISA,EISA,MCA,LOCAL-VL,LOCAL-PCI,LOCAL-PROPRIETARY)'
  109. say '** Your BUS clock speed (in Megahertz).  This should be the speed of'
  110. say '** the local bus if you have one. Your graphics card (i.e. tseng 4K,' 
  111. say '** Paradise, ...)  and the graphics resolution of your desktop.  For' 
  112. say '** example 1024x768x256 or 1024x768x16.'
  113. do 4
  114.     say '**'
  115. end
  116. say '** Press any key to begin the test.'
  117. SysGetKey(NOECHO)  
  118.  
  119. /* test 1 */ 
  120. elapsd1 = time('e')
  121. call screenScroll 1
  122. elapsd1 = time('r')
  123. /* test 2 */ 
  124. elapsd2 = time('e')
  125. call screenScroll 2
  126. elapsd2 = time('r')
  127. /* test 3 */ 
  128. elapsd3 = time('e')
  129. call screenScroll 3
  130. elapsd3 = time('r')
  131. /* test 4 */ 
  132. elapsd4 = time('e')
  133. call screenScroll 4
  134. elapsd4 = time('r')
  135.  
  136. say 'Elapsed time for run 1:' elapsd1
  137. say 'Elapsed time for run 2:' elapsd2
  138. say 'Elapsed time for run 3:' elapsd3
  139. say 'Elapsed time for run 4:' elapsd4
  140. say 'Average elapsed time for 4 runs:' (elapsd1+elapsd2+elapsd3+elapsd4)/4
  141. exit
  142.  
  143. /* procedure to scroll the screen 200 times */
  144. screenScroll: procedure  
  145.     j = ARG(1)
  146.     do i = 1 to 200
  147.         say j'-'i '.............................................................'
  148.     end
  149. return
  150.  
  151. *****cut here*****
  152.  
  153. *David
  154.  
  155.