Skip to content

Commit 05e2fe9

Browse files
author
Christian Boland
committed
improved plots
1 parent 900a97a commit 05e2fe9

8 files changed

+30
-22
lines changed
Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
fontsize=12
2-
set terminal postscript eps enhanced color fontsize
1+
reset
2+
set terminal postscript enhanced eps solid color
33
set output "out_file"
4-
set title "Allocation Statistics (bench_name)"
5-
set xtics rotate by -90 #rotate labels
4+
set title "Allocation Statistics (bench_name)" font "Helvetica,26"
5+
set xtics rotate by -45 #rotate labels
66
set datafile separator "," #csv is comma separated
7-
set style fill solid 1.00 border 1 #fill bars
7+
set style fill solid 1.00 border 0
8+
set grid ytics
89
set boxwidth 0.6
9-
set ylabel "Number of allocated objects"
10-
set grid ytics #horizontale linien
11-
plot "csv_file" using 2:xtic(1) ti "number of allocated objects" with boxes
10+
set ylabel "Number of allocated objects" font "Helvetica,20"
11+
set key left
12+
plot "csv_file" using 2:xtic(1) ti "Number of objects" with boxes
Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
fontsize=12
2-
set terminal postscript eps enhanced color fontsize
1+
reset
2+
set terminal postscript enhanced eps solid color
33
set output "out_file"
4-
set title "Allocation Statistics (bench_name)"
5-
set xtics rotate by -90 #rotate labels
4+
set title "Allocation Statistics (bench_name)" font "Helvetica,26"
5+
set xtics rotate by -45 #rotate labels
66
set datafile separator "," #csv is comma separated
7-
set style fill solid 1.00 border 1 #fill bars
8-
set boxwidth 0.6
9-
set ylabel "Size of allocated objects"
7+
set style fill solid 1.00 border 0
108
set grid ytics
11-
plot "csv_file" using ($3/1024):xtic(1) ti "size in KByte" with boxes
9+
set boxwidth 0.6
10+
set ylabel "Size of allocated objects in MB" font "Helvetica,20"
11+
set key left
12+
plot "csv_file" using ($3/1024/1024):xtic(1) ti "Cumulated size" with boxes

scripts/gcbench_bad_cache_generational.gp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ set style data histograms #plot histogram style
88
set style fill solid 1.00 border 0 #fill bars
99
set style histogram errorbars gap 2 lw 1
1010
set key left
11+
set grid ytics
1112
plot "benchmark_results/generational_nocache_noTagging_gcbench.csv" using ($2/1000):($3/1000):xtic(1) ti "SOM++ generational (no cache)", \
1213
"benchmark_results/generational_badcache_noTagging_gcbench.csv" using ($2/1000):($3/1000) ti "SOM++ generational (bad cache)", \
13-
"benchmark_results/generational_cache_noTagging_gcbench.csv" using ($2/1000):($3/1000) ti "SOM++ generational (with cache)"
14+
"benchmark_results/generational_cache_noTagging_gcbench.csv" using ($2/1000):($3/1000) ti "SOM++ generational (good cache)"

scripts/gcbench_bad_cache_mark.gp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ set style data histograms #plot histogram style
88
set style fill solid 1.00 border 0 #fill bars
99
set style histogram errorbars gap 2 lw 1
1010
set key left
11+
set grid ytics
1112
plot "benchmark_results/mark_sweep_nocache_noTagging_gcbench.csv" using ($2/1000):($3/1000):xtic(1) ti "SOM++ mark sweep (no cache)", \
1213
"benchmark_results/mark_sweep_badcache_noTagging_gcbench.csv" using ($2/1000):($3/1000) ti "SOM++ mark sweep (bad cache)", \
13-
"benchmark_results/mark_sweep_cache_noTagging_gcbench.csv" using ($2/1000):($3/1000) ti "SOM++ mark sweep (with cache)"
14+
"benchmark_results/mark_sweep_cache_noTagging_gcbench.csv" using ($2/1000):($3/1000) ti "SOM++ mark sweep (good cache)"

scripts/richards_benchmark_bad_cache_generational.gp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ set style data histograms #plot histogram style
88
set style fill solid 1.00 border 0 #fill bars
99
set style histogram errorbars gap 2 lw 1
1010
set key left
11+
set grid ytics
1112
plot "benchmark_results/generational_nocache_noTagging_richards.csv" using 2:3:xtic(1) ti "SOM++ generational (no cache)", \
1213
"benchmark_results/generational_badcache_noTagging_richards.csv" using 2:3 ti "SOM++ generational (bad cache)", \
13-
"benchmark_results/generational_cache_noTagging_richards.csv" using 2:3 ti "SOM++ generational (with cache)"
14+
"benchmark_results/generational_cache_noTagging_richards.csv" using 2:3 ti "SOM++ generational (good cache)"

scripts/richards_benchmark_bad_cache_mark.gp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ set style data histograms #plot histogram style
88
set style fill solid 1.00 border 0 #fill bars
99
set style histogram errorbars gap 2 lw 1
1010
set key left
11+
set grid ytics
1112
plot "benchmark_results/mark_sweep_nocache_noTagging_richards.csv" using 2:3:xtic(1) ti "SOM++ mark sweep (no cache)", \
1213
"benchmark_results/mark_sweep_badcache_noTagging_richards.csv" using 2:3 ti "SOM++ mark sweep (bad cache)", \
13-
"benchmark_results/mark_sweep_cache_noTagging_richards.csv" using 2:3 ti "SOM++ mark sweep (with cache)"
14+
"benchmark_results/mark_sweep_cache_noTagging_richards.csv" using 2:3 ti "SOM++ mark sweep (good cache)"

scripts/som_benchmarks_bad_cache_generational.gp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ set style data histograms #plot histogram style
99
set style fill solid 1.00 border 0 #fill bars
1010
set style histogram errorbars gap 2 lw 1
1111
set key right
12+
set grid ytics
1213
plot "benchmark_results/generational_nocache_noTagging_som.csv" using 2:3:xtic(1) ti "SOM++ generational (no cache)", \
1314
"benchmark_results/generational_badcache_noTagging_som.csv" using 2:3 ti "SOM++ generational (bad cache)", \
14-
"benchmark_results/generational_cache_noTagging_som.csv" using 2:3 ti "SOM++ generational (with cache)"
15+
"benchmark_results/generational_cache_noTagging_som.csv" using 2:3 ti "SOM++ generational (good cache)"

scripts/som_benchmarks_bad_cache_mark.gp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ set style data histograms #plot histogram style
99
set style fill solid 1.00 border 0 #fill bars
1010
set style histogram errorbars gap 2 lw 1
1111
set key right
12+
set grid ytics
1213
plot "benchmark_results/mark_sweep_nocache_noTagging_som.csv" using 2:3:xtic(1) ti "SOM++ mark-sweep (no cache)", \
1314
"benchmark_results/mark_sweep_badcache_noTagging_som.csv" using 2:3 ti "SOM++ mark-sweep (bad cache)", \
14-
"benchmark_results/mark_sweep_cache_noTagging_som.csv" using 2:3 ti "SOM++ mark-sweep (with cache)"
15+
"benchmark_results/mark_sweep_cache_noTagging_som.csv" using 2:3 ti "SOM++ mark-sweep (good cache)"

0 commit comments

Comments
 (0)