Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/saschpe/satf
- Owner: saschpe
- License: gpl-2.0
- Created: 2009-10-23T15:01:06.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2019-11-28T08:59:08.000Z (almost 5 years ago)
- Last Synced: 2023-03-10T20:47:53.668Z (over 1 year ago)
- Topics: algorithm, boost, c-plus-plus, cmake, gnuplot
- Language: C++
- Homepage:
- Size: 92.8 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
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 dataThese 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 ..
$ makeOr 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