Hi Peter, --On April 21, 2010 9:55:21 AM +0200 Peter Mogensen <a...@one.com> wrote:
I'm experiencing slow REPORT/calendar-query responses on medium large calendars. calendarserver is spending a lot of time adding VTIMEZONE components to VEVENTS - and sadly it seems to be the same calculations done every time (all events are the same timezone). tzinfo is cached by vobject (helped by timezones.py), but the settzinfo method on TimezoneComponent is still doing the same job again and again. It would seem obvious to me to cache TimezoneComponent objects, maybe with a validity tag, which gives you the valid timerange for this VTIMEZONE component. This might also help get around the problem that vobject only expands timezone defs from 2000 to 2030 Any gotcha, I've overlooked which explains why TimezoneComponents are not already cached?
Can you send the full request body for the calendar-query REPORTs that you are using so I can take a look at this?
-- Cyrus Daboo _______________________________________________ calendarserver-dev mailing list calendarserver-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev