On Mon, Oct 31, 2011 at 11:48:54PM +0100, Stefan Sauer wrote: > On 09/18/2011 10:24 PM, Glen Hein wrote: > > Hello, > > > > I'm a software developer and I'd like to contribute to Gnome's XML > > project. I've used the libxml software for a long time and I'd like to > > give something back. > > > > I just started a voluntary career break, but I'd like to stay active. > > > > I looked over the TODO file, but I'm not sure which item to tackle. > > Could you recommend an item for someone new to the project? > > > > Thanks, > > Glen Hein > > > > One thing that would be super cool would be multi-threaded xslt > processing (e.g. for chunked document output). Unfortunately again, this > is not trivial at all. But any speedup for xslt processing would be > great. The docbook xml -> html step in gtk-doc is so slow that most > developers to api-doc generation off still :/
Processing chunks in a subthread is an interesting idea. The stylesheet is read-only from a transformation process POV so that may work without too much crazyness... Two suggestions: - what about a reduced simplified DocBook XSLT for gnome, using only what you care about, that could be packaged and registered in the XML Catalog, and potentially simplify the processing running an xsltproc -v on a number of documents and grepping the results may lead to interesting results (but that will be voluminous !). - check where the time is really spent, is that in the XPath engine ? I used to kcachegrind transformation on DocBook and try to find what were the hotspot, I think I had that flattened at the time (6-7 years ago) but with new stylesheets it's possible there is new troubles, as was pointed out recently. Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ dan...@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml