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().
Created attachment 44555 [details, diff] performance_2004-11-23_inserts.xsl.patch
Created attachment 44556 [details, diff] performance_2004-11-23_util.xsl.patch
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.