Skip to content

Latest commit

 

History

History
146 lines (139 loc) · 6.3 KB

LabBook.org

File metadata and controls

146 lines (139 loc) · 6.3 KB

PajeNG’s LabBook

Performance Analysis

Generate paje_zoo.csv with trace file sizes

write.csv(round(runif (10, 100*1024, 10000*1024)), "paje_zoo.csv", row.names=FALSE);

Generate the trace files using poti’s tracegen

for i in $(cat paje_zoo.csv | tail -n+2); do
    ~/dev/poti/b/examples/tracegen --filename=/tmp/trace-${i}.paje --size=${i}
done;

Compile Paje with the release flag

rm -rf build_perf/
mkdir build_perf/; cd build_perf/
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j 4

Run the experiment

for repetition in $(seq 1 10); do
    for size in $(cat paje_zoo.csv | tail -n+2); do
        INPUT=/tmp/trace-${size}.paje
	    OUTPUT=/tmp/trace-${size}.csv
	    TIME=$(build_perf/pj_dump -q -t $INPUT)
	    GITV=$(git log --pretty=format:'%h' -n 1)
	    DATE=$(git log --pretty=format:'%aI' -n 1)
	    echo $GITV,$DATE,$size,$TIME
    done
done >> data/perf_results.csv

img/pj_dump_perf_results.png