On Thu, Nov 27, 2008 at 02:48:48AM -0500, dolphinling wrote: > strk wrote: > >On Wed, Nov 26, 2008 at 08:32:03PM -0500, dolphinling wrote: > >>boost::scoped_array<unsigned char>::operator[] is called nearly 25 > >>million times from readSWFJpeg3, for 5.67% of the run time, but I don't > >>see a trivial way to eliminate those calls like with getWidth. > > > >I tought that operator would be inlined ? Are you building with inlines > >turned off by any chance ? > > Looks like it was because it was a debug build. I thought gcc kept > optimizations in debug by default, I guess you need to tell it to. In a > non-debug build, that doesn't show in the profiler (and getWidth is up to > 2.64% of the runtime).
Consider copying parts of the profile output to the wiki. We've done it in other occasions, for a broader view and commenting on it: http://wiki.gnashdev.org/Profiling --strk; _______________________________________________ Gnash-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash-dev

