SCOUG-HELP Mailing List Archives
Return to [ 16 | 
September | 
2003 ]
<< Previous Message << 
 >> Next Message >>
 
 
 
Content Type:   text/plain 
=====================================================  
If you are responding to someone asking for help who  
may not be a member of this list, be sure to use the  
REPLY TO ALL feature of your email program.  
=====================================================  
 
Peter Hooper wrote:  
>   
> it takes the best part of a minute to do a "DIR *.LST>NUL" where there are 44,000 ".LST" files!  
 
If you want to try to find the bottleneck, put the *.LST files on a RAM  
drive and then time your DIR.  (I don't know of an HPFS RAM drive.)  
 
You might also get some interesting results by running DIR against  
smaller amounts of files and seeing if there is a point where the time  
suddenly jumps a large amount.  I've had this happen with other types of  
benchmarking tests.  If you know Rexx you can write a little program  
which will automatically run DIR and measure the elapsed time for file  
counts of say 1000, 2000, ... 44000 files.  Use the TIME() function.   
Steven Levine admonished me a while back for not clearing the buffers  
between benchmark loops so be sure to do that if you don't want to get  
yelled at.  
- Peter  
 
 
=====================================================  
 
To unsubscribe from this list, send an email message  
to "steward@scoug.com". In the body of the message,  
put the command "unsubscribe scoug-help".  
 
For problems, contact the list owner at  
"rollin@scoug.com".  
 
=====================================================  
 
  
<< Previous Message << 
 >> Next Message >>
Return to [ 16 | 
September | 
2003 ] 
  
  
The Southern California OS/2 User Group
 P.O. Box 26904
 Santa Ana, CA  92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group.  ALL RIGHTS 
RESERVED. 
 
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International 
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
 
  |