Hi, im getting some preformace issues with my Umbraco site. I thought it may have been the twiiter package, but i remove that and i get some infrequent page load times.
Ive tried the show bug trace it it seems that the following 2 line take the most time. Specifically the current URL.
Ah it looks like there's a 4 second performance over here:
umbracoMacro
Before performing transformation
0.180698223490196
0.000030
Resolve Urls
0
4.16421316613896
3.983515
umbracoMacro
After performing transformation
4.16425908680796
0.000046
Now that is something to worry about, but I can't seem to see what that is. I think the easiest way to debug this now is to temporarily remove all of your macros from the masterpage and start adding them in again one by one. A 4 second slowdown you will notice immediately, so it shouldn't be hard to spot which one of your macro's is giving you this hit.
I think it might be the Twitter feed that you're using there, I would look at that one first.
The change above won't break the feed, just return far fewer results. There is an issue if you have a lot of rewteets tho, which in my case I don't. There are newer APIs that I think Warren was going to check out...
Performance Issues
Hi, im getting some preformace issues with my Umbraco site. I thought it may have been the twiiter package, but i remove that and i get some infrequent page load times.
Ive tried the show bug trace it it seems that the following 2 line take the most time. Specifically the current URL.
umbracoInit handling request 1.93945748155822E-05 0.000019
request handler current url '' 9.78450472427131E-05 0.000078
the slow page load times are not specfic to one page and can come and go. I cache my macro, but ot doesnt seem to affect the slow load time.
Can anyone help with what could taje the page so long to load
Thanks
Martin
That's not slow, that's 0.000058 seconds.. have a look at the rest of the trace though, might be some interesting results there.
Sorry, I haven't really used the debug feature and dont really understand all the information it provides. Im not from a developement background.
All of my pages load slow the first time i view them. Can anyone see where there would be performance issues and where i show generally be looking.
Any help would be great. Thanks
Control Tree
Ah it looks like there's a 4 second performance over here:
Now that is something to worry about, but I can't seem to see what that is. I think the easiest way to debug this now is to temporarily remove all of your macros from the masterpage and start adding them in again one by one. A 4 second slowdown you will notice immediately, so it shouldn't be hard to spot which one of your macro's is giving you this hit.
I think it might be the Twitter feed that you're using there, I would look at that one first.
Thanks Sebastiaan,
Ive cache the twitter feed, which sometime works and sometimes doesnt.
But thanks again, i take your advice and remove the macros starting with the twitter feed.
Sorry,
If I just comment out the macro insert code inside the template, will that stop the macro being loaded or is it still loaded?
Is there a way to turn the macro off?
Thanks
To fix this, edit CWS_twitterStatus.xslt around line 80 and change from:
<!-- Twitter XML URL -->
<xsl:variable name="twitterXMLUrl" select="concat(' http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=', $twitterUsername ,'&include_rts=', $displayNativeRTs ,'&count=200')"/>
To this:
<!-- Twitter XML URL -->
<xsl:variable name="twitterXMLUrl" select="concat(' http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=', $twitterUsername ,'&include_rts=', $displayNativeRTs ,'&count=', $noStatus)"/>
Thanks Karl,
Changing to this line, disables Twitter and makes the site work faster.
Is there something within this twitter feed that is making it so slow.
Or is there an alternative twiiter feed package feed?
The change above won't break the feed, just return far fewer results. There is an issue if you have a lot of rewteets tho, which in my case I don't. There are newer APIs that I think Warren was going to check out...
Thanks Karl,
I ended up changing the twitter macro to a fixed jquery twitter feed. It was just causeig too many problems and really slowing the site down.
Thanks again though.
is working on a reply...