[Vtigercrm-commits] [vtiger development] #5377: Appointment::readAppointment year and minical optimization
vtiger development
vtiger-tickets at trac.vtiger.com
Sun Oct 5 20:24:38 EDT 2008
#5377: Appointment::readAppointment year and minical optimization
-------------------------------------+--------------------------------------
Reporter: joebordes | Owner: developer
Type: enhancement | Status: new
Priority: unassigned | Milestone: 5.1.0
Component: vtigercrm | Version: 5.0.4
Keywords: calendar slow year view |
-------------------------------------+--------------------------------------
The Calendar year view and toolbar minical calendar month view can be
easily optimized by only extracting one event per day.[[BR]]
As the code is now it will extract all events for all days in the range,
but, both the year view and the minical don't need to know if there are
more than 1 event for a day. They will create the same output if there is
only one event on that day. So if we extract from the database only one
event per day, the result is the same but we reduce the time needed by a
very significant factor.[[BR]]
I attach the necessary patch.
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/5377>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list