Calendar:Performance and Speed: Difference between revisions

m
No edit summary
 
Line 3: Line 3:
I spent considerable time examining the code flow and profiling various aspects of getItems in calStorageCalendar.js.  The following data was obtained for a calendar of approximately 1200 items, showing the month-view for February 2006.  Therefore, getItems was called with the following arguments
I spent considerable time examining the code flow and profiling various aspects of getItems in calStorageCalendar.js.  The following data was obtained for a calendar of approximately 1200 items, showing the month-view for February 2006.  Therefore, getItems was called with the following arguments


<code> this.mCalendar.getItems(this.mCalendar.ITEM_FILTER_COMPLETED_ALL |
<code>  
  this.mCalendar.getItems(this.mCalendar.ITEM_FILTER_COMPLETED_ALL |
                       this.mCalendar.ITEM_FILTER_CLASS_OCCURRENCES |
                       this.mCalendar.ITEM_FILTER_CLASS_OCCURRENCES |
                       this.mCalendar.ITEM_FILTER_TYPE_ALL,
                       this.mCalendar.ITEM_FILTER_TYPE_ALL,
289

edits