This is the mail archive of the gcc-patches@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]

Re: [gfortran,patch] PR fortran/28163: Don't call library function for string copying


What are the sizes of aermod with and without your patch?
Checking Polyhedron's posted benchmark results suggest that
a 27% speed up is an important optizimation regardless of
the use of -Os.

Size (in kb) of the aermod binary, at different optimization levels, static linking or dynamic linking. Without the patch, the aermod tree dump calls _gfortran_copy_string 923 times.


* Without the patch:
	-Os	-O2
static	1618	1774
dynamic	745	897

* With the patch:
	-Os	-O2
static	1626	1775
dynamic	753	898


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