<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Performance issue with big event count</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Performance issue with big event count]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 16:17:29 +0000</pubDate>
  <lastBuildDate>Fri, 29 Jan 2010 15:14:13 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=16029</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Performance issue with big event count : I repeat your case - it was very...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16029&amp;PID=56468&amp;title=performance-issue-with-big-event-count#56468</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 16029<br /><strong>Posted:</strong> 29 January 2010 at 3:14pm<br /><br />I repeat your case - it was very long LOAD time but I don't see performance problem with vertical bar scrolling and with respond]]>
   </description>
   <pubDate>Fri, 29 Jan 2010 15:14:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16029&amp;PID=56468&amp;title=performance-issue-with-big-event-count#56468</guid>
  </item> 
  <item>
   <title><![CDATA[Performance issue with big event count : It seems that there is a significant...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16029&amp;PID=56190&amp;title=performance-issue-with-big-event-count#56190</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=313">Marco1</a><br /><strong>Subject:</strong> 16029<br /><strong>Posted:</strong> 18 January 2010 at 5:20am<br /><br />It seems that there is a significant performance loss, when handling many events, say 1000 and up.<br>Vertical calendar scrolling gets extremly slow and inresponsive, especially on my older PCs and in Debug version.<br><br>Test case:<br>In CalendarDemo I added the following code in CCalendarDemoDoc::AddTestEvents().<br>It adds 15 events per day, starting at 6:00am, repeated for last 3000 days.<br><br>&nbsp; // add test events<br>&nbsp; COleDateTime dtNow(COleDateTime::GetCurrentTime() + spTimeShift);<br>&nbsp; COleDateTimeSpan spDay(1, 0, 0, 0);<br>&nbsp; COleDateTimeSpan sp15min(0, 0, 15, 0);<br>&nbsp; COleDateTimeSpan spHour(0, 1, 0, 0);<br><br>&nbsp; // NEW -------------- add a few thousand events<br>&nbsp; COleDateTime dtInit;<br>&nbsp; dtInit.SetDateTime(COleDateTime::GetCurrentTime().GetYear(), COleDateTime::GetCurrentTime().GetMonth(), COleDateTime::GetCurrentTime().GetDay(), 6, 0, 0);<br>&nbsp; for (int d = 0; d &lt; 3000; d++) {<br>&nbsp;&nbsp;&nbsp; COleDateTimeSpan spD(-d, 0, 0, 0);<br>&nbsp;&nbsp;&nbsp; for (int h = 0; h &lt; 15; h++) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COleDateTimeSpan spH(0, h, 0, 0);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CXTPCalendarEventPtr ptrEvent = NewEvent(pCalendarData, dtInit + spD + spH, dtInit + spD + spH + spHour, _T("Test event"), _T("New Location"), nScheduleID);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ptrEvent-&gt;SetBusyStatus(xtpCalendarBusyStatusTentative);&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!pCalendarData-&gt;AddEvent(ptrEvent)) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ASSERT(FALSE);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp; }<br>&nbsp; }<br>&nbsp; // END -------------------------------<br><br><br>Set the time scale from 2:00 to 23:00 and switch to Work Week view.<br><br><br>Mark, can you please check if you get this performance loss, too and what's its cause?<br><br>Thanx, Marco<br><br>]]>
   </description>
   <pubDate>Mon, 18 Jan 2010 05:20:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16029&amp;PID=56190&amp;title=performance-issue-with-big-event-count#56190</guid>
  </item> 
 </channel>
</rss>