forked from fizzed/template-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbenchmark.plot
More file actions
30 lines (24 loc) · 717 Bytes
/
benchmark.plot
File metadata and controls
30 lines (24 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Labels
set title 'Java Template Engine Performance Comparison'
set ylabel 'Templates rendered per second'
set xlabel 'Template Engine'
set xtics nomirror rotate by -45
# Ranges
set autoscale
# Input
set datafile separator ','
# Output
set terminal pngcairo enhanced font "Verdana,9"
set output 'results.png'
set grid
set key off
set boxwidth 0.8 relative
# box style
set style line 1 lc rgb '#5C91CD' lt 1
set style fill solid
# remove top and right borders
set style line 2 lc rgb '#808080' lt 1
set border 3 back ls 2
set tics nomirror
plot 'results.csv' every ::1 using 0:5:xticlabels(stringcolumn(1)[31:36]) with boxes ls 1,\
'results.csv' every ::1 using 0:($5 + 1500):(sprintf("%d",$5)) with labels