Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mike Chambers 636 posts 1253 karma points c-trib
    Oct 08, 2010 @ 23:51
    Mike Chambers
    0

    Xslt vs usercontrol macro..

    I have read all the posts on when one should use one or the other, but none ascribe any performance stats.

    Ie would doing the exact same in xslt as opposed to a usercontrol via the nodefactory have any performace hit?

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Oct 09, 2010 @ 03:37
    Aaron Powell
    0

    The only reason you'll start seeing major performance differences between XSLT and .NET is when you start having a really large volume of requests and at that point you really should be using caching of your macros anyway.

    XSLT will start loosing performance when you are calling into .NET functions on a frequent basis.

    .NET will start loosing performance when you are traversing large object graphs.

    I wrote a blog a few months back on choosing the right tool for the job: http://farmcode.org/post/2010/07/13/TheFARMe28099s-guide-to-Macros.aspx

Please Sign in or register to post replies

Write your reply to:

Draft