home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / utility / bnchmark / speedom / speedom.doc next >
Text File  |  1994-03-21  |  6KB  |  114 lines

  1.                                Speed-o-meter
  2.                                =============
  3.                       "The multitasker's speed gauge"
  4.  
  5.                        ©1994 DataBasement Software
  6.                            All Rights Reserved
  7.  
  8.                          By Erin Matthew Monaco
  9.                             Programmed using 
  10.                        Lattice C 5.60 + DevPac III.
  11.  
  12.  
  13.      This is another S.A.S (Short And Simple) ShareWare product from
  14. DataBasement Software. If you find it useful and use it I'd appreciate
  15. it if you could send the $5 registration fee to me at:
  16.  
  17.   Erin Monaco
  18.   35244 Chestnut St.
  19.   Wayne, MI  48184
  20.  
  21. I also accept GEnie Gifts of Time page M080. My GEnie Address is:
  22.   E.MONACO
  23.  
  24.      You have the right to copy and distribute this program for a
  25. reasonable PD disk fee. You must insure that distribution is complete
  26. with this document as its the only identification the program carries.
  27.  
  28.      This program is a breeze to use. Just run it using your favorite
  29. method and watch it go! Currently it only operates as a program- it can
  30. not be run as an ACC... yet!
  31.  
  32.      When you run the program you'll be presented with a very small
  33. window. The top line of the window (small text size) is a graphic bar
  34. indicator. The next line simply has three "|"'s and 50 to mark the
  35. half way point. The Graph Bar is a simple percentage indicator. Going
  36. from 1 to 100. With "|" at 25, 50 and 75 Percent marks.  This is a
  37. completely visual program with no interaction required. To quit just
  38. close the window. The window can be moved anywhere on screen. This
  39. program gives a visual indicator of how fast your programs are running,
  40. as compared to the optimal speed they could run on your machine.
  41.  
  42.      "OK, the program's under 6K with embedded RSC and all... how does
  43. it know my machine's optimal speed?"
  44.  
  45.      Great question. It doesn't so we need to teach it first. When you
  46. run the program it checks for a file SPEEDOM.CNF. If it finds it it will
  47. load in the 4 Byte value contained in that file. If it doesn't it will
  48. Test your machine's speed 5 times (takes under 10 seconds) and then it
  49. will compute this value and create a SPEEDOM.CNF to the current directory
  50. for you! (Simple) After this is done it will proceed with rating the
  51. application's speed.  This was the easiest way I could think of to do
  52. this accurately (mostly) on any machine from 8Mhz, 16Mhz, 32... 64...
  53. a zillion or whatever.
  54.  
  55.      The best way to configure the program is to run it on a BARE system
  56. with nothing else running, no accessories, etc. If you ever choose to
  57. re-calibrate the program, just delete the SPEEDOM.CNF file and run
  58. SPEEDOM to create a new one.  You could if you choose configure it from
  59. within Geneva or MultiTos or whatever. But for the most accurate system
  60. performance readings you should configure it with a bare system at the
  61. highest CPU speed (in the case of accelerators, etc) that you can.
  62.  
  63.      "... A fly in the ointment" This program uses the EVT_TIMER vector.
  64. At this time it does not use the XBRA protocol. So any programs run
  65. after SPEEDOM that hook into the EVT_TIMER vector could cease to function
  66. correctly if you exit SPEEDOM before you exit these other programs. I
  67. will add XBRA but I have to get the docs on it first so it will be a
  68. little while, but the program is useable now. If you don't exit it, you
  69. shouldn't have much trouble either.
  70.  
  71. INTERESTING TIDBITS:
  72.  
  73.      In testing/debugging this program I saw a few neat (disturbing)
  74. things. Configured on a bare system (no warp_9, mouse accelerators etc)
  75. Moving the mouse in a quick circle around the screen seemed to slow
  76. the application by about 20% on my TOS 1.62 ROMS... thats scary! With
  77. WARP_9 I could not detect a slowdown at all!
  78.  
  79.      Running SPEEDOM as a single-task application I averaged around
  80. 90% of my normal speed with mouse movements slowing it down by another
  81. 5% or so. (Faster you move the mouse, greater the slowdown... this was
  82. with warp_9 on). Defaulting back to multitasking having NeoDesk and
  83. a few accessories I ran two copies of SPEEDOM and got a speed just under
  84. 50%. For every copy run after that system speed dropped by only about 5%
  85. or so.
  86.  
  87. QUICK DISCLAIMER:
  88.  
  89.      By making this program and everything I am not trying to promote
  90. any products (like warp_9, although its well worth it <g>) or pound
  91. any programs (like Geneva... I LOVE Geneva and respect Dan alot for
  92. his accomplishments and GRIBNIF support? Is superb) but no endorsements
  93. from me! <g>
  94.  
  95.      Programs that do not like to surrender control to Geneva/MultiTOS
  96. will not be reflected very well. (If SPEEDOM doesn't get time to work...
  97. then it won't be updated at all!)  Also as sorta mentioned above things
  98. such as moving the mouse, clicking on objects and using menus and stuff
  99. will temporarily reduce the application's percentage of code executed.
  100. The graphic bar display is normally updated every second or so. Unless
  101. one of the above mentioned factors prevents this.
  102.  
  103.      I'm no genius. I make mistakes and believe it or not I don't always
  104. know WHAT I'M DOING!!!  This program is a perfect example of my
  105. "Winging It". While I believe this program does represent an applications
  106. speed in terms of a percentage of optimal speed fairly accurately, I
  107. could be seriously wrong! In any event it is nice to look at and watch :)
  108.  
  109.      Comments and suggestions are welcomed and appreciated, as are
  110. registrations (hint!) feel free to leave E-mail on GEnie to me at
  111. E.MONACO or send a letter to the above address.
  112.  
  113.   Enjoy! Erin @DataBasement Software.
  114.