]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/tools/sortbench/README
Update apr to 1.7.0. See contrib/apr/CHANGES for a summary of changes.
[FreeBSD/FreeBSD.git] / tools / tools / sortbench / README
1 $FreeBSD$
2
3 Running:
4 1. Compile mergesort_bench.c into mergesort_bench
5 2. Run bench.py with python bench.py [elts]
6 2a. Bench will optionally run 2 ^ elts elements as the dataset size when provided. Otherwise it will run 2 ^ 20 elements.
7
8 Output:
9 Files will be output in a new folder called stats with separate files for each statistical comparison and the raw results in a subfolder called data.
10 This files will contain the results of the running of ministat with time required to sort as the dataset.
11
12 Modifications:
13 Change bench.py's WIKI variable to be true if you have wiki.c implemented and want to test it.
14
15 As the script runs, it is running each of the stdlib sorting algorithms (and wikisort if provided) with 2 ^ elts elements,
16 5 trials of the sort time as it's output. That output is saved in the data folder and then passed into the command line
17 utility ministat which then provides the confidence interval of difference between the data in stats folder.