Copied to clipboard

Flag this post as spam?

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


  • Jeavon Leopold 3008 posts 13221 karma points MVP 7x admin c-trib
    Aug 22, 2014 @ 17:59
    Jeavon Leopold
    0

    Adding profiling to MiniProfiler with Umbraco v7.1

    Is it possible to add my own profiling into the mini profiler. In the announcement of the inclusion of MiniProfiler in Umbraco v6.1 there was this code sample:

    Umbraco.Core.Profiling.Profiler.Instance.Step("Hello World");
    

    But there is no Profiler on Umbraco.Core.Profiling....?

    Thanks,

    Jeavon

  • Sebastiaan Janssen 4899 posts 14655 karma points MVP admin hq
    Aug 23, 2014 @ 15:29
    Sebastiaan Janssen
    100

    Absolutely, but the code was changed a bit before final release:

    using (DisposableTimer.DebugDuration<MyClass>("Measuring parsing algorithm"))
    { 
        //My code
    } 
    
  • Jeavon Leopold 3008 posts 13221 karma points MVP 7x admin c-trib
    Aug 23, 2014 @ 15:52
    Jeavon Leopold
    0

    Brilliant!

  • 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