Next: Break Even Point
Up: No Title
Previous: Leftist Heaps
The goal of this chapter is to evaluate the performance of the different
implementations of the Hu-Tucker algorithm.
The break even point between the fast implementation,
described in 3.1.1 using leftist tree for priority queue,
and the implementation building the tree by combining local minimum compatible
pairs will be experimentally established. The time complexities of the two
implementations will be compared to their corresponding theoretical
time complexities.
The performance of all phases of the Hu-Tucker algorithm will be measured
for potential practical usage.
An OABST will be build for the electronic version of
``The Complete Works of William Shakespeare" and the results will be analyzed.
The costs of the OABST, built using the Hu-Tucker algorithm, and the
OBT, built using the Huffman algorithm, will be compared for variety of
random input sequences.
The test environment for the experiments is:
Sun Ultra 60, dual processor configuration with 4-way superscalar
UltraSPARC-II, 300 MHz processor, MMU with 64 Instruction-TLB and
64 Data-TLB entries,
16 KB data and 16 KB instruction caches on chip, with 2 MB external secondary
cache, and 512 MB RAM. The version of the instruction set is SPARC 9.
The operating environment is Solaris 2.6.
The source code is compiled using the GCC version 2.8.1 compiler.
The getrusage system call is used to measure the total amount of time
spent executing in user and system mode in seconds.
The measurements in the following sections are performed as in the following
fragment of code:
struct getrusage ruse;
callToFunction();
Next: Break Even Point
Up: No Title
Previous: Leftist Heaps
Sashka Davis;961;icsg6;
1999-01-14