Changeset 4502 for docs/Working/icGrep


Ignore:
Timestamp:
Feb 11, 2015, 5:53:35 PM (4 years ago)
Author:
nmedfort
Message:

Revised table

Location:
docs/Working/icGrep
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • docs/Working/icGrep/evaluation.tex

    r4499 r4502  
    101101% \end{table}
    102102
    103 \begin{table}[ht]\centering % requires booktabs
     103\begin{samepage}
     104\begin{table}\centering % requires booktabs
    104105\small
    105106\begin{tabular}{@{}p{2.7cm}p{10.8cm}@{}}
     
    120121\end{table}
    121122
    122 \begin{table}[h]\centering % requires booktabs
     123\begin{table}\centering % requires booktabs
     124\newcolumntype{T}{c}
    123125\small
    124 \begin{tabular}{@{}p{2.7cm}r@{~--~}rr@{~--~}rr@{~--~}rr@{~--~}rr@{~--~}r@{}}
    125 Expression&\multicolumn{2}{>{\centering}p{2.2cm}}{icgrep}&\multicolumn{2}{>{\centering}p{2.2cm}}{icgrep-mt2}&\multicolumn{2}{>{\centering}p{2.2cm}}{icgrep-mt3}&\multicolumn{2}{>{\centering}p{2.2cm}}{pcre2grep}&\multicolumn{2}{>{\centering}p{2.2cm}}{ugrep541}\\
     126\begin{tabular}{@{}p{3cm}r@{~--~}rp{4pt}r@{~--~}rp{4pt}r@{~--~}rp{4pt}r@{~--~}rp{4pt}@{}}
     127&\multicolumn{6}{c}{\textbf{\icGrep{}}}\\
     128\cmidrule[1pt](lr){2-7}
     129\cmidrule[1pt](lr){8-10}
     130\cmidrule[1pt](lr){11-13}
     131\textbf{Expression}&\multicolumn{3}{T}{\textbf{SEQ}}&\multicolumn{3}{T}{\textbf{MT}}&\multicolumn{3}{T}{\textbf{pcre2grep}}&\multicolumn{3}{T}{\textbf{ugrep541}}\\
    126132\toprule
    127 alphanumeric \#1&2.4&5.0&2.0&4.1&2.0&4.1&8.2&11.3&8.8&11.3\\
    128 alphanumeric \#2&2.3&4.9&1.9&4.0&2.0&4.0&209.9&563.5&182.3&457.9\\
    129 arabic&1.5&3.4&1.1&2.4&1.1&2.5&7.5&270.8&8.9&327.8\\
    130 currency&0.7&2.1&0.6&1.5&0.4&1.3&188.4&352.3&52.8&152.8\\
    131 email&3.0&6.9&0.6&2.1&0.4&1.9&67.2&1442.0&108.8&1022.3\\
     133Alphanumeric \#1&2.4&5.0&&2.1&4.4&&8.2&11.3&&8.8&11.3&\\
     134Alphanumeric \#2&2.3&4.9&&2.0&4.1&&209.9&563.5&&182.3&457.9&\\
     135Arabic&1.5&3.4&&1.2&2.6&&7.5&270.8&&8.9&327.8&\\
     136Currency&0.7&2.1&&0.4&1.4&&188.4&352.3&&52.8&152.8&\\
     137Cyrillic&1.6&3.9&&1.3&2.8&&30.5&49.7&&11.2&20.1&\\
     138Email&3.0&6.9&&2.7&6.4&&67.2&1442.0&&108.8&1022.3&\\
    132139\bottomrule
    133140\end{tabular}
    134 \caption{Matching Times for Complex Expressions}\label{table:complexexpr}
     141\caption{Matching Times for Complex Expressions (Seconds Per GB)}\label{table:complexexpr}
    135142\end{table}
    136143
     144\end{samepage}
    137145
    138146
     
    207215
    208216
    209 \subsection{Single vs. Multithreaded Performance}
    210 
    211 
    212 \begin{figure}
    213 \begin{center}
    214 \pgfplotstableread[col sep = comma]{data/icgrep-scatter-mt.csv}\base
    215 \pgfplotstableread[col sep = comma]{data/icgrep-mt-scatter-mt.csv}\mt
    216 \pgfplotstableread[col sep = comma]{data/icgrep-mt3-scatter-mt.csv}\mtt
    217 \pgfplotstableread[col sep = comma]{data/icgrep-flat-scatter-mt.csv}\flat
    218 \begin{tikzpicture}
    219 \begin{axis}[
    220 grid=both,
    221 x tick label style={ /pgf/number format/1000 sep=},
    222 ylabel={Seconds Per GB ($1000^3$)},
    223 xlabel={Percentage of Matching Lines},
    224 minor y tick num={1},
    225 ymin=0,ymax=3,
    226 xmax=100,
    227 height=0.5\textwidth,
    228 legend style={at={(1.05,0.5)},
    229 anchor=west,legend columns=1,
    230 align=left,draw=none,column sep=2ex}
    231 ]
    232 \addplot+[sharp plot, no markers,line width=2pt,color=blue!60,solid] table {\base};
    233 \addplot+[sharp plot, no markers,line width=2pt,color=red!60,solid] table {\mt};
    234 \addplot+[sharp plot, no markers,line width=2pt,color=brown!60,solid] table {\mtt};
    235 %\addplot+[no markers,line width=2pt,color=green!60,solid] table {\flat};
    236 \legend{icGrep (Base),icGrep (MT2),icGrep (MT3), icGrep (Flat)}
    237 \end{axis}
    238 
    239 
    240 \end{tikzpicture}
    241 \end{center}
    242 \caption{Multithreading Performance}\label{fig:performance_test}
    243 \end{figure}
     217% \subsection{Single vs. Multithreaded Performance}
     218%
     219%
     220% \begin{figure}
     221% \begin{center}
     222% \pgfplotstableread[col sep = comma]{data/icgrep-scatter-mt.csv}\base
     223% \pgfplotstableread[col sep = comma]{data/icgrep-mt-scatter-mt.csv}\mt
     224% \pgfplotstableread[col sep = comma]{data/icgrep-mt3-scatter-mt.csv}\mtt
     225% \pgfplotstableread[col sep = comma]{data/icgrep-flat-scatter-mt.csv}\flat
     226% \begin{tikzpicture}
     227% \begin{axis}[
     228% grid=both,
     229% x tick label style={ /pgf/number format/1000 sep=},
     230% ylabel={Seconds Per GB ($1000^3$)},
     231% xlabel={Percentage of Matching Lines},
     232% minor y tick num={1},
     233% ymin=0,ymax=3,
     234% xmax=100,
     235% height=0.5\textwidth,
     236% legend style={at={(1.05,0.5)},
     237% anchor=west,legend columns=1,
     238% align=left,draw=none,column sep=2ex}
     239% ]
     240% \addplot+[sharp plot, no markers,line width=2pt,color=blue!60,solid] table {\base};
     241% \addplot+[sharp plot, no markers,line width=2pt,color=red!60,solid] table {\mt};
     242% \addplot+[sharp plot, no markers,line width=2pt,color=brown!60,solid] table {\mtt};
     243% %\addplot+[no markers,line width=2pt,color=green!60,solid] table {\flat};
     244% \legend{icGrep (Base),icGrep (MT2),icGrep (MT3), icGrep (Flat)}
     245% \end{axis}
     246%
     247%
     248% \end{tikzpicture}
     249% \end{center}
     250% \caption{Multithreading Performance}\label{fig:performance_test}
     251% \end{figure}
  • docs/Working/icGrep/icgrep.tex

    r4500 r4502  
    44\usepackage{pgfplots}
    55\usepackage{pgfplotstable}
    6 \usepackage{booktabs,siunitx}
     6\usepackage{booktabs,siunitx,ragged2e}
    77\usepackage{subfig}
    88\usepackage{amsmath}
Note: See TracChangeset for help on using the changeset viewer.