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++/19642] streaming doubles is very slow compared to sprintf


------- 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


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