Copied to clipboard

Flag this post as spam?

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


  • Carlos 338 posts 472 karma points
    Oct 08, 2012 @ 18:46
    Carlos
    0

    Get Node timer in XSLT

    So, we set up a timer in Razor to see hsow long it takes in seconds and millisecond on how long it takes to pull and render a number of nodes with a specific doctype from the tree.  

    Is there a way to do this with XSLT?  To determine how long it takes to pull nodes from the tree of a certain doctype?

    Thanks

  • Carlos 338 posts 472 karma points
    Oct 26, 2012 @ 20:39
    Carlos
    0

    Was able to find this out in the Stack Trace of how long the Macros loaded.

  • Chriztian Steinmeier 2726 posts 8320 karma points MVP 4x admin c-trib
    Oct 26, 2012 @ 21:45
    Chriztian Steinmeier
    0

    Hi Carlos,

    Just to let you know that the XSLTsearch XSLT file does this - (I believe it's done with a simple C# extension) - you can check the source code for it if you'd like to check very specifically (e.g. around a specific call).

    Also, to get meaningful results, you should proabably know a little about how to best fetch nodes with XSLT; there's much to gain there - you could check this thread for more info...

    /Chriztian

  • Carlos 338 posts 472 karma points
    Oct 27, 2012 @ 00:02
    Carlos
    0

    @Chriztian,

    Yeh, we are using XSLTsearch.  I kind of figure that the stack track is good for our needs.  We just updated our Umbraco installation from 4.7.1.1 to 4.9.  So hopefully there will be some performance enhancements.  The only issue we found was using uComponents 3.0.1 and uQuery before the integration with Umbraco, the XSLT query was faster than the uQuery stuff.

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies