Commits

Martin Geisler committed 9d85797

Performance numbers for OpenOffice

  • Participants
  • Parent commits 57df08a

Comments (0)

Files changed (1)

File openoffice.tex

-\begin{frame}{OpenOffice}
+\begin{frame}[fragile]{OpenOffice}
   Fairly large repository:
   \hfill\begin{tikzpicture}[overlay]
     \node[yshift=1em, below left] {\includegraphics[width=3cm]{openoffice}};
   \end{tikzpicture}
   \begin{itemize}
-  \item 70,000 files
-  \item 2 GB of data
-  \item 270,000 changesets
-  \item 2 GB of history
+  \item 70,000 files, 2,0 GB of data)
+  \item 270,000 changesets, 2,3 GB of history
   \end{itemize}
 
-  Mercurial is still fast on a repository of this size.
-
+  Mercurial is still fast on a repository of this size:
+\begin{lstlisting}
+$ time hg status
+0.45s user 0.15s system 99% cpu |red>0.605 total
+$ time hg tip > /dev/null
+0.28s user 0.03s system 99% cpu |red>0.309 total
+$ time hg log -r DEV300_m50 > /dev/null
+0.30s user 0.04s system 99% cpu |red>0.334 total
+$ time hg log --patch -r DEV300_m50 > /dev/null
+1.16s user 0.04s system 81% cpu |red>1.474 total
+$ time hg diff
+0.74s user 0.16s system 88% cpu |red>1.006 total
+$ time hg commit -m 'Small change'
+1.77s user 0.25s system 98% cpu |red>2.053 total
+\end{lstlisting}
 
 \end{frame}