IO speed slipping again?
Jerry Quinn
jlquinn@optonline.net
Fri Jun 13 14:25:00 GMT 2003
Hi, all. For a little while, the mainline library has been giving
output speeds close to gcc 2.95 (within 10-20%). Some time in the
last week or two, the library slowed way down again. Do any of you
know what might have happened? Fallout from Paolo's work? If not,
I'll try to do a search and locate the patch.
If it's a correctness issue, then I'm likely to be out of luck, but
...
This is the simple test of writing ints and newlines to a file I've
been using to work on the cache stuff.
jlquinn@smaug:~/gcc/test$ g++dev -O2 fstreamtest.cc
jlquinn@smaug:~/gcc/test$ time ./a.out
real 0m11.055s
user 0m10.550s
sys 0m0.480s
jlquinn@smaug:~/gcc/test$ g++-2.95 -O2 fstreamtest.cc
jlquinn@smaug:~/gcc/test$ time ./a.out
real 0m4.038s
user 0m3.540s
sys 0m0.460s
Later,
Jerry Quinn
More information about the Libstdc++
mailing list