This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/11602] codecvt<wchar_t, char, mbstate_t> is slow.
- From: "peturr02 at ru dot is" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jul 2003 13:39:47 -0000
- Subject: [Bug libstdc++/11602] codecvt<wchar_t, char, mbstate_t> is slow.
- References: <20030720133719.11602.peturr02@ru.is>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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:39 -------
Created an attachment (id=4441)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4441&action=view)
Tool to measure codecvt performance
Here are some results:
time ./cspeed iconv 10000
0.20user 0.00system 0:00.20elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (70major+11minor)pagefaults 0swaps
time ./cspeed codecvt 10000
4.81user 0.00system 0:04.82elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (64major+11minor)pagefaults 0swaps