Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

project-asgard/profiling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# test_battery

## Short Motivation
Profiling a program involves running a lot of very long, very complicated ascii strings on the command line. 
This system makes it extremely easy and can be adapted to a wide range of profiling workflows.

## Long Motivation
Running profiling on a compiled executable typically involves analyzing its output across multiple runs.
These runs represent a wide range of input parameters and runtime environments. 
Typically, at the conclusion of each run, you will have some kind of informative output from a profiling tool.
However, getting that usable profiling output from a single run may require you to run a multi-stage pipeline.
Each stage entails producing an output file and then inputting it into another tool.
In practice, this translates to extremely long, complicated command line commands.

## This profiling system
The script "executable_test.sh" builds complicated command line strings and runs them based on a config file.
The config file conforms to a simple specification.

## Level 0 specification overview
The specification does this:

[declare command line string]
[run it]
[declare another command line string based off of the previous one]
[run it] 
.
.
.

## Level 1 specification overview

The script builds a command line string according to sections like this:

[prepend_actions] [executable] [unordered command line args] [append_actions] ; [post_actions]

Real example:

About

Profiling utilities for Asgard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages