Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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
is working on a reply...