atom feed18 messages in org.oasis-open.lists.docbook-appsRe: [docbook-apps] gentext.template e...
FromSent OnAttachments
Stefan KostMar 8, 2010 6:28 am 
Bob StaytonMar 12, 2010 12:08 pm 
Ron CatterallMar 12, 2010 3:38 pm 
Stefan KostMar 12, 2010 5:28 pm 
Sam FischmannMar 12, 2010 5:38 pm 
Stefan KostMar 12, 2010 8:04 pm 
Bob StaytonMar 13, 2010 10:00 am 
Jirka KosekJul 13, 2010 11:17 am 
deannelsonJul 13, 2010 12:05 pm 
Jirka KosekJul 13, 2010 2:49 pm 
Sam FischmannJul 13, 2010 4:05 pm 
Jirka KosekJul 14, 2010 10:01 am 
Sam FischmannJul 14, 2010 10:27 am 
deannelsonJul 14, 2010 1:42 pm 
Jirka KosekJul 20, 2010 3:45 pm 
deannelsonJul 20, 2010 4:58 pm 
Sam FischmannJul 20, 2010 5:19 pm 
Jirka KosekJul 20, 2010 5:22 pm 
Subject:Re: [docbook-apps] gentext.template eats 1/3 of CPU
From:deannelson (dean@aol.com)
Date:Jul 20, 2010 4:58:50 pm
List:org.oasis-open.lists.docbook-apps

Jirka,

I can confirm a 28% decrease in my compile time with these changes. Wow!

Regards, Dean Nelson

In a message dated 07/20/10 15:45:54 Pacific Daylight Time, jir@kosek.cz
writes: Jirka Kosek wrote:

New build should appear shortly at

http://docbook.sourceforge.net/snapshots/

Please give it a try. If similar speedup will appear in other implementations I will call this quite small patch a big DocBook contribution to a "green IT" buzzword ;-)

I have made few additional changes in order to speed up things little bit. There are result of small benchmark

xsltproc (before opt.) saxon (before opt.) mid-size document 4s (11s) 10s (13.5s) TDG sources 74s (240s) 60s (100s)

If I would be politician I could say that stylesheets are now 3 times faster. ;-) Of course this is true only for very large documents processed by xsltproc which seems not very efficient on large input documents.

Hopefully this is enough for folks who have resorted to create their own forks of stylesheet without localization support.

Jirka

--

------------------------------------------------------------------ Jirka Kosek e-mail: jir@kosek.cz http://xmlguru.cz

------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing

------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member