benchmarks/heapsort - The NetBSD Packages Collection

Benchmark program for variable sized arrays

Based on the Heap Sort code in 'Numerical Recipes in C' by William H.
Press, Brian P. Flannery, Saul A. Teukolsky, and William T. Vetterling,
Cambridge University Press, 1990, ISBN 0-521-35465-X.

The MIPS rating is based upon the program run time (runtime) for one
iteration and a gcc 2.1 unoptimized (gcc -DUNIX) assembly dump count of
instructions per iteration for a i486 machine (assuming 80386 code).  This
is the reference used.

The maximum amount of memory allocated is based on the 'imax' variable in
main(). Memory size = (2000*sizeof(long))*2^imax. imax is currently set to
8, but this value may be increased or decreased depending upon your system
memory limits. For standard Intel PC CPU machines a value of imax = 3 must
be used else your system may crash or hang up despite code in the program
to prevent this.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64heapsort-1.0.tgz
NetBSD 10.0aarch64heapsort-1.0.tgz
NetBSD 10.0aarch64heapsort-1.0.tgz
NetBSD 10.0aarch64ebheapsort-1.0.tgz
NetBSD 10.0aarch64ebheapsort-1.0.tgz
NetBSD 10.0alphaheapsort-1.0.tgz
NetBSD 10.0earmv4heapsort-1.0.tgz
NetBSD 10.0earmv6hfheapsort-1.0.tgz
NetBSD 10.0earmv6hfheapsort-1.0.tgz
NetBSD 10.0earmv6hfheapsort-1.0.tgz
NetBSD 10.0earmv7hfheapsort-1.0.tgz
NetBSD 10.0earmv7hfheapsort-1.0.tgz
NetBSD 10.0earmv7hfheapsort-1.0.tgz
NetBSD 10.0i386heapsort-1.0.tgz
NetBSD 10.0i386heapsort-1.0.tgz
NetBSD 10.0powerpcheapsort-1.0.tgz
NetBSD 10.0vaxheapsort-1.0.tgz
NetBSD 10.0x86_64heapsort-1.0.tgz
NetBSD 10.0_BETAx86_64heapsort-1.0.tgz
NetBSD 8.0i386heapsort-1.0.tgz
NetBSD 8.0i386heapsort-1.0.tgz
NetBSD 8.0i386heapsort-1.0.tgz
NetBSD 8.0powerpcheapsort-1.0.tgz
NetBSD 8.0powerpcheapsort-1.0.tgz
NetBSD 8.0powerpcheapsort-1.0.tgz
NetBSD 8.0powerpcheapsort-1.0.tgz
NetBSD 8.0x86_64heapsort-1.0.tgz
NetBSD 8.0x86_64heapsort-1.0.tgz
NetBSD 8.0x86_64heapsort-1.0.tgz
NetBSD 9.0aarch64heapsort-1.0.tgz
NetBSD 9.0aarch64heapsort-1.0.tgz
NetBSD 9.0aarch64heapsort-1.0.tgz
NetBSD 9.0alphaheapsort-1.0.tgz
NetBSD 9.0alphaheapsort-1.0.tgz
NetBSD 9.0earmheapsort-1.0.tgz
NetBSD 9.0earmv4heapsort-1.0.tgz
NetBSD 9.0earmv6hfheapsort-1.0.tgz
NetBSD 9.0earmv6hfheapsort-1.0.tgz
NetBSD 9.0earmv6hfheapsort-1.0.tgz
NetBSD 9.0earmv7hfheapsort-1.0.tgz
NetBSD 9.0earmv7hfheapsort-1.0.tgz
NetBSD 9.0earmv7hfheapsort-1.0.tgz
NetBSD 9.0i386heapsort-1.0.tgz
NetBSD 9.0i386heapsort-1.0.tgz
NetBSD 9.0m68kheapsort-1.0.tgz
NetBSD 9.0m68kheapsort-1.0.tgz
NetBSD 9.0m68kheapsort-1.0.tgz
NetBSD 9.0mips64ebheapsort-1.0.tgz
NetBSD 9.0powerpcheapsort-1.0.tgz
NetBSD 9.0powerpcheapsort-1.0.tgz
NetBSD 9.0powerpcheapsort-1.0.tgz
NetBSD 9.0powerpcheapsort-1.0.tgz
NetBSD 9.0sh3elheapsort-1.0.tgz
NetBSD 9.0sh3elheapsort-1.0.tgz
NetBSD 9.0sparc64heapsort-1.0.tgz
NetBSD 9.0sparcheapsort-1.0.tgz
NetBSD 9.0sparcheapsort-1.0.tgz
NetBSD 9.0vaxheapsort-1.0.tgz
NetBSD 9.0vaxheapsort-1.0.tgz
NetBSD 9.0x86_64heapsort-1.0.tgz
NetBSD 9.0x86_64heapsort-1.0.tgz
NetBSD 9.3x86_64heapsort-1.0.tgz
NetBSD 9.3x86_64heapsort-1.0.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.