This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
The numbers in the table are the number of times faster theThanks! Very useful data, in my opinion!
mt_allocator-based operator new() is relative to the default operator
new() on a sparc-sun-solaris2.8 Sun Netra-T1 (a relatively slow box).
If I set GLIBCXX_FORCE_NEW, then I should see values very close to 1.0. Strangely, this isn't the case for 1024-byte objects which seem to not only be about the same speed as mt_allocator, but are actually _faster_ using mt_allocator's "forced new" than when they just call new directly. I can't explain this yet.
I can't either :( Perhaps knowing a bit more about your benchmark would help...
Thanks again, Paolo.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |