dodb.cr/paper/graphs/query_index.grap

65 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

2024-05-28 20:37:59 +02:00
.G1
copy "legend.grap"
graph Linear
frame invis ht 3 wid 4 left solid bot solid
coord y 0,40000
ticks left out from 0 to 40000 by 10000
ticks bot off
label left "Request duration with" unaligned "an index (ns)" "(Median)" left 0.8
label right "\s+2Linear" unaligned "scale\s0"
obram = obuncache = obcache = obfifo = obsemi = 0 # old bullets
cbram = cbuncache = cbcache = cbfifo = cbsemi = 0 # current bullets
legendxleft = 100000
legendxright = 250000
legendyup = 15000
legendydown = 2000
boite(legendxleft,legendxright,legendyup,legendydown)
legend(legendxleft,legendxright,legendyup,legendydown)
copy "../data/index.d" thru X
cx = $1*5
y_scale = 1
line_no_mustache(cbram, obram, $3, red)
line_no_mustache(cbcache, obcache, $6, black)
line_no_mustache(cbfifo, obfifo, $9, pink)
line_no_mustache(cbsemi, obsemi, $12, blue)
line_no_mustache(cbuncache, obuncache, $15, green)
ox = cx
X
graph Exponential with .Frame.n at Linear.Frame.s -(0,.05)
frame invis ht 3 wid 4 left solid bot solid
coord log y
#ticks left out from 0 to 50 by 10
ticks bot out at 50000 "50,000", 100000 "100,000", 150000 "150,000", 200000 "200,000", 250000 "250,000"
label left "Request duration with" unaligned "an index (ns)" "(Median)" left 0.8
label bot "Number of cars in the database" down 0.1
label right "\s+2Logarithmic" unaligned "scale\s0"
obram = obuncache = obcache = obfifo = obsemi = 0 # old bullets
cbram = cbuncache = cbcache = cbfifo = cbsemi = 0 # current bullets
copy "../data/index.d" thru X
cx = $1*5
y_scale = 1
line_no_mustache(cbram, obram, $3, red)
line_no_mustache(cbcache, obcache, $6, black)
line_no_mustache(cbfifo, obfifo, $9, pink)
line_no_mustache(cbsemi, obsemi, $12, blue)
line_no_mustache(cbuncache, obuncache, $15, green)
ox = cx
X
.G2