This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libstdc++/46659] std::list iterator debugging (_GLIBCXX_DEBUG) is much slower than stlport's one.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46659

Pawel Sikora <pluto at agmk dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #8 from Pawel Sikora <pluto at agmk dot net> 2010-12-07 22:19:39 UTC ---
here're the results for current git: 54486c25c3df3bdb314929fe30855f0d3bd2e0b5

200000 elements:

$ time ./t-libstdcxx
./t-libstdcxx  0,09s user 0,01s system 98% cpu 0,109 total
$ time ./t-stlport
./t-stlport  170,91s user 0,01s system 99% cpu 2:50,93 total

100000 elements:

$ time ./t-libstdcxx
./t-libstdcxx  0,05s user 0,00s system 95% cpu 0,056 total
$ time ./t-stlport
./t-stlport  31,59s user 0,02s system 99% cpu 31,622 total

50000 elements:

$ time ./t-libstdcxx
./t-libstdcxx  0,02s user 0,00s system 93% cpu 0,029 total
$ time ./t-stlport
./t-stlport  7,28s user 0,00s system 99% cpu 7,287 total

so... it's fixed.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]