EASTL

View: New views
5 Messages — Rating Filter:   Alert me  

EASTL

by Eric Lemings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 
Since Apache STDCXX is touted as one of, if not the, best standard C++
library in terms of performance, I thought the following document would
be especially interesting read for performance-minded STDCXX maintainers
and users.
 
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html
 
Eric.
 

Re: EASTL

by Martin Sebor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Eric Lemings wrote:
>  
> Since Apache STDCXX is touted as one of, if not the, best standard C++
> library in terms of performance, I thought the following document would
> be especially interesting read for performance-minded STDCXX maintainers
> and users.
>  
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html

I barely just skimmed it but it does look interesting. We started
a benchmarking project some time ago but, unfortunately, it never
got finished. It would be *really* helpful to resurrect and complete
it. My very informal results I run every now and then with gcc on
Linux and Solaris indicate that in the area of iostreams stdcxx is
up to 25% faster than GNU libstdc++ and on par with stdio. I would
very much like to see a comprehensive comparison of other heavily
used components, including string and the other containers. Any
volunteers? ;-)

Martin


Re: EASTL

by Mark Brown-17 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> -----Original Message-----
> From: sebor@...
> Sent: Thu, 10 May 2007 13:56:11 -0600
> To: stdcxx-dev@...
> Subject: Re: EASTL
>
> Eric Lemings wrote:
>>
>> Since Apache STDCXX is touted as one of, if not the, best standard C++
>> library in terms of performance, I thought the following document would
>> be especially interesting read for performance-minded STDCXX maintainers
>> and users.
>>
>> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html
>
> I barely just skimmed it but it does look interesting. We started
> a benchmarking project some time ago but, unfortunately, it never
> got finished. It would be *really* helpful to resurrect and complete
> it. My very informal results I run every now and then with gcc on
> Linux and Solaris indicate that in the area of iostreams stdcxx is
> up to 25% faster than GNU libstdc++ and on par with stdio. I would
> very much like to see a comprehensive comparison of other heavily
> used components, including string and the other containers. Any
> volunteers? ;-)

I would be happy to do some light benchmarking and post my results here if you think it would be useful. Unfortunately, I don't think I can commit to a comprehensive project to cover the whole library.

-- Mark

>
> Martin


RE: EASTL

by Eric Lemings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 

> -----Original Message-----
> From: Mark Brown [mailto:mbrown@...]
> Sent: Thursday, May 10, 2007 11:11 PM
> To: stdcxx-user@...; stdcxx-dev@...
> Cc: stdcxx-user@...
> Subject: Re: EASTL
>
> > -----Original Message-----
> > From: sebor@...
> > Sent: Thu, 10 May 2007 13:56:11 -0600
> > To: stdcxx-dev@...
> > Subject: Re: EASTL
> >
> > Eric Lemings wrote:
> >>
> >> Since Apache STDCXX is touted as one of, if not the, best
> standard C++
> >> library in terms of performance, I thought the following
> document would
> >> be especially interesting read for performance-minded
> STDCXX maintainers
> >> and users.
> >>
> >> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2271.html
> >
> > I barely just skimmed it but it does look interesting. We started
> > a benchmarking project some time ago but, unfortunately, it never
> > got finished. It would be *really* helpful to resurrect and complete
> > it. My very informal results I run every now and then with gcc on
> > Linux and Solaris indicate that in the area of iostreams stdcxx is
> > up to 25% faster than GNU libstdc++ and on par with stdio. I would
> > very much like to see a comprehensive comparison of other heavily
> > used components, including string and the other containers. Any
> > volunteers? ;-)
>
> I would be happy to do some light benchmarking and post my
> results here if you think it would be useful. Unfortunately,
> I don't think I can commit to a comprehensive project to
> cover the whole library.

It would be very useful, I believe in fact necessary in order to garner
the interest of like-minded people who are currently unaware of current
and potential performance advantages in STDCXX.

What sort of light benchmarking did you have in mind?  I've been
scouring
the net for benchmarking suites for C++ standard libraries.  I'm really
surprised to find very little...so far at least.  Vendors must prefer to
keep their benchmarks under wraps, not to mention their results.

Anyone have pointers/links to C++ benchmarking software?

Eric.


RE: EASTL

by Eric Lemings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> -----Original Message-----
> From: Eric Lemings [mailto:lemings@...]
> Sent: Friday, May 11, 2007 10:07 AM
> To: stdcxx-dev@...; stdcxx-user@...
> Subject: RE: EASTL
>
>  
>
...
> Anyone have pointers/links to C++ benchmarking software?

This should be a good benchmark:

http://www.stepanovpapers.com/container_benchmark.cpp 

Eric.

LightInTheBox - Buy quality products at wholesale price!