I am trying to create a widget for Sharepoint that will show the average response time of a site collection. I have looked through the API and haven’t been able to find anything. Does anyone know of an API call at either the SPWeb or SPSite level that will give me the average response time?
Share
I believe that you could accomplish your purpose using some combination of the following two links.
SharePoint Web Analytics does not quite have the information you are looking for, but it does come equipped with quite a lot of information relating to the usage of your site. This would allow you to (even without looking at average response times) speed up only the pages which are being used most often. Speeding up those pages would have the most dramatic effect on the average speed anyway. (usually).
LogParser and IISLogs will allow you to generate some reports on response time on the site. However, I am not very familiar with Log Parser, and I don’t believe this is something you’d be able to do in real time.
The top answer shows you how to create the graphs, and the second answer shows how to create them on the fly, but not without some effort on your part.
Using a combination of those two answers, you might be able to generate nightly reports (or hourly, whatever your SLA is) and upload them to SharePoint.