Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72227 - Performance enhancements in inserts.xsl and util.xsl
Summary: Performance enhancements in inserts.xsl and util.xsl
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Guide XML (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Xavier Neys (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-23 05:13 UTC by Matthew Kasa (RETIRED)
Modified: 2004-11-23 08:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
performance_2004-11-23_inserts.xsl.patch (performance_2004-11-23_inserts.xsl.patch,7.41 KB, patch)
2004-11-23 05:16 UTC, Matthew Kasa (RETIRED)
Details | Diff
performance_2004-11-23_util.xsl.patch (performance_2004-11-23_util.xsl.patch,1.05 KB, patch)
2004-11-23 05:17 UTC, Matthew Kasa (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Kasa (RETIRED) gentoo-dev 2004-11-23 05:13:46 UTC
Attached are patches to inserts.xsl and util.xsl that should improve XSL transformation performance on /proj/en/metastructure/herds/herds.xml and all documents that utilize func:gettext().
Comment 1 Matthew Kasa (RETIRED) gentoo-dev 2004-11-23 05:16:49 UTC
Created attachment 44555 [details, diff]
performance_2004-11-23_inserts.xsl.patch
Comment 2 Matthew Kasa (RETIRED) gentoo-dev 2004-11-23 05:17:31 UTC
Created attachment 44556 [details, diff]
performance_2004-11-23_util.xsl.patch
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2004-11-23 08:13:19 UTC
Why hadn't anyone thought that up before? ;-)
 util.xsl patched
 inserts.xsl improved as suggested.

FYI (very low transport overhead thanks to Gbit connection):
Full x86 handbook: 0.486s => 0.333s
overview-dyn.xml: 1.385s => 1.034s
herds.xml: 8.587s => 4.701s

A simple fix for great results.
Thanks a lot.