dodb.cr/paper/graphs/fifo_query_partition.grap

39 lines
1.0 KiB
Plaintext
Raw Normal View History

2024-06-01 03:19:58 +02:00
.G1
copy "legend.grap"
frame invis ht 3 wid 4 left solid bot solid
coord x 0,5000*2 y 0,4000
ticks left out from 0 to 4000 by 400
ticks bot out from 1000 to 10000 by 1000
label left "Request duration" unaligned "for a partition (µs)" "(Median)" left 0.8
label bot "Number of cars matching the partition" down 0.1
obfifo1 = obfifo5 = obfifo10 = obfifo20 = 0
cbfifo1 = cbfifo5 = cbfifo10 = cbfifo20 = 0
legendxleft = 1000
legendxright = 2500
legendyup = 4000
legendydown = 2500
boite(legendxleft,legendxright,legendyup,legendydown)
legend_common(legendxleft,legendxright,legendyup,legendydown)
copy "../data/fifo_partitions.d" thru X
cx = $1*2
y_scale = 1000
# Since the first access to the data is massively slower than the
# following retrivials, the mustache doesn't provide a better
# understanding of the data.
line_no_mustache(cbfifo1, obfifo1, $3, red)
line_no_mustache(cbfifo5, obfifo5, $6, green)
line_no_mustache(cbfifo10, obfifo10, $9, black)
line_no_mustache(cbfifo20, obfifo20, $12, pink)
ox = cx
X
.G2