summaryrefslogtreecommitdiffstats
path: root/plot-data/thread-count-sweep/max-query/plot.plt
diff options
context:
space:
mode:
Diffstat (limited to 'plot-data/thread-count-sweep/max-query/plot.plt')
-rw-r--r--plot-data/thread-count-sweep/max-query/plot.plt36
1 files changed, 36 insertions, 0 deletions
diff --git a/plot-data/thread-count-sweep/max-query/plot.plt b/plot-data/thread-count-sweep/max-query/plot.plt
new file mode 100644
index 0000000..e8a9c8d
--- /dev/null
+++ b/plot-data/thread-count-sweep/max-query/plot.plt
@@ -0,0 +1,36 @@
+set terminal pdfcairo
+
+set format y "%1.1t{/Symbol \264}10^{%L}"
+#set format x "%1.0t{/Symbol \264}10^{%L}"
+
+set rmargin 4
+
+set style line 1 lt 1 lw 3 dashtype 1 ps 1
+set style line 2 lt 2 lw 3 dashtype 2 ps 1
+set style line 3 lt 3 lw 3 dashtype 3 ps 1
+set style line 4 lt 4 lw 3 dashtype 4 ps 1
+set key left top horizontal samplen 2 maxcol 2 width .1
+
+set xtics out nomirror
+set ytics out nomirror
+
+set xlabel "Background Thread Count (nd)"
+set ylabel "Insertion Throughput (ins/s)"
+
+#set title "Insertion Throughput vs. Query Latency (ISAM Point Lookup)"
+
+set output "ins-v-thrd.pdf"
+
+#set xtics 1e6
+#set ytics 1e5
+
+#set xtics 1e6
+
+set logscale x 2
+
+#set yrange [6.0e4:7.5e4]
+set yrange[0:6e6]
+
+plot "60k.txt" using 1:2 with lp ls 1 title "60 μs", \
+ "100k.txt" using 1:2 with lp ls 2 title "100 μs", \
+ "150k.txt" using 1:2 with lp ls 3 title "150 μs", \