Skip to content

Latest commit

 

History

History
48 lines (25 loc) · 1.18 KB

README.md

File metadata and controls

48 lines (25 loc) · 1.18 KB

PerfTracker

Goal

The goal of this program is to test the speeds of different programs both by looking at programs individually, or comparing them between each other.

Logic

Logically, there is a timer and a program object.

The timer objects are designed in a tree structure (to time different subroutines of the programs).

The program object runs a program and tracks its main timer.

Installation

The current way to install is to clone and run setup.py

git clone https://github.com/aldenlamp/Perf.git
cd Perf
python setup.py install

Usage

perftracker has different command line options:

-n name

-o output folder

-i number of iterations per program (times are averaged)

-v generate valgrind output

-g generate example config file

-f config file (listig out the programs to compare)

-p program to run (overrides any config file and assumes only one program is being tested)

Understanding the output

Everything gets outputted to the output folder under the name.

For example, all the data will be written to ./output_folder/name/

Within this folder, there are subfolders for every program being tested, and one for the comparisons.