You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/05/09 02:22:55 UTC

[jira] Issue Comment Edited: (STDCXX-928) [HP aCC 6.10] native library faster than stdcxx 4.2.1

    [ https://issues.apache.org/jira/browse/STDCXX-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595436#action_12595436 ] 

sebor edited comment on STDCXX-928 at 5/8/08 5:21 PM:
-------------------------------------------------------------

See also this remotely relevant [post|http://groups.google.com/group/comp.lang.c++/tree/browse_frm/thread/628d8dff300a6f91/651ac09a484eb90a?#doc_df825ebb34ed2ee4].

      was (Author: sebor):
    See also this remote relevant [post|http://groups.google.com/group/comp.lang.c++/tree/browse_frm/thread/628d8dff300a6f91/651ac09a484eb90a?#doc_df825ebb34ed2ee4].
  
> [HP aCC 6.10] native library faster than stdcxx 4.2.1
> -----------------------------------------------------
>
>                 Key: STDCXX-928
>                 URL: https://issues.apache.org/jira/browse/STDCXX-928
>             Project: C++ Standard Library
>          Issue Type: Improvement
>          Components: 23. Containers, 25. Algorithms
>    Affects Versions: 4.2.1
>            Reporter: Martin Sebor
>            Priority: Critical
>
> When compiled with HP aCC 6.10 on HP-UX 11.23/IPF and stdcxx 4.2.1 the Stepanov and Stroustup's [Standard Container Benchmark|http://www.stepanovpapers.com/container_benchmark.cpp] runs with the following output.
> ||size||array||vector<T*>||vector<iterator>||deque||list||set||multiset||
> |10|1.11|1.35|1.34|3.79|3.76|2.41|3.24|
> |100|0.47|0.50|0.50|1.38|1.92|1.07|1.62|
> |1000|0.45|0.48|0.47|1.25|1.56|0.82|1.17|
> |10000|0.45|0.47|0.47|1.23|1.63|0.78|1.09|
> |100000|0.50|0.51|0.51|1.41|3.65|1.29|2.36|
> |1000000|0.56|0.58|0.58|1.51|7.08|3.60|4.62|
> Total runtimes:
> {noformat}
> real    1m6.370s
> user    1m5.920s
> sys     0m0.130s
> {noformat}
> When compiled with the same compiler but the native C++ Standard Library the same benchmarks runs with the output below. Note that in most cases the times in this table are better than in the one above.
> ||size||array||vector<T*>||vector<iterator>||deque||list||set||multiset||
> |10|1.06|1.11|1.12|4.00|3.49|2.35|3.05|
> |100|0.46|0.47|0.47|1.38|1.80|0.98|1.51|
> |1000|0.44|0.45|0.44|1.09|1.46|0.75|1.11|
> |10000|0.42|0.43|0.43|0.97|1.54|0.73|1.02|
> |100000|0.47|0.45|0.46|0.99|3.57|1.25|2.32|
> |1000000|0.51|0.52|0.50|1.02|6.83|3.54|4.70|
> Total runtimes:
> {noformat}
> real    1m3.320s
> user    1m2.800s
> sys     0m0.140s
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.