Copied to clipboard

Flag this post as spam?

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


  • Thomas 66 posts 88 karma points
    Aug 28, 2012 @ 12:21
    Thomas
    0

    Huge variations in performance on Document.MakeNew() and .Publish()

    Creating a node through the API has extreme variations in performance - from 650ms to 18seconds. I have narrowed it down to two lines:

    Document Comment = Document.MakeNew(commentTitle, dt, commentAuthor, commentToNodeID)

    Which normally takes 0.10-0.14 seconds but sometimes takes several seconds! (eg. it has been measured to 5.42)

    Comment.Publish(commentAuthor);

    Normally this takes 0.06 seconds, but has been measured to 5.5 seconds.

    Performance monitoring CPU and RAM on the server did'nt show any issues there. There are no errors showing in the stack trace.

    Where should I be looking for the problem? 

    I'm running:

    Umbraco: 4.7.1 (still in debug mode)

    Virtual private server with

    Windows Server 2008 R2 Standard

    Microsoft-IIS/7.5


Please Sign in or register to post replies

Write your reply to:

Draft