Hi,
The calendar work fast except when it is on month view. If takes about 10 seconds to switch months. I think it is the color info. Anyway to speed this up?
Oreste
Speed up month to month
6 posts
• Page 1 of 1
Posts: 65
Joined: Wed Dec 16, 2009 9:04 am |
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
Hey Oreste,
10 seconds seems like a very long time and not at all what I'd expect. You'll find a number of tips to speed things up here: http://www.seedcode.com/pmwiki/pmwiki.p ... ndar.Speed John Sindelar
SeedCode |
Posts: 65
Joined: Wed Dec 16, 2009 9:04 am |
HI, it took 19 seconds to switch months. There are no index fields. There are about 3000 records it is looking thru. Does it prefilter before it goes to each month?
Oreste |
Posts: 65
Joined: Wed Dec 16, 2009 9:04 am |
I only have one source.
|
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am |
I'm not sure how you're using "pre-filter", but here is what happens on the month: the calendar finds all the records happening in that month, then does a constrain for those matching the calendar's filters, if any. Then it load these events into the $$vars that draw the calendar. As you move from month to month, the date range changes and it does this again. Thus you'll see speed changes as you navigate into less busy months.
If you're getting 9 seconds and don't have any un-indexed fields on your Source No 1 layout then you likely have too many records being displayed for the hardware / network you're using. The speed article I linked to in the past post contains strategies to deal with this, either filtering the calendar or setting the month to only show all-day events. John Sindelar
SeedCode |
Posts: 65
Joined: Wed Dec 16, 2009 9:04 am |
Yeah, the month to month only shows 5 records per day. I am not sure why they use it since there are 20 records per day. I think i need to ween them off that view or find out what they are doing first
Oreste |
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests