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++/11602] codecvt<wchar_t, char, mbstate_t> is slow.


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From peturr02 at ru dot is  2003-07-20 13:41 -------
Created an attachment (id=4442)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4442&action=view)
Tool to measure wfilebuf performance.

The poor performance of codecvt causes wfilebuf to be slow also:

time ./wspeed stdio 10000000
0.32user 0.16system 0:00.49elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (67major+12minor)pagefaults 0swaps
time ./wspeed iostream 10000000
4.67user 0.21system 0:05.55elapsed 88%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (72major+21minor)pagefaults 0swaps


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