home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
qbasic
/
qbtree42.arc
/
SPEEDCHK.DOC
< prev
next >
Wrap
Text File
|
1989-10-19
|
1KB
|
23 lines
SPEEDCHK.EXE demonstrates the speed at which QBTREE operates.
It prompts you for the test drive, first. Give it the fastest
drive you have. If you are using a floppy-only system, create
a RAM disk if you want to see the performance it is actually
capable of doing.
Either of two tests can be done. The first, PutKey(), creates
the key and data file, adds a single key record combo, then
PutKey()'s the number of keys you tell it to. This test will
indicate how quickly QBTREE will let you reindex data files.
The second test, AddRecord(), creates the key and data file,
then AddRecord()'s the number of keys and records you tell
it to. This test will indicate how quick QBTREE is in a
worst case condition.
Another test that is left to the programmer is how quickly
GetNext(), GetPrev() performs. Believe me, you'll be
amazed. This test indicates how quickly QBTREE will perform
sequential processing.