sortchk - a sort algorithm test suite
-------------------------------------
Version: 0.2
License: BSD
Author: Benedikt Meurer
Email: benedikt.meurer@unix-ag.org
Homepage: http://www.home.unix-ag.org/bmeurer/projects/sortchk/index.html
sortchk is a simple test suite I wrote in order to measure the costs (in terms of needed comparisons and needed data moves, not in terms of time consumed by the algorithm, as this is too dependend on things like type of computer, programming language or operating system) of different sorting algorithms. The software is meant to be easy extensible and easy to use.
It was developed on NetBSD, but it should also compile and run well on other systems, such as FreeBSD, OpenBSD, Darwin or Linux. With little work, it should also be able to run on foreign plattforms such as Microsoft Windows or MacOS 9.
In order to compile the program using the given Makefile, you'll need a 4.2BSD compatible make program (sometimes called "pmake"). If you have pmake installed (its the default make for Net/Free/OpenBSD, Darwin, etc.) you can simply type make or pmake and the program will compile.
If you do not have pmake installed, but have GNU make, you can compile the program by running.
gmake -f GNUmakefile
If you neither have pmake nor gmake, you may compile the program given the following command:
c++ -O2 -o sortchk *.cpp
If you have any problems getting sortchk to work, please mail to bmeurer@unix-ag.org.
For further description of the program operation and example test runs, see the project page at:
http://www.home.unix-ag.org/bmeurer/projects/sortchk/index.html
I hope, you'll like this program, and I'm interested in any feedback.
PACKAGERS NOTE:
Please use the mkpackage.sh script to create binary packages.
