This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/19642] streaming doubles is very slow compared to sprintf
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jan 2005 14:47:07 -0000
- Subject: [Bug libstdc++/19642] streaming doubles is very slow compared to sprintf
- References: <20050126142651.19642.joerg.richter@pdv-fs.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-01-26 14:47 -------
Wait a minute... Ok, we have got 17140, but here, if the issue is confirmed,
we are talking about 2 orders of magnitude!?!?!
Indeed, on my P4-2400 (gcc3.4.3, actually, similar bevavior for mainline)
I cannot confirm the disaster:
paolo:~/Work> g++ -o t t.cc
paolo:~/Work> time t > /dev/null
0.150u 0.000s 0:00.15 100.0% 0+0k 0+0io 219pf+0w
paolo:~/Work> time t cout > /dev/null
0.170u 0.000s 0:00.17 100.0% 0+0k 0+0io 223pf+0w
Either something AIX specific or I don't know, right now... Can you
possibly profile?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|DUPLICATE |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19642