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

  1. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!darkstar.UCSC.EDU!david
  2. From: david@maxwell.ucsc.edu (David Darknell)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Video Benchmark (of sorts)
  5. Date: 7 Nov 1992 16:39:58 GMT
  6. Organization: University of California, Santa Cruz
  7. Lines: 114
  8. Message-ID: <1dgrguINNa10@darkstar.UCSC.EDU>
  9. NNTP-Posting-Host: maxwell.ucsc.edu
  10. Keywords: Benchmark
  11.  
  12.  
  13. Since I have been having such a terrible time with the scrolling
  14. speed of my os/2 windows (after upgrading to the CSD) I decided
  15. to do a little benchmark of my own.  I wrote a REXX script to
  16. type the OS/2 README file and time how long it takes to do so.
  17.  
  18. Please cut this out, and run it on your system!  My system is 
  19. 386SX25 with 16M memory, with an Orchid Prodesigner II graphic
  20. card (tseng 4000), on an ISA bus operating at 12.5 Mhz.  My benchmark
  21. (both for 25 line screens)
  22.  
  23. Full Screen: 16.6 Seconds   Window: 1577.6 Seconds
  24.  
  25. THATS 91X SLOWER!  Since my desktop is running in 1024x768x256 mode
  26. it is perhaps justified (but still unusable.)  If enough people
  27. send me their results I will post a summary we can all use to compare
  28. the `relative' speed of our full screen/windowed OS/2, and perhaps
  29. suggest which adapters are best for OS/2..
  30.  
  31. Note: that I have designed this to work with the CSD README file dated
  32. 10/92 only.  If you have not installed the latest CSD you can still
  33. run this file by editing the line:
  34. call SysFileSearch 'OS/2 2.0 README (10/92)', fspec, 'found.' 
  35. and changing the date to reflect the version you have.  If you do,
  36. please tell me what readme date you are using with your results!
  37.  
  38. David
  39.  
  40.  
  41. ==================cut here===================
  42. /*
  43. ** timer.cmd
  44. **
  45. ** Sort of a screen scrolling benchmark.
  46. ** Calculates the amount of time it takes for the file
  47. ** readme to scroll on your screen.  You should run this
  48. ** program in a 25 line OS/2 window, and a 25 line full
  49. ** screen session.  
  50. **
  51. ** email your results to: david@maxwell.ucsc.edu
  52. **
  53. ** Along with the two times, be sure to include:
  54. ** Your CPU Type: (386SX,386DX,486SX,486DX,486DX2,586)
  55. ** Your CPU speed: (in Megahertz)
  56. ** Your BUS type: (ISA,EISA,MCA,LOCAL-VL,LOCAL-PCI,LOCAL-PROPRIETARY)
  57. ** Your BUS clock speed (in Megahertz).  This should be the speed of
  58. ** the local bus if you have one. Your graphics card (i.e. tseng 4K, 
  59. ** Paradise, ...)  and the graphics resolution of your desktop.  For 
  60. ** example 1024x768x256 or 1024x768x16.
  61. **
  62. ** I will post the results once I have accumulated a good 
  63. ** cross section of different system types!
  64. **
  65. ** David Darknell  5 Nov, 1992
  66. */
  67.  
  68. /* load SysSearchPath function */
  69. call RxFuncAdd 'SysSearchPath', 'RexxUtil', 'SysSearchPath'
  70. call RxFuncAdd 'SysGetKey', 'RexxUtil', 'SysGetKey'
  71. call RxFuncAdd 'SysFileSearch', 'RexxUtil', 'SysFileSearch'
  72.  
  73. /* figure out where the OS/2 README file is located  */
  74. fspec = SysSearchPath('PATH','README')
  75. if fspec == '' 
  76.     then do 
  77.     say "I can't find your README file"
  78.     say 'sorry.  You should place it somewhere '
  79.     say 'in a directory on your path. '
  80.     exit
  81. end
  82. /* found a README file, is it the right one? */
  83. call SysFileSearch 'OS/2 2.0 README (10/92)', fspec, 'found.' 
  84.     if found.0 == 0
  85.     then do
  86.     say " "
  87.     say "I can't find your OS/2 CSD Level XR06055"
  88.     say "README file on your path.  Please place it"
  89.     say "somewhere in a directory on your path. "
  90.     exit
  91. end
  92. /* whew, got it! */
  93. /* remind user to send add'l info */
  94. call SysCls
  95. say '===' fspec '==='
  96. say '**'
  97. say '** This program is sort of a screen scrolling benchmark.'
  98. say '** It calculates the amount of time it takes for your readme'
  99. say '** file to scroll on your screen.  You should run this'
  100. say '** program in a 25 line OS/2 window (unobscured), and a 25 line full'
  101. say '** 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. say '**'
  114. say '** Press any key to begin the test.'
  115. SysGetKey(NOECHO)  
  116.  
  117. /* start timer */
  118. elapsd = time('e')
  119. type fspec
  120. elapsd = time('r')
  121.  
  122. say 'Elapsed time for this run was:' elapsd 'seconds.'
  123. exit
  124.  
  125. ==================cut here===================
  126.