dodb.cr/paper/graphs/lru_query_partition.grap
2025-01-24 00:02:35 +01:00

38 lines
1 KiB
Text

.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
oblru1 = oblru5 = oblru10 = oblru20 = 0
cblru1 = cblru5 = cblru10 = cblru20 = 0
legendxleft = 1000
legendxright = 2500
legendyup = 4000
legendydown = 2500
boite(legendxleft,legendxright,legendyup,legendydown)
legend_common(legendxleft,legendxright,legendyup,legendydown)
copy "../data/lru_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(cblru1, oblru1, $3, red)
line_no_mustache(cblru5, oblru5, $6, green)
line_no_mustache(cblru10, oblru10, $9, black)
line_no_mustache(cblru20, oblru20, $12, pink)
ox = cx
X
.G2