Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saschpe/satf

Runtime performance measurement tool for generic algorithms that uses gnuplot to generate nice plots
https://github.com/saschpe/satf

algorithm boost c-plus-plus cmake gnuplot

Last synced: 26 days ago
JSON representation

Runtime performance measurement tool for generic algorithms that uses gnuplot to generate nice plots

Awesome Lists containing this project

README

        

Sort Algorithm Test Fest
========================

This little 'framework' allows to perform runtime measurement of spatial sort algorithms in a nice, threaded manner. Results are logged per execution run, per data set type (see below) and per sort algorithm. This should allow for maximum flexibility for post-processing of the results. The provided shell script can be used to generate nice function plots from the results. The following data set types are measured currently:

- random data
- sorted data
- reverse sorted data
- partially sorted data

These algorithms are currently measured:

- heap_sort
- quick_sort (recursive)
- std::partial_sort (based on heap_sort)
- std::stable_sort (based on merge_sort)
- std::sort (based on quicksort)

INSTALLATION
------------

You need to have Boost and CMake installed to build the application as well as Gnuplot to execute the shell script successfully. The code is documented where necessary and should be easy to adopt to your own needs.

Use to following steps to build the application:

$ mkdir build/
$ cd build/
$ cmake ..
$ make

Or simply run 'satf.sh' or peek inside for more detail.

LICENSE
-------

All sources are licensed under the terms of the GNU General Public License (version 2 or later), except the sources found under 'src/boost'. Those have their own respective license and authors.

TODO
----

- Add memory profiling ((m|re)alloc/free counts, etc.). Needs a proper instrumentation tool or library
- Add more sorting algorithms