[Bug libstdc++/15522] slow IO in g++ 3.X.Y

pcarlini at suse dot de gcc-bugzilla@gcc.gnu.org
Wed May 19 12:16:00 GMT 2004


------- Additional Comments From pcarlini at suse dot de  2004-05-18 19:22 -------
This is already fixed in gcc3.4.0. On my machine (P4-2400), I get,
approximatively (averaging would be needed):

"C++"
0.180u 0.230s 0:00.46 89.1%     0+0k 0+0io 201pf+0w

"C"
0.170u 0.200s 0:00.44 84.0%     0+0k 0+0io 74pf+0w

Thanks for your report, anyway!

P.S. If sync with stdio is not really needed, for best performance consider
calling 'std::ios::sync_with_stdio(false);' before doing any I/O: with 3.3.x
it makes *a lot* of difference.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c++                         |libstdc++
      Known to work|                            |3.4.0
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list