% Where the time goes in one 3-epoch run (cProfile, same machine, same seed). \begin{tikzpicture} \begin{axis}[width=0.86\linewidth, height=4.3cm, xbar stacked, bar width=11pt, y dir=reverse, ytick={0,1,2}, yticklabels={e-means, \PISCES{} v1.0, \PISCES}, xlabel={seconds, DEEP$^*$\,1M, $k=16{,}384$, 3 epochs, 4 threads}, tick label style={font=\scriptsize\sffamily}, label style={font=\small}, xmin=0, xmajorgrids, grid style={pgrey!25}, legend style={font=\scriptsize, draw=none, fill=none, at={(0.5,-0.32)}, anchor=north, legend columns=4, /tikz/every even column/.append style={column sep=8pt}}, enlarge y limits=0.3, axis y line*=left, axis x line*=bottom] \addplot[fill=pnavy!70, draw=pnavy] table[x=search, y=idx] {data/time_breakdown.dat}; \addlegendentry{assignment search} \addplot[fill=pteal!60, draw=pteal] table[x=stats, y=idx] {data/time_breakdown.dat}; \addlegendentry{statistics} \addplot[fill=porange!70, draw=porange] table[x=build, y=idx] {data/time_breakdown.dat}; \addlegendentry{index build} \addplot[fill=pgrey!40, draw=pgrey] table[x=other, y=idx] {data/time_breakdown.dat}; \addlegendentry{other} \end{axis} \end{tikzpicture}