Changeset 2511 for docs/Working


Ignore:
Timestamp:
Oct 19, 2012, 8:02:04 PM (7 years ago)
Author:
lindanl
Message:

changes to performance section

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/Working/icXML/performance.tex

    r2510 r2511  
    2525\subsection{Xerces C++ SAXCount}
    2626
    27 SAXCount is the simplest application that counts the elements and characters of a given XML file using the (event based) SAX API.
    28 The SAXCount sample parses an XML file and prints out a count of the number of elements in the file.
     27SAXCount is the simplest application that counts the elements, attributes and characters
     28of a given XML file using the (event based) SAX API.
     29The SAXCount sample parses an XML file and prints out the counts.
    2930
    30 \subsubsection{Workload}
    31 
    32 Table \ref{XMLDocChars} shows the document characteristics of the XML input
    33 files selected for the Xerces C++ SAXCount benchmark. The jawiki.xml
    34 and dewiki.xml XML files represent document-oriented XML
    35 inputs and contain the three-byte and four-byte UTF-8 sequence
    36 required for the UTF-8 encoding of Japanese and German
    37 characters respectively. The remaining data files are dataoriented
    38 XML documents and consist entirely of single byte
    39 encoded ASCII characters.
    40 
    41 \begin{table*}[htbp]
     31\begin{table}
    4232\begin{center}
    4333{
     
    4535\begin{tabular}{|l||l|l|l|l|l|}
    4636\hline
    47 File Name               & dew.xml               & jaw.xml               & roads.gml     & po.xml        & soap.xml \\ \hline   
    48 File Type               & document              & document              & data          & data          & data   \\ \hline     
    49 File Size (kB)          & 66240                 & 7343                  & 11584         & 76450         & 2717 \\ \hline
    50 Markup Item Count       & 406792                & 74882                 & 280724        & 4634110       & 18004 \\ \hline
    51 Markup Density          & 0.07                  & 0.13                  & 0.57          & 0.76          & 0.87  \\ \hline
     37File Name               & jaw.xml               & road.gml      & po.xml        & soap.xml \\ \hline   
     38File Type               & document              & data          & data          & data   \\ \hline     
     39File Size (kB)          & 7343                  & 11584         & 76450         & 2717 \\ \hline
     40Markup Item Count       & 74882                 & 280724        & 4634110       & 18004 \\ \hline
     41Markup Density          & 0.13                  & 0.57          & 0.76          & 0.87  \\ \hline
    5242\end{tabular}
    5343}
     
    5545\caption{XML Document Characteristics}
    5646\label{XMLDocChars}
    57 \end{table*}
     47\end{table}
     48
     49
     50Table \ref{XMLDocChars} shows the document characteristics of the XML input
     51files selected for the Xerces C++ SAXCount benchmark. The jaw.xml
     52represents document-oriented XML inputs and contains the three-byte and four-byte UTF-8 sequence
     53required for the UTF-8 encoding of Japanese characters. The remaining data files are data-oriented
     54XML documents and consist entirely of single byte encoded ASCII characters.
     55
     56Figure \ref{perf_SAX} compares the performance of Xerces, \icXML{} and pipelined \icXML{} in terms of CPU cycles per byte.
     57The speedup for \icXML{} over Xerces is 1.3x to 1.8x.
     58With two threads on the multicore machine, our pipelined version can achieve speedup up to 2.7x.
     59Xerces is substantially slowed by dense markup
     60but \icXML{} is relatively less affected as a result of the parallel processing technique.
     61The pipelined \icXML{} performs even better on higher markup desity files
     62because the dense markup files are well balanced in this application.
    5863
    5964\begin{figure}
    6065\includegraphics[width=0.5\textwidth]{plots/perf_SAX.pdf}
    61 \caption{}
     66\caption{Performance Comparison for SAXCount}
    6267\label{perf_SAX}
    6368\end{figure}
Note: See TracChangeset for help on using the changeset viewer.