RE: g++ 3.3 I/O Performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Which version of GCC are you using (that is, 3.3.0, 3.3.1 or 3.3.2)?  From what I understand, there was a bug report for that and it was supposed to have been fixed in 3.3.2, or is slated to be fixed soon.  It had to do with the I/O implementation calling a slow system function (something like snprintf or something).  Perhaps someone knows better than I, but I know it's definitely not fixed in 3.3.1 or earlier.

Cheers,
Lyle

-----Original Message-----
From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx]On
Behalf Of Torsten Reuss
Sent: Monday, December 15, 2003 2:08 PM
To: gcc-help@xxxxxxxxxxx
Subject: g++ 3.3 I/O Performance


Hi,

I'm wondering if anybody can help me on why g++-3.3 is about 80% slower
than g++-2.95.4 for an I/O intensive program I'm working on.

Now, before I go into the details, that's 80% slower with a call to
ios::sync_with_stdio(false) inserted already. Without that it was 5
times slower.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux