is g++ 3.1 too slow?
Reza Roboubi
reza@linisoft.com
Wed Aug 7 13:40:00 GMT 2002
Andrew Pinski wrote:
>
> can you run g++ 3.1 with the option -ftime-report and report
Execution times (seconds)
garbage collection : 0.27 ( 3%) usr 0.00 ( 0%) sys 0.27 ( 3%)
wall
cfg construction : 0.04 ( 0%) usr 0.00 ( 0%) sys 0.03 ( 0%)
wall
life analysis : 0.65 ( 7%) usr 0.04 (13%) sys 0.69 ( 7%)
wall
life info update : 0.29 ( 3%) usr 0.00 ( 0%) sys 0.30 ( 3%)
wall
preprocessing : 0.08 ( 1%) usr 0.01 ( 3%) sys 0.11 ( 1%)
wall
lexical analysis : 0.12 ( 1%) usr 0.03 ( 9%) sys 0.16 ( 2%)
wall
parser : 0.87 (10%) usr 0.11 (34%) sys 0.97 (10%)
wall
expand : 1.11 (12%) usr 0.03 ( 9%) sys 1.14 (12%)
wall
integration : 0.05 ( 1%) usr 0.00 ( 0%) sys 0.05 ( 1%)
wall
jump : 0.08 ( 1%) usr 0.01 ( 3%) sys 0.09 ( 1%)
wall
flow analysis : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%)
wall
mode switching : 0.12 ( 1%) usr 0.00 ( 0%) sys 0.12 ( 1%)
wall
local alloc : 0.80 ( 9%) usr 0.01 ( 3%) sys 0.78 ( 8%)
wall
global alloc : 2.08 (23%) usr 0.03 ( 9%) sys 2.12 (23%)
wall
flow 2 : 0.02 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%)
wall
shorten branches : 0.19 ( 2%) usr 0.00 ( 0%) sys 0.19 ( 2%)
wall
reg stack : 0.15 ( 2%) usr 0.00 ( 0%) sys 0.16 ( 2%)
wall
final : 1.45 (16%) usr 0.04 (12%) sys 1.48 (16%)
wall
symout : 0.06 ( 1%) usr 0.00 ( 0%) sys 0.06 ( 1%)
wall
rest of compilation : 0.51 ( 6%) usr 0.00 ( 0%) sys 0.53 ( 6%)
wall
TOTAL : 9.02 0.32 9.36
> back and also you report the cpu/OS.
from /proc/version I get:
---------------------------
Linux version 2.2.16-3 (root@porky.devel.redhat.com) (gcc version
egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Mon Jun 19 18:10:14
EDT 2000
and the cpu is:
---------------
AMD-K6(tm) 3D processor 350 MHz.
Thanks, Reza.
More information about the Gcc-bugs
mailing list