xsl-list
[Top] [All Lists]

RE: [xsl] XSLT vs javascript performance

2010-02-07 16:03:43

When comparing the performance of a high-level language (XSLT) to a
lower-level language (Javascript), the first rule is that the ratio depends
more than anything else on the skill of the programmer writing in the
lower-level language. Unless you factor that as a variable into your
comparison, the results are fairly meaningless.

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay  

-----Original Message-----
From: Rob Belics [mailto:rob_belics(_at_)charter(_dot_)net] 
Sent: 07 February 2010 21:38
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] XSLT vs javascript performance

I'm wondering if anyone has any information on performance of 
xslt transformation speed in the browser vs letting 
javascript work on the DOM from data fetched from the web. 
For example, if the browser already has the xslt file or 
javascript code and some xml data is fetched from a remote 
server over the internet due to the user clicking on a link.
Which could finish processing that data faster? 

After some Googling, I've only found one article that claims 
xslt would be "many times faster" but without any reason for 
saying that. Browsers, recently, have sped up performance of 
their javascript engines quite a bit. Particularly Firefox, 
Webkit and, now, Opera.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>