Category : File Managers
Archive   : SF310.ZIP
Filename : SFPERF.DOC

 
Output of file : SFPERF.DOC contained in archive : SF310.ZIP
Tuesday October 25, 1988


Just out of curiosity I did a little timing comparison with some of
the other leading file finder programs and here's the results I came
up with. All tests were performed on my machine running at high
(~7 MHz) speed, no disk caching, etc. and my config.sys file has the
line BUFFERS=15. See SF.DOC for further details.

Timing tests were performed with Peter Norton's Time Mark (TM.EXE)
from his Advanced Edition (I presume it's also available with version
4.0, I'm not sure.) The batch file used to time execution is as
follows:

c:\t\tm.exe start
%1 %2 %3 %4 %5 %6 %7 %8 %9
c:\t\tm.exe stop

All tests were performed on my C: drive, a 20MB ST225 Seagate hard
drive (seek time, etc. are average for PCs). I have approximately
62 subdirectories and 1485 files with about 500K free disk space.
[SF 3.01 was tested on my hard drive containing 63 subdirectories
and 1535 files with 167K free. All others were run under the above
conditions.]

Keith Graham's Fast [File] Finder (F.COM) and Subtree Find (SF.EXE)
display an elapsed time upon completion. Where available this is
listed as 'Internal Time', given in mm:ss.hh format (minutes,
seconds and 1/100 secs.)

The TM time is the time given by Time Mark, in mm:ss format (minutes
and seconds.) There are no 1/100 secs because TM gives times down to
seconds, not 1/100 secs.

The Relative Performance is how well a program performed relative to
the best time. The fastest program in each test has a star at the
beginning of the line.



Program tested:

Program/Command Version Filename Author File Size

DIR DOS 3.2 N/A Microsoft N/A
Fast [File] Finder 2.07 F.COM Keith Graham 6729
File Attributes Adv Edition FA.EXE Peter Norton 7296
Find File Adv Edition FF.EXE " 7924
Subtree Find 3.01 SF.EXE Howard Kapustein 70021

NOTE: Keith Graham's Find [Fast] File is distributed as FF.COM,
but for testing purposes I renamed it F.COM.


Memory Requirements Created
Program/Command Load Time Load Minimum Preferred with

DIR N/A N/A N/A N/A
Fast [File] Finder 0.244 6 11 17 MASM
File Attributes 0.264 7 13 19 ?
Find File 0.287 7 13 20 ?
Subtree Find 2.541 59 109 168 TC 2.0


NOTE: All tests of SF include the parameter -f-u-
This turns off free disk space and used space checking

TESTS
ÄÄÄÄÄ

I. List all files on drive (including hidden/system)

Time Relative
Program/Command Parameters Internal TM Performance

DIR ---- ---- ---- ----
Fast [File] Finder /h/v *.* 3:33.00 3:35 204.8%
File Attributes ---- ---- ---- ----
Find File *.* ---- 3:40 209.5%
* Subtree Find -xl c:\*.* 1:42.65 1:45 100.0%
-xl& c:\*.* 4:36.22 4:38 264.8%


II. Search disk for a specific file (including Hidden/System)

Time Relative
Program/Command Parameters Internal TM Performance

DIR ---- ---- ---- ----
Fast [File] Finder /h/v f.com 19.39 0:21 100.0%
File Attributes c:\f.com /s ---- 0:21 100.0%
Find File f.com ---- 0:21 100.0%
* Subtree Find -xl c:\f.com 18.62 0:21 100.0%
-xl& c:\f.com 18.73 0:21 100.0%


III. List all files on drive not backed up (Archive bit on)

Time Relative
Program/Command Parameters Internal TM Performance

DIR ---- ---- ---- ----
Fast [File] Finder /k/v *.* 1:07.45 1:10 269.2%
File Attributes c:\*.* /a/s ---- 0:57 219.2%
Find File ---- ---- ---- ----
* Subtree Find -x-ma c:\*.* 0:23.83 0:26 100.0%
-x-ma& c:\*.* 0:37:74 0:40 153.8%


IV. List all files with a specific attribute

Time Relative
Program/Command Parameters Internal TM Performance

DIR ---- ---- ---- ----
Fast [File] Finder /s/v *.* 24.72 0:27 207.7%
File Attributes c:\*.* /hid/sys/s ---- 0:27 207.7%
Find File ---- ---- ---- ----
* Subtree Find -x-mhs c:\*.* 16.92 0:19 100.0%
-x-mhs& c:\*.* 17.13 0:19 100.0%


V. Search disk for a specific file with a specific attribute

Time Relative
Program/Command Parameters Internal TM Performance

DIR ---- ---- ---- ----
Fast [File] Finder /s/v f.com 19.23 0:21 175.0%
File Attributes c:\f.com /hid/sys/s ---- 0:20 166.7%
Find File ---- ---- ---- ----
* Subtree Find -x-mhs c:\f.com 16.75 0:19 100.0%
-x-mhs& c:\f.com 16.76 0:19 100.0%


VI. Search disk for a specific file and stop at 1st match
(including Hidden/System files)

Time Relative
Program/Command Parameters Internal TM Performance

DIR ---- ---- ---- ----
* Fast [File] Finder /h/v/o f.com 3.79 0:06 100.0%
File Attributes ---- ---- ---- ----
Find File ---- ---- ---- ----
Subtree Find -xl1 c:\f.com 16.59 0:19 316.7%
-xl1i c:\f.com 5.33 0:08 133.3%

Note: F.COM was located as C:\UTIL\F.COM, so alphabetical searches would
take much longer than FIFO searches

VII. List all files in a specific directory (including Hidden/System files)

Time Relative
Program/Command Parameters Internal TM Performance

DIR c:\*.* ---- 0:03 300.0%
Fast [File] Finder ---- ---- ---- ----
* File Attributes c:\*.* /hid/sys ---- 0:01 100.0%
Find File ---- ---- ---- ----
Subtree Find -x-mhsn c:\*.* 0.83 0:03 300.0%
-x-mhsn& c:\*.* 0.99 0:03 300.0%


VIII. Search a directory for a specific file (including Hidden/System files)

Time Relative
Program/Command Parameters Internal TM Performance

* DIR c:\f.com ---- 0:01 100.0%
Fast [File] Finder ---- ---- ---- ----
* File Attributes c:\f.com /hid/sys ---- 0:01 100.0%
Find File ---- ---- ---- ----
Subtree Find -x-mhsn c:\f.com 0.61 0:03 300.0%
-x-mhsn& c:\f.com 0.66 0:03 300.0%


IX. Search a directory for all files not backed up (Archive bit on)

Time Relative
Program/Command Parameters Internal TM Performance

DIR ---- ---- ---- ----
Fast [File] Finder ---- ---- ---- ----
* File Attributes c:\*.* /a ---- 0:03 100.0%
Find File ---- ---- ---- ----
Subtree Find -x-man c:\*.* 1.26 0:04 133.3%
-x-man& c:\*.* 2.52 0:04 133.3%


X. List all files after a specific date

Time Relative
Program/Command Parameters Internal TM Performance

DIR ---- ---- ---- ----
Fast [File] Finder *.* c: /v/i060188 39.71 0:42 100.0%
File Attributes ---- ---- ---- ----
Find File ---- ---- ---- ----
* Subtree Find (10/16/88) c:\*.* 21.15 0:23 100.0%
(10/16/88)& c:\*.* 26.53 0:29 126.1%

Note: The date search test was run using a span of 8 days (6-1-88 was
run on 6-9-88, and 10-16-88 was run on 10-24-88)



CONCLUSIONS
ÄÄÄÄÄÄÄÄÄÄÄ

SF did a lot better than I thought it would. Nothing can compete
with DIR for speed, being an integral part of the operating system,
but it doesn't have all the features the other programs do. I
couldn't figure out what Norton used to compile his programs
(DEBUG?!?) but it's something akin to MASM. Comparing file sizes,
obviously SF will be bigger, since it's written in C, and nothing can
beat assembly for compactness and speed (usually.) But even so,
taking into account SF's size (and thus loading time) it turns out
that SF is a clear leader.

Norton writes some slick programs, but his don't come near Keith
Graham's. I'm amazed at all the options he managed to squeeze into
less than 7K. He has several options that SF doesn't have (some to come
soon, some never,) and it's great for searching whole disks. SF was
created with the intention of searching branches of disks, not just
entire disks. The main bottleneck for speed is in the output of files
found. Since SF 3.01 takes advantage of Turbo C's console i/o functions,
this problem has been solved. If you don't use redirection, the output
flies by almost too fast to read (it looks like a DIR on an AT). With
the redirection flag, performance is significantly less, but about equal
to any other program.

Since SF is a 68K program, any test where the execution time is less
than the load time, SF will lose. If you look over the numbers carefully,
and subtract out 2.25 seconds (since SF has a load time of 2.5 and all the
others need about 1/4 of a second) you'll find that SF is at least equal,
if not superior, to the rest.

Subtree Find 3.01 supports searching by date and time stamps, with
test results in X. None of the others can search by time or size, so only
a date test is included.


That's all folks. If you have any questions, etc. I can be
reached by phone, mail or modem at the locations given in SF.DOC or
by SF.EXE -??.


Howard Kapustein
Author of Subtree Find


  3 Responses to “Category : File Managers
Archive   : SF310.ZIP
Filename : SFPERF.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/