[Bug libstdc++/11602] codecvt<wchar_t, char, mbstate_t> is slow.

peturr02 at ru dot is gcc-bugzilla@gcc.gnu.org
Sun Jul 20 13:41:00 GMT 2003


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



More information about the Gcc-bugs mailing list