[complement-svn] SF.net SVN: complement: [1341] trunk/explore/perf/STL
Status: Pre-Alpha
Brought to you by:
complement
From: <com...@us...> - 2006-10-18 11:29:30
|
Revision: 1341 http://svn.sourceforge.net/complement/?rev=1341&view=rev Author: complement Date: 2006-10-18 04:29:01 -0700 (Wed, 18 Oct 2006) Log Message: ----------- Resulting report; reorganize building and running tests; add tests about template expression; more tests with malloc_alloc; compare with older results and AMD64 Public variant. Linux fighter 2.6.16.26 #3 SMP Tue Sep 5 23:23:37 MSD 2006 i686 athlon-4 i386 GNU/Linux processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(tm) MP 1500+ stepping : 2 cpu MHz : 1333.544 cache size : 256 KB bogomips : 2670.45 processor : 1 vendor_id : AuthenticAMD cpu family : 6 model : 6 model name : AMD Athlon(tm) Processor stepping : 2 cpu MHz : 1333.544 cache size : 256 KB bogomips : 2667.14 c++ (GCC) 4.1.1 Modified Paths: -------------- trunk/explore/perf/STL/compare.tex trunk/explore/perf/STL/stream/STLport-malloc.dat trunk/explore/perf/STL/stream/STLport.dat trunk/explore/perf/STL/stream/libstdc++.dat trunk/explore/perf/STL/stream/stdio.dat trunk/explore/perf/STL/stream/unistd.dat trunk/explore/perf/STL/string/STLport-malloc.dat trunk/explore/perf/STL/string/STLport-newalloc.dat trunk/explore/perf/STL/string/STLport-ropes.dat trunk/explore/perf/STL/string/STLport.dat trunk/explore/perf/STL/string/libstd++.dat trunk/explore/perf/STL/string/ropes/libstdc++.dat trunk/explore/perf/STL/string/ropes/rope.dat trunk/explore/perf/STL/string/ropes/string.dat trunk/explore/perf/STL/string-MT/STLport-malloc.dat trunk/explore/perf/STL/string-MT/STLport-newalloc.dat trunk/explore/perf/STL/string-MT/STLport-ropes.dat trunk/explore/perf/STL/string-MT/STLport.dat trunk/explore/perf/STL/string-MT/libstd++.dat trunk/explore/perf/STL/strings.gplot Property Changed: ---------------- trunk/explore/perf/STL/ Property changes on: trunk/explore/perf/STL ___________________________________________________________________ Name: svn:ignore - *.pcl compare.dvi compare.aux compare.toc compare.log compare.ps compare.pdf alloc.eps alloc.tex alloc-2_2_5.eps alloc-2_2_5.tex strings-MT-t-libstd.eps strings-MT-t-libstd.tex strings-MT-t-stlp-m.eps strings-MT-t-stlp-m.tex strings-MT-t-stlp-n.eps strings-MT-t-stlp-n.tex strings-MT-t-stlp-r.eps strings-MT-t-stlp-r.tex str-rope.eps str-rope.tex str-rope-1.eps str-rope-1.tex strings-MT.eps strings-MT.tex strings-MT2.eps strings-MT2.tex strings.eps strings.tex streams.eps streams.tex streams-1.eps streams-1.tex str-rope-2.eps str-rope-2.tex intel-amd.eps intel-amd.tex build + *.pcl compare.dvi compare.aux compare.toc compare.log compare.ps alloc.eps alloc.tex alloc-2_2_5.eps alloc-2_2_5.tex strings-MT-t-libstd.eps strings-MT-t-libstd.tex strings-MT-t-stlp-m.eps strings-MT-t-stlp-m.tex strings-MT-t-stlp-n.eps strings-MT-t-stlp-n.tex strings-MT-t-stlp-r.eps strings-MT-t-stlp-r.tex str-rope.eps str-rope.tex str-rope-1.eps str-rope-1.tex strings-MT.eps strings-MT.tex strings-MT2.eps strings-MT2.tex strings.eps strings.tex streams.eps streams.tex streams-1.eps streams-1.tex str-rope-2.eps str-rope-2.tex intel-amd.eps intel-amd.tex amd-amd64.eps amd-amd64.tex build Modified: trunk/explore/perf/STL/compare.tex =================================================================== --- trunk/explore/perf/STL/compare.tex 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/compare.tex 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,4 +1,4 @@ -% -*- LaTeX -*- Time-stamp: <06/10/17 01:47:22 ptr> +% -*- LaTeX -*- Time-stamp: <06/10/18 10:38:28 ptr> \documentclass[a4paper]{article} @@ -23,7 +23,7 @@ \newcommand{\CPP}{\mbox{{C}{+}{+}}} \title{Comparison of Strings Implementations \\ in \CPP{} language} -\author{Petr Ovtchenkov\footnote{\copiright{} Petr Ovtchenkov, 2003--2006. Licensed under the Academic Free License version 3{.}0.}} +\author{Petr Ovtchenkov\footnote{\copyright{} Petr Ovtchenkov, 2003--2006. Licensed under the Academic Free License version 3{.}0.}} \begin{document} @@ -31,7 +31,7 @@ \begin{abstract} This article present comparison of STL strings with copy-on-write and -non-copy-on-write argorithms, based on \STLport{} strings and ropes +non-copy-on-write argorithms, based on \STLport{} strings, ropes and \libstd{} implementations. Some related issues, like fstream and stringstream performance @@ -152,8 +152,10 @@ \input amd-amd64.tex \end{center} \caption{Progress of systems over 3 years: two processors systems. See platforms description - on page~\pageref{AMD}. This graphics show that higher frequency isn't - synonym of better perfomance\label{amd-amd64}} + on page~\pageref{AMD}. This graphics show that progress was not only in + frequency (computer \#2 has twice frequency over \#1, but most times + are more then twice better), + but in core architecture too (or this is compiler?)\label{amd-amd64}} \end{figure} \subsection{String copy\label{params-string} (test \#4)} @@ -197,14 +199,15 @@ \lstinputlisting{string/params-short/str.cc} Test \#6 is default \STLport{}, with ``short string optimization'', while -test \#7 present results without ``short string optimization''. In case of \libstd{} +test \#7 present results without ``short string optimization''\footnote{define +\texttt{\_STLP\_DONT\_USE\_SHORT\_STRING\_OPTIM}}. In case of \libstd{} tests \#6 and \#7 are the same. \STLport{} was build with ``short string'' size 16. ``Short strings optimization'' give test time $3\%$ longer then without ones (for strings with size 20, this test case not shown on figures). But you see, for ``short'' strings test with ``short'' strings optimization -show time that $43\%$ better! +show time that $64\%$ better! \subsection{String proxy objects\label{add-string-proxy} (tests \#8 and \#9)} @@ -229,11 +232,13 @@ \lstinputlisting{string/add-proxy/str.cc} -Test \#8 is default \STLport{}, in test \#9 used temporary string objects. +Test \#8 is default \STLport{}, in test \#9 temporary string objects +in use\footnote{define \texttt{\_STLP\_USE\_TEMPLATE\_EXPRESSION} turn on}. For \libstd{} both \#8 and \#9 are the same test. The figure~\ref{STLport-gpp-strings} show that \STLport{} implementation +in comparison with \libstd{} give better results even without expression templates. But with expression templates the results are better more then twice. @@ -267,8 +272,10 @@ \begin{center} \input alloc-2_2_5.tex \end{center} - \caption{Role of memory allocator in strings implementation (\STLport), \texttt{glibc} 2{.}2{.}5. - Wall time for tests. \label{STLport-alloc-ii-ii-v-strings}} + \caption{Role of memory allocator in strings implementation (\STLport), \texttt{glibc} 2{.}2{.}5, compiler GNU gcc 3{.}4{.}4. + Wall time for tests. + The hardware are the same as for results on figure~\ref{STLport-alloc-strings}. + \label{STLport-alloc-ii-ii-v-strings}} \end{figure} Let's repeat tests from section~\ref{TestsDescr} for \STLport{} with different @@ -284,10 +291,20 @@ The tests 4 and 5 show that cost of \verb|malloc| system call---\verb|node_alloc| reuse once allocated memory. But copy of string's content still present (compare with time of -\libstd{} on fig.~\ref{STLport-gpp-strings}). In the past (\verb|glibc| 2{.}2{.}5) +\libstd{} on fig.~\ref{STLport-gpp-strings}). In the past (\verb|glibc| 2{.}2{.}5, +compiler GNU gcc 3{.}4{.}4) the cost of \verb|malloc| was significant, but now it near zero (compare graphics \ref{STLport-alloc-strings} and \ref{STLport-alloc-ii-ii-v-strings}). +The hardware are the same on figures~\ref{STLport-alloc-strings} +and \ref{STLport-alloc-ii-ii-v-strings}, different Linux kernel +(2{.}6{.}16{.}26 vs 2{.}6{.}12{.}5), different +glibc (2{.}3{.}6 vs 2{.}2{.}5) and different versions of compiler (gcc 4{.}1{.}1 vs 3{.}4{.}4). + +Tests for parameters pass (by referenece, \#5) give the same results, in tests +\#7 (short strings, no ``short string optimization'') older implementation slightly win. +But in other tests fresh implementation is much better! + \section{Strings in Multithreaded Environment} Memory allocation performance in single and multithreaded environments @@ -299,7 +316,7 @@ except that every test run simultaneously in two threads. -\subsection{Comparison of \STLport{} and \libstd in multi-threaded applications} +\subsection{Comparison of \STLport{} and \libstd{} in multi-threaded applications} \begin{figure} \begin{center} @@ -514,31 +531,38 @@ \lstinputlisting{stream/sstream-raw/str2.c} +We see that format output to file show near the same time +for \STLport{}, \libstd{} and (even!) C \verb|fprintf|. For raw write +the \STLport's implementation is a bit better than \libstd{} (C \verb|fwrite| +show best results here, but breakaway is minimal; all has huge advantage over +unbuffered output). With raw write to string stream +(or in char buffer in case of C) the pure C variant is 3--4 times faster, +but this not what iostreams was intended for. + \section{Conclusions} This tests show that \begin{itemize} \item for processing long strings (greater than 50K) the best choice is ropes; - \item if you use strings with sizes $0.5$K--$50$K then strings implementation in - \libstd{} is a best choice; this will be good too if you only pass - strings as parameters, without modifictions; - \item if you work (modify) strings with sizes less then $0.5$K, + \item if you use strings with sizes $0.5$K--$50$K then strings implementation + from native \libstd{} is a good choice; this will be good too if you only pass + strings as parameters, without modifictions (but this is bad programming + technique nevertheless); + \item if you general work is modification of strings with sizes less then $0.5$K, the strings from \STLport{} are for you; \item the time of advantage of \texttt{node\_alloc} in \STLport{} is in the past; progress in allocation algorithms in core system eliminate positive - effect of \texttt{node\_alloc} in single-threaded applications and + effect of \texttt{node\_alloc} in single-threaded applications and demonstrate significant advantage of core system allocators in multi-threaded - applications. + applications; + \item no valuable performance advantage of C format output over \CPP{} iosreams; + \item unbuffered output has ugly performance (is it new fact for you?); + \item no reasons to use \verb|node_alloc| in \STLport{}---\verb|malloc_alloc| + show better (or significant better) results; + \item string proxy object (aka expression template) technique is very useful. \end{itemize} -As for streams, we see that format output to file show near the same time -for \STLport{}, \libstd{} and (even!) C \verb|fprintf|. For raw write -the \STLport's implementation is a bit better than \libstd{} (and both are -significant better than C \verb|fwrite| and all has huge advantage over -unbuffered output). With raw write to string stream -(or in char buffer in case of C) the pure C variant is 3--4 times faster. - % As about Intel$^{\mbox{\tiny\textregistered}}$ vs. AMD$^{\mbox{\tiny\textregistered}}$, no comments---see figure~\ref{intel-amd} on page~\pageref{intel-amd}. \section{References} Modified: trunk/explore/perf/STL/stream/STLport-malloc.dat =================================================================== --- trunk/explore/perf/STL/stream/STLport-malloc.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/stream/STLport-malloc.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,3 +1,3 @@ -1 3.80744 0.0953505 0.155609 0.0175693 3.98723 0.117757 -2 0.836452 0.0205887 0.440827 0.0309237 1.28658 0.027712 -3 1.47209 0.0248532 0.119207 0.0158806 1.59693 0.0123747 +1 3.84824 0.111577 0.153209 0.0229833 4.02322 0.106244 +2 0.884055 0.0295044 0.400025 0.0289569 1.29178 0.0184357 +3 1.47689 0.0320919 0.120007 0.0155957 1.60563 0.0336307 Modified: trunk/explore/perf/STL/stream/STLport.dat =================================================================== --- trunk/explore/perf/STL/stream/STLport.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/stream/STLport.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,3 +1,3 @@ -1 3.67543 0.143584 0.17201 0.0118668 3.85366 0.138982 -2 0.832052 0.0293957 0.438027 0.040529 1.28046 0.0264711 -3 1.5585 0.020878 0.113207 0.0176239 1.68422 0.0360132 +1 3.70383 0.123509 0.151209 0.0310787 3.86542 0.13413 +2 0.872054 0.0349651 0.393224 0.0286262 1.27176 0.0201138 +3 1.5557 0.0268016 0.137608 0.0158199 1.70269 0.0325219 Modified: trunk/explore/perf/STL/stream/libstdc++.dat =================================================================== --- trunk/explore/perf/STL/stream/libstdc++.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/stream/libstdc++.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,3 +1,3 @@ -1 3.76703 0.0884778 0.118807 0.019105 3.91713 0.108897 -2 1.30048 0.0235607 0.283217 0.0249045 1.59446 0.0244671 -3 1.20247 0.0146651 0.140408 0.015332 1.35296 0.0283691 +1 3.76263 0.0822574 0.124007 0.0154928 3.91248 0.109651 +2 1.30888 0.0334109 0.280417 0.027567 1.60143 0.0237134 +3 1.25248 0.0563582 0.135208 0.0310787 1.39578 0.0491862 Modified: trunk/explore/perf/STL/stream/stdio.dat =================================================================== --- trunk/explore/perf/STL/stream/stdio.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/stream/stdio.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,3 +1,3 @@ -1 3.2666 0.0542384 0.0948055 0.0196011 3.36694 0.0608409 -2 0.953259 0.0429743 0.178411 0.0198567 1.1415 0.03652 -3 0.342821 0.0125291 0.134408 0.00983109 0.48269 0.0169453 +1 3.30421 0.0389897 0.110807 0.0175328 3.41915 0.0385334 +2 0.97166 0.065693 0.186811 0.0252397 1.16385 0.0481248 +3 0.352422 0.0204326 0.136408 0.0204325 0.502183 0.0397879 Modified: trunk/explore/perf/STL/stream/unistd.dat =================================================================== --- trunk/explore/perf/STL/stream/unistd.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/stream/unistd.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1 +1 @@ -2 1.00646 0.0756292 74.7483 2.38617 76.5218 2.03552 +2 1.01486 0.0507276 78.3945 3.3528 79.8404 2.95701 Modified: trunk/explore/perf/STL/string/STLport-malloc.dat =================================================================== --- trunk/explore/perf/STL/string/STLport-malloc.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/string/STLport-malloc.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,6 +1,9 @@ -1 4.15706 0.0245159 0.291618 0.024753 4.45047 0.0145832 -2 5.99197 0.00847623 0.0116003 0.00680037 6.00745 0.0125124 -3 5.53715 0.0619407 0.0028 0.00401995 5.54212 0.061754 -4 4.32507 0.0118398 0.004 0.004 4.33124 0.0103204 -5 2.28694 0.0929236 0.0012 0.00183303 2.29032 0.0918935 -7 7.9517 0.120829 0.0044 0.0028 7.95899 0.120235 +1 4.23106 0.0594694 0.272017 0.0312428 4.51852 0.054427 +2 6.10638 0.0200212 0.0024 0.0032 6.11315 0.0199284 +3 5.63515 0.110077 0.0012 0.00256125 5.63984 0.108436 +4 4.35427 0.0433157 0.0036 0.00377359 4.36097 0.0376369 +5 2.23534 0.0384439 0.0040001 0.00473312 2.24053 0.036599 +6 1.28288 0.0150793 0.0028 0.00256125 1.28638 0.0156533 +7 3.76824 0.230312 0.0024 0.00195959 3.78984 0.22189 +8 8.19771 0.202936 0.0032 0.0024 8.2052 0.202743 +9 4.7543 0.119047 0.0032 0.0024 4.76229 0.11736 Modified: trunk/explore/perf/STL/string/STLport-newalloc.dat =================================================================== --- trunk/explore/perf/STL/string/STLport-newalloc.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/string/STLport-newalloc.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,5 +1,5 @@ -1 4.15506 0.047603 0.288818 0.0333152 4.44522 0.0276581 -2 6.03278 0.0229413 0.0072001 0.00466495 6.04101 0.0217808 -3 5.57675 0.174252 0.0064001 0.00542611 5.58463 0.171615 -4 4.49668 0.0195521 0.0036 0.0028 4.50097 0.0188424 -5 2.38815 0.196135 0.004 0.00357771 2.39252 0.197062 +1 4.23786 0.184907 0.294418 0.0355188 4.54736 0.224806 +2 6.13998 0.0463217 0.002 0.00268328 6.14526 0.0465008 +3 5.65955 0.208749 0.0040001 0.00473312 5.67106 0.205009 +4 4.56508 0.0404716 0.0044001 0.00631214 4.5729 0.0381596 +5 2.33335 0.151112 0.0064001 0.00407945 2.34014 0.150833 Modified: trunk/explore/perf/STL/string/STLport-ropes.dat =================================================================== --- trunk/explore/perf/STL/string/STLport-ropes.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/string/STLport-ropes.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,5 +1,5 @@ -1 38.4728 0.133361 0.81165 0.997886 46.2315 21.6565 -2 16.1746 0.0511092 0.0040001 0.00473312 16.1881 0.0564046 -3 26.336 0.358706 0.002 0.00268328 26.3507 0.365177 -4 1.11407 0.00572744 0.0068001 0.00670548 1.12812 0.0176484 -5 0.602837 0.00820789 0.0024 0.00195959 0.614937 0.0274884 +1 38.7304 0.280771 0.616038 0.494266 44.2172 14.5415 +2 16.3194 0.0698888 0.0084003 0.0120605 16.3369 0.0741949 +3 26.5705 0.203846 0.0060001 0.00784885 26.5891 0.200973 +4 1.12167 0.00697482 0.0052001 0.00801028 1.13264 0.0272404 +5 0.606437 0.0118936 0.0012 0.00256125 0.618031 0.0292926 Modified: trunk/explore/perf/STL/string/STLport.dat =================================================================== --- trunk/explore/perf/STL/string/STLport.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/string/STLport.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,9 +1,9 @@ -1 4.17906 0.040164 0.281617 0.0302119 4.46209 0.0267408 -2 6.05598 0.011378 0.004 0.00178885 6.06214 0.0109979 -3 5.40994 0.0137645 0.0048 0.00299333 5.41547 0.013554 -4 4.05905 0.0126562 0.002 0.002 4.06249 0.0127971 -5 2.06333 0.00733256 0.0032 0.0016 2.06686 0.0075237 -6 1.28208 0.00368798 0.0036 0.00215407 1.2859 0.00378534 -7 3.56662 0.0217048 0.0044 0.00417612 3.57178 0.0203811 -8 7.78049 0.0417638 0.0040001 0.00473312 7.78705 0.0388537 -9 4.66909 0.0441768 0.0048001 0.00587897 4.67489 0.0491 +1 4.18266 0.0454763 0.304019 0.0252997 4.50083 0.0701087 +2 6.09478 0.0608038 0.0036 0.00454313 6.10222 0.05731 +3 5.50594 0.0358775 0.0056001 0.00445444 5.55377 0.135609 +4 4.08586 0.0520404 0.0088002 0.00688219 4.10517 0.0477631 +5 2.08973 0.0196952 0.004 0.00438178 2.09943 0.0160191 +6 1.29848 0.0134112 0.0032 0.0024 1.30636 0.0171024 +7 3.61623 0.0569386 0.0044001 0.0054993 3.63742 0.0585603 +8 7.91849 0.105825 0.0032001 0.00499625 7.92673 0.102813 +9 4.7275 0.0744262 0.0028 0.00256125 4.73533 0.0735734 Modified: trunk/explore/perf/STL/string/libstd++.dat =================================================================== --- trunk/explore/perf/STL/string/libstd++.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/string/libstd++.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,9 +1,9 @@ -1 3.31181 0.037842 0.307219 0.025664 3.7788 0.482719 -2 16.181 0.0611397 0.0164007 0.0166334 16.2299 0.0742153 -3 13.9601 0.260384 0.0056001 0.00624843 13.9818 0.251885 -4 1.16087 0.00560026 0.0024 0.00366606 1.16402 0.00563782 -5 0.592037 0.00473329 0.002 0.002 0.594456 0.00395796 -6 1.15887 0.00694014 0.004 0.00357771 1.16275 0.00746458 -7 1.15887 0.00694014 0.004 0.00357771 1.16275 0.00746458 -8 10.8259 0.133324 0.0028 0.0031241 10.832 0.134483 -9 10.8259 0.133324 0.0028 0.0031241 10.832 0.134483 +1 3.34701 0.0388683 0.308819 0.0296558 3.68288 0.0835909 +2 16.2918 0.0687776 0.0084002 0.0084764 16.3113 0.07222 +3 14.1201 0.30164 0.0024 0.00195959 14.1307 0.29803 +4 1.17247 0.011378 0.0024 0.0026533 1.17648 0.0133383 +5 0.610838 0.0342273 0.0032 0.00299333 0.614264 0.0335697 +6 1.16647 0.00842914 0.0024 0.0026533 1.16984 0.00710338 +7 1.16647 0.00842914 0.0024 0.0026533 1.16984 0.00710338 +8 11.0823 0.120741 0.0044 0.00332265 11.0913 0.119443 +9 11.0823 0.120741 0.0044 0.00332265 11.0913 0.119443 Modified: trunk/explore/perf/STL/string/ropes/libstdc++.dat =================================================================== --- trunk/explore/perf/STL/string/ropes/libstdc++.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/string/ropes/libstdc++.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,12 +1,12 @@ -64 0.100806 0.00299333 0.0060002 0.0114897 0.121107 0.0545074 -128 0.103406 0.00405473 0.0046001 0.00860506 0.115436 0.0389932 -512 0.113873 0.0152406 0.0037334 0.00729843 0.122954 0.0336089 -1024 0.130008 0.0310246 0.00330005 0.00644311 0.137414 0.0384821 -4096 0.212733 0.16777 0.00328004 0.00591646 0.219322 0.167403 -10240 0.371423 0.386778 0.00346672 0.00572583 0.377715 0.38612 -20480 0.66307 0.799892 0.00320004 0.00543451 0.668947 0.798717 -30420 1.35698 1.98267 0.00305004 0.00518649 1.36265 1.98174 -40960 2.1456 2.91033 0.00288892 0.00499006 2.15116 2.90953 -51200 2.97883 3.72451 0.109767 0.322104 3.09131 3.94643 -81920 5.96383 10.0969 1.96067 5.86502 7.9283 15.7558 -102400 10.1386 16.8903 3.68173 8.00844 13.8255 24.7041 +64 0.104406 0.00215407 0.0024 0.0026533 0.128095 0.0643866 +128 0.106006 0.00296668 0.0022 0.00267582 0.11911 0.0464113 +512 0.11694 0.0158228 0.00173333 0.00246216 0.126438 0.0393601 +1024 0.133508 0.0318352 0.0016 0.00233238 0.141176 0.042598 +4096 0.216813 0.169151 0.0016 0.0024 0.223627 0.169391 +10240 0.377223 0.390794 0.00186667 0.00247296 0.383518 0.389802 +20480 0.667584 0.798511 0.00205714 0.00250648 0.673383 0.797022 +30420 1.35743 1.97223 0.0022 0.0026 1.36317 1.97156 +40960 2.15333 2.92019 0.00222222 0.00260673 2.15894 2.9195 +51200 2.99255 3.7435 0.106446 0.314058 3.10239 3.96017 +81920 6.06871 10.3773 1.8791 5.62437 7.95239 15.7986 +102400 10.2705 17.1199 3.55282 7.73532 13.8291 24.6758 Modified: trunk/explore/perf/STL/string/ropes/rope.dat =================================================================== --- trunk/explore/perf/STL/string/ropes/rope.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/string/ropes/rope.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,12 +1,12 @@ -64 1.02886 0.00688244 0.0032 0.00299333 1.03165 0.00799225 -128 1.14087 0.00711095 0.002 0.00268328 1.14404 0.00566074 -512 1.40489 0.00499641 0.0036 0.00417612 1.40916 0.00508287 -1024 1.5385 0.00804046 0.0028 0.00401995 1.54323 0.00707439 -4096 1.79291 0.00711093 0.0024 0.00195959 1.7958 0.00716246 -10240 1.92572 0.00697472 0.0024 0.00195959 1.92947 0.00754328 -20480 2.05493 0.0082077 0.0024 0.0026533 2.05723 0.00710228 -30420 2.02253 0.00512269 0.0008 0.0016 2.02537 0.00518897 -40960 2.17214 0.00645024 0.002 0.002 2.1744 0.00605553 -51200 2.10493 0.0112861 0.0028 0.00183303 2.10906 0.00976126 -81920 2.29574 0.00454331 0.0012 0.00183303 2.29743 0.00594112 -102400 2.24134 0.00670557 0.0016 0.00195959 2.24374 0.00708599 +64 1.03886 0.0101278 0.0032 0.00348712 1.04296 0.00982079 +128 1.14847 0.0101908 0.0032001 0.00499625 1.15246 0.0128573 +512 1.42369 0.00725593 0.0028 0.00256125 1.42652 0.00678267 +1024 1.5385 0.00842905 0.0024 0.0026533 1.54182 0.0116331 +4096 1.83211 0.0167821 0.0016 0.00195959 1.83463 0.0169882 +10240 1.95092 0.0148656 0.0016 0.0026533 1.95452 0.0138659 +20480 2.07733 0.0204012 0.0044 0.00377359 2.08296 0.0191713 +30420 2.01813 0.0198606 0.0004 0.0012 2.02 0.0196624 +40960 2.19054 0.0171778 0.0036001 0.00703165 2.19553 0.0223312 +51200 2.15693 0.0075476 0.0032 0.00299333 2.15955 0.00740592 +81920 2.31094 0.0228434 0.0044001 0.00680029 2.31724 0.0286375 +102400 2.25294 0.0207705 0.0024 0.0032 2.25737 0.0235833 Modified: trunk/explore/perf/STL/string/ropes/string.dat =================================================================== --- trunk/explore/perf/STL/string/ropes/string.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/string/ropes/string.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,12 +1,12 @@ -64 0.0748042 0.00312443 0.0016 0.0026533 0.0843156 0.0238957 -128 0.086005 0.002 0.0024 0.0026533 0.0881502 0.00260921 -512 0.139608 0.00280031 0.004 0.00252982 0.143301 0.0011302 -1024 0.217613 0.00195959 0.0028 0.00256125 0.220388 0.0023365 -4096 0.680842 0.00391937 0.0016 0.00195959 0.682749 0.00452557 -10240 1.6497 0.076596 0.0040001 0.00692849 1.65561 0.07492 -20480 3.43861 0.0578089 0.0044001 0.00488286 3.44421 0.0604491 -30420 4.39107 0.0238711 0.002 0.00268328 4.39528 0.0225837 -40960 8.41773 0.0830097 0.0012 0.00183303 8.42173 0.0828798 -51200 11.6355 0.116077 0.0056 0.00195959 11.6445 0.116809 -81920 22.659 0.164012 0.002 0.00268328 22.6668 0.163658 -102400 33.0101 0.0675794 0.0028 0.00256125 33.0225 0.0665109 +64 0.0752043 0.00430847 0.0044001 0.00454338 0.084166 0.0217332 +128 0.082405 0.0026533 0.0032 0.0016 0.0859404 0.00280498 +512 0.144009 0.00309864 0.0008 0.0016 0.144906 0.00209574 +1024 0.220813 0.0024004 0.0028 0.00256125 0.222543 0.0030587 +4096 0.698043 0.0232738 0.0024 0.0026533 0.700214 0.0236067 +10240 1.6645 0.088882 0.0016 0.00195959 1.66813 0.0893904 +20480 3.42261 0.0901824 0.0028 0.00256125 3.42581 0.0892539 +30420 4.39547 0.0216751 0.0012 0.00183303 4.4001 0.0236698 +40960 8.38212 0.0728265 0.0028 0.00256125 8.38691 0.0735861 +51200 11.8039 0.0963023 0.0052001 0.00594668 11.8112 0.0954408 +81920 23.0206 0.14832 0.002 0.002 23.0278 0.148283 +102400 32.68 0.3815 0.0032 0.0024 32.6918 0.382396 Modified: trunk/explore/perf/STL/string-MT/STLport-malloc.dat =================================================================== --- trunk/explore/perf/STL/string-MT/STLport-malloc.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/string-MT/STLport-malloc.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,6 +1,9 @@ -1 8.40252 0.0420406 0.96246 0.401248 4.96751 0.70178 -2 0 0 0.0004 0.0012 0.002307 0.00567755 -3 13.1612 3.35447 0.0080002 0.00536694 6.68921 1.79517 -4 10.4419 1.91468 0.0060001 0.00651174 5.34985 1.09376 -5 4.53468 0.0194495 0.0044 0.0012 2.28911 0.0113522 -7 17.4703 1.75348 0.0100002 0.00544088 8.79241 0.905173 +1 8.50773 0.0492469 0.767648 0.0549492 4.75626 0.0777337 +2 0.0004 0.0012 0 0 0.0037221 0.00988252 +3 13.236 3.31244 0.0128005 0.0190842 6.7368 1.79666 +4 10.3546 1.94889 0.0060001 0.00764228 5.21312 0.970922 +5 5.10672 1.61 0.0024 0.00407922 2.59293 0.843994 +6 2.54056 0.0076844 0.0040001 0.00438205 1.28837 0.0227226 +7 8.58734 1.64516 0.0068 0.0031241 4.36273 0.887227 +8 20.0301 2.28121 0.0176007 0.0130485 10.1719 1.15886 +9 11.2907 2.09846 0.0064001 0.0048002 5.72593 1.05069 Modified: trunk/explore/perf/STL/string-MT/STLport-newalloc.dat =================================================================== --- trunk/explore/perf/STL/string-MT/STLport-newalloc.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/string-MT/STLport-newalloc.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,5 +1,5 @@ -1 0 0 0.0004 0.0012 0.0024018 0.00595591 -2 0.0004 0.0012 0 0 0.00113 0.00220707 -3 0 0 0 0 0.0014289 0.00313837 -4 0.0004 0.0012 0 0 0.0022156 0.00544453 -5 0.0004 0.0012 0 0 0.0022303 0.00549463 +1 0 0 0.0004 0.0012 0.001664 0.00377142 +2 0 0 0.0004 0.0012 0.0023796 0.00596116 +3 0 0 0.0008 0.0016 0.0015478 0.00345978 +4 0 0 0.0008 0.0016 0.0004941 0.000307979 +5 0 0 0.0004 0.0012 0.0025024 0.00617766 Modified: trunk/explore/perf/STL/string-MT/STLport-ropes.dat =================================================================== --- trunk/explore/perf/STL/string-MT/STLport-ropes.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/string-MT/STLport-ropes.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,5 +1,5 @@ -1 151.839 3.11779 39.4769 2.9413 701.946 122.957 -2 35.1442 0.0658343 0.144809 0.154741 19.073 0.166006 -3 273.087 3.17225 0.422826 0.624575 137.387 1.37411 -4 2.27094 0.0080104 0.0068001 0.00402018 1.16269 0.0365398 -5 1.18287 0.00360042 0.006 0.00409878 0.613921 0.0322286 +1 152.781 2.74145 35.6286 2.63674 783.226 228.047 +2 35.4414 0.0449312 0.32882 0.742039 19.1862 0.181946 +3 263.833 7.23938 0.173611 0.0867455 133.242 2.92608 +4 2.28694 0.00840037 0.0100002 0.00967525 1.17585 0.0446336 +5 1.19407 0.00322509 0.0036 0.00377359 0.617661 0.0261637 Modified: trunk/explore/perf/STL/string-MT/STLport.dat =================================================================== --- trunk/explore/perf/STL/string-MT/STLport.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/string-MT/STLport.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,9 +1,9 @@ -1 8.45413 0.0636832 0.841252 0.0635536 4.69681 0.0123069 -2 0 0 0.0004 0.0012 0.0023791 0.00594233 -3 18.6964 0.45567 0.0128005 0.00587918 9.88164 0.249014 -4 65.3573 2.81207 0.0420022 0.0169952 32.8859 1.40916 -5 27.1641 3.23243 0.0204009 0.0120606 13.7122 1.66887 -6 2.53256 0.0028 0.0012 0.00183303 1.28451 0.0168405 -7 75.2971 1.01556 0.051603 0.0368132 37.9191 0.468911 -8 66.3165 1.56553 0.0424022 0.0239481 33.2749 0.770332 -9 22.0258 0.161011 0.0132004 0.00996858 11.1085 0.110625 +1 8.53453 0.0277291 0.832452 0.0408909 4.78074 0.0179781 +2 0 0 0.0004 0.0012 0.0068787 0.0194178 +3 18.7428 0.481269 0.0080002 0.00737596 9.90119 0.301487 +4 62.9187 3.4982 0.0440025 0.0271898 31.7055 1.67695 +5 25.04 2.09086 0.0128004 0.00854228 12.6247 1.05843 +6 2.55376 0.00265354 0.0028 0.00183303 1.29564 0.0126903 +7 69.5531 4.58372 0.0304016 0.0170845 35.1045 2.06331 +8 65.6845 1.27113 0.0472025 0.0256015 33.0477 0.553838 +9 21.7778 0.493746 0.0096003 0.00598704 11.1189 0.20591 Modified: trunk/explore/perf/STL/string-MT/libstd++.dat =================================================================== --- trunk/explore/perf/STL/string-MT/libstd++.dat 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/string-MT/libstd++.dat 2006-10-18 11:29:01 UTC (rev 1341) @@ -1,9 +1,9 @@ -1 6.77202 0.0625741 1.01846 0.19914 4.06586 0.267526 -2 0 0 0.0012 0.00183303 0.0051849 0.0141821 -3 36.4871 10.8187 0.0432023 0.0404718 18.3421 5.41833 -4 2.29214 0.00593316 0.0028 0.00183303 1.16165 0.0224047 -5 1.16847 0.00280031 0.0044 0.00332265 0.597379 0.0126797 -6 2.29494 0.00694006 0.0044001 0.00454338 1.16298 0.0209739 -7 2.29494 0.00694006 0.0044001 0.00454338 1.16298 0.0209739 -8 28.2342 6.01936 0.0208008 0.0118396 14.2942 3.04222 -9 28.2342 6.01936 0.0208008 0.0118396 14.2942 3.04222 +1 6.85483 0.0315083 0.867254 0.0339808 3.96415 0.0650459 +2 0 0 0.0004 0.0012 0.0060232 0.0168519 +3 39.4017 13.1284 0.0284013 0.0208973 19.8737 6.59532 +4 2.36095 0.0881834 0.0048 0.00391918 1.20312 0.0496791 +5 1.18047 0.00332308 0.002 0.002 0.603908 0.00876683 +6 2.33455 0.0767215 0.0048001 0.00430839 1.19006 0.0407869 +7 2.33455 0.0767215 0.0048001 0.00430839 1.19006 0.0407869 +8 29.7679 6.8736 0.0312018 0.054374 15.2395 3.60464 +9 29.7679 6.8736 0.0312018 0.054374 15.2395 3.60464 Modified: trunk/explore/perf/STL/strings.gplot =================================================================== --- trunk/explore/perf/STL/strings.gplot 2006-10-18 11:20:25 UTC (rev 1340) +++ trunk/explore/perf/STL/strings.gplot 2006-10-18 11:29:01 UTC (rev 1341) @@ -128,7 +128,7 @@ #pause(-1) set output "strings-MT-t-stlp-m.eps" -plot [0.9:5.1] 'string-MT/STLport-malloc.dat' using ($1):($6) notitle w l lt 1, \ +plot [0.9:9.1] 'string-MT/STLport-malloc.dat' using ($1):($6) notitle w l lt 1, \ 'string-MT/STLport-malloc.dat' using ($1):($6):($7) title "malloc" w yerrorbars lt 1, \ 'string-MT/STLport-malloc.dat' using ($1):($2/2) notitle w l lt 2, \ 'string-MT/STLport-malloc.dat' using ($1):($2/2):($3) title "malloc, user time per thread" w yerrorbars lt 2, \ @@ -138,7 +138,7 @@ #pause(-1) set output "strings-MT-t-stlp-r.eps" -plot [0.9:5.1] 'string/STLport-ropes.dat' using ($1):($6) notitle w l lt 1, \ +plot [0.9:9.1] 'string/STLport-ropes.dat' using ($1):($6) notitle w l lt 1, \ 'string/STLport-ropes.dat' using ($1):($6):($7) title "STLport, ropes" w yerrorbars lt 1, \ 'string/STLport-ropes.dat' using ($1):($2/2) notitle w l lt 2, \ 'string/STLport-ropes.dat' using ($1):($2/2):($3) title "STLport, ropes, user time per thread" w yerrorbars lt 2, \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |