Skip to content

Commit

Permalink
fix 2 TimeKiller figs
Browse files Browse the repository at this point in the history
  • Loading branch information
FertileFragrance committed Apr 16, 2024
1 parent 8ad2666 commit 8286c70
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 25 deletions.
25 changes: 25 additions & 0 deletions examples/paper-timekiller/experiments/data/tps-min.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
time,tps
0.0 , 811.6666666666666
1.0 , 793.3333333333334
2.0 , 793.3333333333334
3.0 , 2066.6499999999999
4.0 , 1833.3333333333333
5.0 , 1889.6666666666667
6.0 , 1833.3333333333333
7.0 , 1889.6666666666667
8.0 , 1683.35
9.0 , 798.3333333333334
10.0 , 800.0
11.0 , 808.3333333333334
12.0 , 791.6666666666666
13.0 , 803.3333333333334
14.0 , 803.3333333333334
15.0 , 2116.6499999999999
16.0 , 1871.6666666666667
17.0 , 1833.3333333333333
18.0 , 1871.6666666666667
19.0 , 1833.3333333333333
20.0 , 1666.6833333333334
21.0 , 805.0
22.0 , 791.6666666666666
23.0 , 808.3333333333334
Binary file modified examples/paper-timekiller/experiments/exp-decompose.pdf
Binary file not shown.
26 changes: 13 additions & 13 deletions examples/paper-timekiller/experiments/exp-decompose.tex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
xlabel={\#txns},
x tick style={draw=none},
ylabel={Time (s)},
ymax=90,
ymax=20,
ymin=0,
ybar stacked,
bar width=15,
Expand All @@ -39,8 +39,8 @@
\addplot[color=blue, pattern color=blue, pattern=crosshatch] table [x expr=\coordindex, y=load, col sep=comma] {./data/decompose-txns.csv};
\addplot[color=red, pattern color=red, pattern=crosshatch dots] table [x expr=\coordindex, y=sort, col sep=comma] {./data/decompose-txns.csv};
\addplot[color=black, pattern color=black,pattern=north west lines] table [x expr=\coordindex, y=check, col sep=comma] {./data/decompose-txns.csv};
\addplot[color=brown, pattern color=brown, fill=brown] table [x expr=\coordindex, y=gc, col sep=comma] {./data/decompose-txns.csv};
\legend{Loading,Sorting,Checking,GC}
%\addplot[color=brown, pattern color=brown, fill=brown] table [x expr=\coordindex, y=gc, col sep=comma] {./data/decompose-txns.csv};
\legend{Loading,Sorting,Checking}
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
Expand All @@ -50,7 +50,7 @@
xlabel={\#sessions},
x tick style={draw=none},
ylabel={Time (s)},
ymax=3,
ymax=2.5,
ymin=0,
ybar stacked,
bar width=15,
Expand All @@ -62,7 +62,7 @@
\addplot[color=blue, pattern color=blue, pattern=crosshatch] table [x expr=\coordindex, y=load, col sep=comma] {./data/decompose-sessions.csv};
\addplot[color=red, pattern color=red, pattern=crosshatch dots] table [x expr=\coordindex, y=sort, col sep=comma] {./data/decompose-sessions.csv};
\addplot[color=black, pattern color=black,pattern=north west lines] table [x expr=\coordindex, y=check, col sep=comma] {./data/decompose-sessions.csv};
\addplot[color=brown, pattern color=brown, fill=brown] table [x expr=\coordindex, y=gc, col sep=comma] {./data/decompose-sessions.csv};
%\addplot[color=brown, pattern color=brown, fill=brown] table [x expr=\coordindex, y=gc, col sep=comma] {./data/decompose-sessions.csv};
%\legend{Loading,Sorting,Checking,GC}
\end{axis}
\end{tikzpicture}
Expand All @@ -73,7 +73,7 @@
xlabel={\#keys},
x tick style={draw=none},
ylabel={Time (s)},
ymax=3,
ymax=2.5,
ymin=0,
ybar stacked,
bar width=15,
Expand All @@ -85,7 +85,7 @@
\addplot[color=blue, pattern color=blue, pattern=crosshatch] table [x expr=\coordindex, y=load, col sep=comma] {./data/decompose-vars.csv};
\addplot[color=red, pattern color=red, pattern=crosshatch dots] table [x expr=\coordindex, y=sort, col sep=comma] {./data/decompose-vars.csv};
\addplot[color=black, pattern color=black,pattern=north west lines] table [x expr=\coordindex, y=check, col sep=comma] {./data/decompose-vars.csv};
\addplot[color=brown, pattern color=brown, fill=brown] table [x expr=\coordindex, y=gc, col sep=comma] {./data/decompose-vars.csv};
%\addplot[color=brown, pattern color=brown, fill=brown] table [x expr=\coordindex, y=gc, col sep=comma] {./data/decompose-vars.csv};
%\legend{Loading,Sorting,Checking,GC}
\end{axis}
\end{tikzpicture}
Expand All @@ -99,7 +99,7 @@
xlabel={\#ops/txn},
x tick style={draw=none},
%ylabel={Time (s)},
ymax=12.5,
ymax=10,
ymin=0,
ybar stacked,
bar width=15,
Expand All @@ -111,7 +111,7 @@
\addplot[color=blue, pattern color=blue, pattern=crosshatch] table [x expr=\coordindex, y=load, col sep=comma] {./data/decompose-nops.csv};
\addplot[color=red, pattern color=red, pattern=crosshatch dots] table [x expr=\coordindex, y=sort, col sep=comma] {./data/decompose-nops.csv};
\addplot[color=black, pattern color=black,pattern=north west lines] table [x expr=\coordindex, y=check, col sep=comma] {./data/decompose-nops.csv};
\addplot[color=brown, pattern color=brown, fill=brown] table [x expr=\coordindex, y=gc, col sep=comma] {./data/decompose-nops.csv};
%\addplot[color=brown, pattern color=brown, fill=brown] table [x expr=\coordindex, y=gc, col sep=comma] {./data/decompose-nops.csv};
%\legend{Loading,Sorting,Checking,GC}
\end{axis}
\end{tikzpicture}
Expand All @@ -122,7 +122,7 @@
xlabel={read proportion \%},
x tick style={draw=none},
%ylabel={Time (s)},
ymax=3,
ymax=2.5,
ymin=0,
ybar stacked,
bar width=15,
Expand All @@ -134,7 +134,7 @@
\addplot[color=blue, pattern color=blue, pattern=crosshatch] table [x expr=\coordindex, y=load, col sep=comma] {./data/decompose-readpct.csv};
\addplot[color=red, pattern color=red, pattern=crosshatch dots] table [x expr=\coordindex, y=sort, col sep=comma] {./data/decompose-readpct.csv};
\addplot[color=black, pattern color=black,pattern=north west lines] table [x expr=\coordindex, y=check, col sep=comma] {./data/decompose-readpct.csv};
\addplot[color=brown, pattern color=brown, fill=brown] table [x expr=\coordindex, y=gc, col sep=comma] {./data/decompose-readpct.csv};
%\addplot[color=brown, pattern color=brown, fill=brown] table [x expr=\coordindex, y=gc, col sep=comma] {./data/decompose-readpct.csv};
%\legend{Loading,Sorting,Checking,GC}
\end{axis}
\end{tikzpicture}
Expand All @@ -145,7 +145,7 @@
xlabel={ key distribution },
x tick style={draw=none},
%ylabel={Time (s)},
ymax=3,
ymax=2.5,
ymin=0,
ybar stacked,
bar width=15,
Expand All @@ -157,7 +157,7 @@
\addplot[color=blue, pattern color=blue, pattern=crosshatch] table [x expr=\coordindex, y=load, col sep=comma] {./data/decompose-distrib.csv};
\addplot[color=red, pattern color=red, pattern=crosshatch dots] table [x expr=\coordindex, y=sort, col sep=comma] {./data/decompose-distrib.csv};
\addplot[color=black, pattern color=black,pattern=north west lines] table [x expr=\coordindex, y=check, col sep=comma] {./data/decompose-distrib.csv};
\addplot[color=brown, pattern color=brown, fill=brown] table [x expr=\coordindex, y=gc, col sep=comma] {./data/decompose-distrib.csv};
%\addplot[color=brown, pattern color=brown, fill=brown] table [x expr=\coordindex, y=gc, col sep=comma] {./data/decompose-distrib.csv};
%\legend{Loading,Sorting,Checking,GC}
\end{axis}
\end{tikzpicture}
Expand Down
Binary file modified examples/paper-timekiller/experiments/exp-runtime.pdf
Binary file not shown.
27 changes: 15 additions & 12 deletions examples/paper-timekiller/experiments/exp-runtime.tex
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@
ylabel={Time (s)},
ymax=200,
ymin=0,
xtick={0,200000,400000,600000,800000,1000000},
xticklabels={0,2,4,6,8,10},
xtick scale label code/.code={$\cdot 10^{5}$},
legend pos=north west
]
\addplot[color=blue,mark=square,mark size=3pt] table [x=param, y=fast, col sep=comma] {./data/txns.csv};
\addplot[color=red,mark=triangle,mark size=3pt] table [x=param, y=gc10k, col sep=comma] {./data/txns.csv};
\addplot[color=black,mark=x,mark size=3pt] table [x=param, y=gc20k, col sep=comma] {./data/txns.csv};
\addplot[color=brown,mark=o,mark size=3pt] table [x=param, y=gc50k, col sep=comma] {./data/txns.csv};
\legend{fast,gc10k,gc20k,gc50k}
\addplot[color=blue,mark=square,mark size=3pt] table [x=param, y=fast, col sep=comma] {./data/txns.csv};
\legend{gc-10k,gc-20k,gc-50k,gc-$\infty$}
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
Expand All @@ -48,11 +51,11 @@
mark list* \nextlist
}
]
\addplot[color=blue,mark=square,mark size=3pt] table [x=param, y=fast, col sep=comma] {./data/sessions.csv};
\addplot[color=red,mark=triangle,mark size=3pt] table [x=param, y=gc10k, col sep=comma] {./data/sessions.csv};
\addplot[color=black,mark=x,mark size=3pt] table [x=param, y=gc20k, col sep=comma] {./data/sessions.csv};
\addplot[color=brown,mark=o,mark size=3pt] table [x=param, y=gc50k, col sep=comma] {./data/sessions.csv};
%\legend{fast,gc10k,gc20k,gc50k}
\addplot[color=blue,mark=square,mark size=3pt] table [x=param, y=fast, col sep=comma] {./data/sessions.csv};
%\legend{gc-10k,gc-20k,gc-50k,gc-$\infty$}
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
Expand All @@ -63,11 +66,11 @@
ymax=4,
ymin=0,
]
\addplot[color=blue,mark=square,mark size=3pt] table [x=param, y=fast, col sep=comma] {./data/vars.csv};
\addplot[color=red,mark=triangle,mark size=3pt] table [x=param, y=gc10k, col sep=comma] {./data/vars.csv};
\addplot[color=black,mark=x,mark size=3pt] table [x=param, y=gc20k, col sep=comma] {./data/vars.csv};
\addplot[color=brown,mark=o,mark size=3pt] table [x=param, y=gc50k, col sep=comma] {./data/vars.csv};
%\legend{fast,gc10k,gc20k,gc50k}
\addplot[color=blue,mark=square,mark size=3pt] table [x=param, y=fast, col sep=comma] {./data/vars.csv};
%\legend{gc-10k,gc-20k,gc-50k,gc-$\infty$}
\end{axis}
\end{tikzpicture}
\end{minipage}
Expand All @@ -81,11 +84,11 @@
ymax=20,
ymin=0,
]
\addplot[color=blue,mark=square,mark size=3pt] table [x=param, y=fast, col sep=comma] {./data/nops.csv};
\addplot[color=red,mark=triangle,mark size=3pt] table [x=param, y=gc10k, col sep=comma] {./data/nops.csv};
\addplot[color=black,mark=x,mark size=3pt] table [x=param, y=gc20k, col sep=comma] {./data/nops.csv};
\addplot[color=brown,mark=o,mark size=3pt] table [x=param, y=gc50k, col sep=comma] {./data/nops.csv};
%\legend{fast,gc10k,gc20k,gc50k}
\addplot[color=blue,mark=square,mark size=3pt] table [x=param, y=fast, col sep=comma] {./data/nops.csv};
%\legend{gc-10k,gc-20k,gc-50k,gc-$\infty$}
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
Expand All @@ -97,11 +100,11 @@
ymin=0,
legend pos=north east
]
\addplot[color=blue,mark=square,mark size=3pt] table [x=param, y=fast, col sep=comma] {./data/readpct.csv};
\addplot[color=red,mark=triangle,mark size=3pt] table [x=param, y=gc10k, col sep=comma] {./data/readpct.csv};
\addplot[color=black,mark=x,mark size=3pt] table [x=param, y=gc20k, col sep=comma] {./data/readpct.csv};
\addplot[color=brown,mark=o,mark size=3pt] table [x=param, y=gc50k, col sep=comma] {./data/readpct.csv};
%\legend{fast,gc10k,gc20k,gc50k}
\addplot[color=blue,mark=square,mark size=3pt] table [x=param, y=fast, col sep=comma] {./data/readpct.csv};
%\legend{gc-10k,gc-20k,gc-50k,gc-$\infty$}
\end{axis}
\end{tikzpicture}
\begin{tikzpicture}
Expand All @@ -119,11 +122,11 @@
xtick=data,
xticklabels={uniform,zipfian,hotspot}
]
\addplot[color=blue, pattern color=blue, pattern=crosshatch] table [x expr=\coordindex, y=fast, col sep=comma] {./data/distrib.csv};
\addplot[color=red, pattern color=red, pattern=crosshatch dots] table [x expr=\coordindex, y=gc10k, col sep=comma] {./data/distrib.csv};
\addplot[color=black, pattern color=black,pattern=north west lines] table [x expr=\coordindex, y=gc20k, col sep=comma] {./data/distrib.csv};
\addplot[color=brown, pattern color=brown, fill=brown] table [x expr=\coordindex, y=gc50k, col sep=comma] {./data/distrib.csv};
%\legend{fast,gc10k,gc20k,gc50k}
\addplot[color=blue, pattern color=blue, pattern=crosshatch] table [x expr=\coordindex, y=fast, col sep=comma] {./data/distrib.csv};
%\legend{gc-10k,gc-20k,gc-50k,gc-$\infty$}
\end{axis}
\end{tikzpicture}
\end{minipage}
Expand Down

0 comments on commit 8286c70

Please sign in to comment.