[development] Strip out theme functions into a .theme file

Larry Garfield larry at garfieldtech.com
Thu Aug 3 19:24:55 UTC 2006

On Thu, August 3, 2006 1:32 pm, Jakub Suchy said:
>> Adrian seems to think it is not a performance issue though.
> Imagine you have 15 activated modules. Every module has 2 theme
> functions, which makes it 30 fopen() calls for every page load. This IS
> performance issue.

That's assuming that you use all 30 theme functions on every page.  You
may only use 4-5.  Remember that the most frequently-used theme functions
are those that are already setup as separate files via the template
engine: page, node, block, etc.

I'm open to suggestions on how to properly benchmark what the performance
difference would be here.

--Larry Garfield

More information about the development mailing list