Profiling Krita

Adrian Page adrian at
Mon Aug 30 19:22:34 CEST 2004

On Monday 30 August 2004 10:59 am, Cyrille Berger wrote:
> > I've already inlined KisTileMgr::tileNum, since that seemed to be a
> > biggy, and it is probably short enough that gcc really does inline it.
> depends of your gcc option. By default, gcc uses -O0, witch means no
> inlining at all.

The default will be -O2 unless you give configure the parameter 
--enable-debug=full, or explicitly set the option in the CXXFLAGS environment 
variable. O0 is no optimisation at all, and anything related to performance 
needs to be tested/profiled with optimisation on. Check the CXXFLAGS settings 
in the makefiles (or MakeVars for unsermake) to see what it's using. If 
there's no -O option, then it will be using the -O0 default.


More information about the kimageshop mailing list