Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-20 Thread Jirka Kosek
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

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-20 Thread deannelson
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, ji...@kosek.cz writes: Jirka Kosek wrote: New build should appear shortly at http://docbook.sourceforge.net/snapshots/

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-20 Thread Sam Fischmann
Unfortunately, I have a custom local.l10n.xml that changes the words used for cross-references. I suppose I can just add this directly to en.xml instead of my customization layer so that I can take advantage of this speed boost. I'll report back when I get around to it. I am very happy to see

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-20 Thread Jirka Kosek
Sam Fischmann wrote: Unfortunately, I have a custom local.l10n.xml that changes the words used for cross-references. I suppose I can just add this directly to en.xml instead of my customization layer so that I can take advantage of this speed boost. I'll report back when I get around to it. I

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-14 Thread Jirka Kosek
Sam Fischmann wrote: Curiously enough, I don't seem to be getting a predictable speed boost on my tests. I have a huge build that runs every night, so I'll have better number for comparison tomorrow. I'm anxious to see what comes out. It might also depend on XSLT processor you are using. I

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-14 Thread Sam Fischmann
I am using Saxon, and on my nightly build (which normally takes a good 355 minutes on an old pentium 4), I saw an 8% improvement in the overall time using the patch you provided yesterday. This percentage is far less than the actual improvement in stylesheet processing time, because my system

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-14 Thread deannelson
Jirka, Those changes were pretty significant for me. I am now seeing a 14-15% improvement from the stock 1.75.2 release. I am processing about 950K (in 34 files) of source and it is now down to 12.5 secs verses 15 seconds with the stock release. This is just for the XSL processing down to an

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-13 Thread Jirka Kosek
Stefan Kost wrote: Sam Fischmann wrote: I, for one, would be interested in seeing a customization layer that implements some of your patches. Do you think you could provide a link some time? http://git.gnome.org/browse/gtk-doc/tree/gtk-doc.xsl check the templates from here on

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-13 Thread deannelson
Jirka, I get 10-12 % on my projects, but they are below 200 pages. Thanks! Regards, Dean Nelson In a message dated 07/13/10 11:18:10 Pacific Daylight Time, ji...@kosek.cz writes: Stefan Kost wrote: Sam Fischmann wrote: I, for one, would be interested in seeing a customization layer that

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-13 Thread Jirka Kosek
deannelson wrote: I get 10-12 % on my projects, but they are below 200 pages. Thanks! If I will find time I can also change localization code so it loads only data for actually used languages. For most documents this would mean not parsing 2 MB of unused XML data which on average machine should

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-07-13 Thread Sam Fischmann
Curiously enough, I don't seem to be getting a predictable speed boost on my tests. I have a huge build that runs every night, so I'll have better number for comparison tomorrow. I'm anxious to see what comes out. Thanks, -Sam On Tue, Jul 13, 2010 at 2:50 PM, Jirka Kosek ji...@kosek.cz wrote:

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-03-13 Thread Bob Stayton
To: Bob Stayton b...@sagehill.net; docbook-apps docbook-apps@lists.oasis-open.org Sent: Friday, March 12, 2010 3:39 PM Subject: Re: [docbook-apps] gentext.template eats 1/3 of CPU Bob I imagine these belong to your client, but would it be possible make something like this freely available? I

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-03-12 Thread Ron Catterall
Bob I imagine these belong to your client, but would it be possible make something like this freely available? I know: just what does the user want and not want. Not easy. And anyway, not DocBook philosophy. Just a thought, there's a lot of Docbook I never use, but I'll stick with the

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-03-12 Thread Sam Fischmann
I, for one, would be interested in seeing a customization layer that implements some of your patches. Do you think you could provide a link some time? -Sam On Fri, Mar 12, 2010 at 5:28 PM, Stefan Kost enso...@hora-obscura.dewrote: thanks for the reply. Thanks to my profiler I could make

Re: [docbook-apps] gentext.template eats 1/3 of CPU

2010-03-12 Thread Stefan Kost
Sam Fischmann wrote: I, for one, would be interested in seeing a customization layer that implements some of your patches. Do you think you could provide a link some time? http://git.gnome.org/browse/gtk-doc/tree/gtk-doc.xsl check the templates from here on