home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / CLIPB52.ZIP / MARTIN.ZIP / SPEED.DOC < prev    next >
Encoding:
Text File  |  1989-06-01  |  875 b   |  24 lines

  1.  
  2. How does multi-user operation affect Clipper's speed performance?
  3.  
  4. Three speed test programs provide a very simple example.  When they
  5. were executed on a SINGLE-USER machine, these were the results:
  6.  
  7.  
  8. Speed1.PRG - Test using a database in single-user mode.
  9.   -> 11 seconds.
  10.  
  11. Speed2.PRG - Test using a database in multi-user mode.
  12.   -> 22 seconds!
  13.  
  14. Speed3.PRG - Test using a database in multi-user mode and record locking.
  15.   -> 36 seconds!
  16.  
  17.  
  18. What can be gathered from this?  That simply including the statement
  19. "SET EXCLUSIVE OFF" DOUBLED(!) the time taken to complete the test and
  20. that using record locking TRIPLED(!) the time taken to complete the
  21. test.  Of course, this test is an extreme example more fitting for
  22. "batch processing" of records than an interactive program, but it does
  23. demonstrate the overhead associated with multi-user operation.
  24.