[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: speeding up build by eliminating redundant compiles



On Sat, Jul 06, 2002 at 01:31:47AM +0200, Denis Barbier wrote:
> On my machine, here are processing times for webwml/french/index.fr.html:
>     * Current
> ** WML:Verbose: main |  ipp  mp4h   epl  gm4  div asub hfix hstr slic |  TOTAL
> ** WML:Verbose: ---- | ---- ----- ----- ---- ---- ---- ---- ---- ---- | ------
> ** WML:Verbose: 0.73 | 1.05 11.70  1.54 0.20 0.13 0.10 0.42 0.44 1.61 |  17.92
>     * With new <gettext> approach
> ** WML:Verbose: main |  ipp  mp4h   epl  gm4  div asub hfix hstr slic |  TOTAL
> ** WML:Verbose: ---- | ---- ----- ----- ---- ---- ---- ---- ---- ---- | ------
> ** WML:Verbose: 0.73 | 0.77  7.72  1.44 0.09 0.10 0.07 0.26 0.25 0.48 |  11.91
> 
> So I will do my best to release mp4h 1.3.0 very soon. it will solve this
> issue.

It cuts down on time, but it still takes lots of it. On a lot of pages, we
don't have any use for mp4h's <stuff> other than in the header and in the
footer.

So why not spend those eight seconds to generate the header and the footer
once, and then just change the really variable stuff like the date, the time
and the list of other available languages which would surely take much less?

Just a thought :)

-- 
     2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to debian-www-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: