Re: [xslt] xsltApplyOneTemplate
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] xsltApplyOneTemplate
- Date: Fri, 11 Apr 2003 05:19:36 -0400
On Fri, Apr 11, 2003 at 11:00:39AM +0200, email@example.com wrote:
> On Thu, Apr 10, 2003 at 03:54:06PM -0400, Daniel Veillard wrote:
> > On Thu, Apr 10, 2003 at 01:32:07PM -0500, Duhon, Andrew wrote:
> > > Hi,
> > > I am having a problem with applying a stylesheet. Most of the xml
> > > docs and stylesheets we are using are processed in a relatively short time,
> > > less than a second. However we have on the at is taking almost a minute. I
> > > have traced it down to the xsltApplOneTemplate being called over 39,000
> > > times. What I am trying to figure out is if it is the complexity of the xml
> > > or the complexity of the stylesheet that is causing this. Any feedback would
> > > be greatly appreciated.
> > Without any useful data, the answer is "both"
> Yes, in this list you must paste your social security number, shoes size
not having the slightliest idea of what his data looks like nor
for the stylesheet, it's completely impossible to give any informations
about performance results. So it's generic information about XSLT
performances, and yes it heavilly depends BOTH on the stylesheet AND
on the data processed (and the software used to do the XSLT transformation).
The exact same question uneditaed could have been posted on any other
XSLT related mailing-list there is nothing specific to libxslt in the
question and nothing allowing to make a more precise answer.
> and at least the 80% of your source code if you want an answer.
That's your point of view, not mine. I simply don't have time to
debug code from people using the libraries. I state that very clearly,
don't send me code unless it's obvious I won't spend time examining it
because I simply can't. The only thing I immediately noticed in your code
is that it's a memory leak generator, you never seem to free the
structures used, even when they are only referenced as local variable
and not passed on exit of the function. Again I don't have time to debug
other's people code, I think I do already quite enough for the community
and I need to sleep sometimes. So take your rant back, use a debugger and
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
firstname.lastname@example.org | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
] [Thread Prev