This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Enhance performance test
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Sat, 05 Nov 2011 00:56:09 +0100
- Subject: Re: Enhance performance test
- References: <4EB459FC.6020501@gmail.com>
On 11/04/2011 10:32 PM, François Dumont wrote:
Hi
Here is a patch to enhance the performance test introduced
recently for hashtable. It shows more clearly the 41975 performance
issue. I also introduced a bench using unordered_set<string> so that
we have a tests involving a type with costlier hash functor than the
one used for int. And lastly the bench are run twice, with and without
hash code cached.
2011-11-04 François Dumont <fdumont@gcc.gnu.org>
* testsuite/performance/23_containers/insert_erase/41975.cc: Add
tests to check performance with or without cache of hash code
and with
string type that has a costlier hash functor than int type.
Ok to commit ?
Looks Ok, but, as usual, watch overlong lines!
Paolo.