<?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</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Chart Control : Performance]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 21 May 2026 05:19:47 +0000</pubDate>
  <lastBuildDate>Mon, 02 May 2011 13:03:39 +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=18210</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 :    SuperMario wrote:Thanks for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64143&amp;title=performance#64143</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 18210<br /><strong>Posted:</strong> 02 May 2011 at 1:03pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by SuperMario" alt="Originally posted by SuperMario" style="vertical-align: text-bottom;" /> <strong>SuperMario wrote:</strong><br /><br />Thanks for the feedback, we are currently looking into the best approach to speed things up.</td></tr></table><div>&nbsp;</div><div>I'm sure you'll do it - keep up the good work, my users love it.</div>]]>
   </description>
   <pubDate>Mon, 02 May 2011 13:03:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64143&amp;title=performance#64143</guid>
  </item> 
  <item>
   <title><![CDATA[Performance : Thanks for the feedback, we are...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64142&amp;title=performance#64142</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 18210<br /><strong>Posted:</strong> 02 May 2011 at 12:26pm<br /><br />Thanks for the feedback, we are currently looking into the best approach to speed things up.]]>
   </description>
   <pubDate>Mon, 02 May 2011 12:26:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64142&amp;title=performance#64142</guid>
  </item> 
  <item>
   <title><![CDATA[Performance :    SadlyI agree about performance...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64089&amp;title=performance#64089</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 18210<br /><strong>Posted:</strong> 27 April 2011 at 7:12am<br /><br />Sadly&nbsp;I agree about performance - having looked at the code I see why. I would like to see much better performance - I'm sure Codejock can increase speed by at least an order of magnitude. Performance at the moment is horrible&nbsp;<img src="http://forum.codejock.com/smileys/smiley19.gif" height="17" width="17" border="0" alt="Cry" title="Cry" /> but visually it's great&nbsp;<img src="http://forum.codejock.com/smileys/smiley2.gif" height="17" width="17" border="0" alt="Wink" title="Wink" /> !]]>
   </description>
   <pubDate>Wed, 27 Apr 2011 07:12:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64089&amp;title=performance#64089</guid>
  </item> 
  <item>
   <title><![CDATA[Performance : I tried to add 10,000 points to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64086&amp;title=performance#64086</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4367">m.geri</a><br /><strong>Subject:</strong> 18210<br /><strong>Posted:</strong> 27 April 2011 at 3:37am<br /><br /><font ="Apple-style-span" face="arial, sans-serif"><div><font ="Apple-style-span" size="3"><span ="Apple-style-span" style="line-height: normal;">I tried to add 10,000 points to the Fast Line sample with 5 lines &nbsp;and it works quite well probably because the view range on X axis is 100 points.</span></font></div><div><font ="Apple-style-span" size="3"><span ="Apple-style-span" style="line-height: normal;">Increasing the number of points of view range to 1000 painting and scrolling is very slow and graph that is obtained is not readable because the lines overlap with each other.</span></font></div><div><font ="Apple-style-span" size="3"><span ="Apple-style-span" style="line-height: normal;">One solution could be to &nbsp;be able to to set the maximum number of data points displayed at once. If the viewer, for example using zoom, selects a period that contains more data points than that this number, the chart groups data into longers periods using a "grouping" function (for example average).</span></font></div><div style="font-size: medium; line-height: normal; "><br></div></font>]]>
   </description>
   <pubDate>Wed, 27 Apr 2011 03:37:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64086&amp;title=performance#64086</guid>
  </item> 
  <item>
   <title><![CDATA[Performance :    ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64085&amp;title=performance#64085</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4367">m.geri</a><br /><strong>Subject:</strong> 18210<br /><strong>Posted:</strong> 27 April 2011 at 3:09am<br /><br />]]>
   </description>
   <pubDate>Wed, 27 Apr 2011 03:09:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64085&amp;title=performance#64085</guid>
  </item> 
  <item>
   <title><![CDATA[Performance : You are right, and the changes...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64076&amp;title=performance#64076</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 18210<br /><strong>Posted:</strong> 26 April 2011 at 8:18am<br /><br />You are right, and the changes you proposed did not do anything for the performance either. Adding and removing seems to just add and remove from an array, and this is ok fast.<DIV>The problem is the drawing or rendering:</DIV><DIV>&nbsp;</DIV><DIV>Enabling the performance counter already added in XTPChartControl gives the following result </DIV><DIV>CXTPChartControl::OnPaint: 150957246 </DIV><DIV>for 3 CXTPChartFastLineSeriesStyle series with 10000 samples each.</DIV><DIV>&nbsp;</DIV><DIV>Which gives approx. 10.5 sec. !</DIV><DIV>&nbsp;</DIV><DIV>-cpede</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 26 Apr 2011 08:18:39 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64076&amp;title=performance#64076</guid>
  </item> 
  <item>
   <title><![CDATA[Performance : I wouldn&amp;#039;t have thought RemoveAll...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64075&amp;title=performance#64075</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 18210<br /><strong>Posted:</strong> 26 April 2011 at 7:29am<br /><br />I wouldn't have thought RemoveAll would be that expensive. &nbsp;Have you tried tracing tick counts to see how long it even takes?]]>
   </description>
   <pubDate>Tue, 26 Apr 2011 07:29:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64075&amp;title=performance#64075</guid>
  </item> 
  <item>
   <title><![CDATA[Performance : Can I do anything to replace the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64074&amp;title=performance#64074</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 18210<br /><strong>Posted:</strong> 26 April 2011 at 7:02am<br /><br />Can I do anything to replace the pPoints-&gt;RemoveAll() call, if I know that I just need to fill it up again? Maybe with less points?<DIV>&nbsp;</DIV><DIV>-cpede</DIV>]]>
   </description>
   <pubDate>Tue, 26 Apr 2011 07:02:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64074&amp;title=performance#64074</guid>
  </item> 
  <item>
   <title><![CDATA[Performance : there are several things you could...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64073&amp;title=performance#64073</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2967">adrien</a><br /><strong>Subject:</strong> 18210<br /><strong>Posted:</strong> 26 April 2011 at 6:51am<br /><br /><div>there are several things you could do perhaps to speed up your loop.</div><div><br></div><div>1. Don't call&nbsp;<span ="Apple-style-span" style="font-family: 'Courier New', Courier, mono; -webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">m_pSeries-&gt;GetPoints() each loop, cache the result</span></div><div><span ="Apple-style-span" style="font-family: 'Courier New', Courier, mono; -webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">2.Tell the array how many points beforehand (</span>CArray::SetSize())<span ="Apple-style-span" style="font-family: 'Courier New', Courier, mono; -webkit-border-horiz&#111;ntal-spacing: 1px; -webkit-border-vertical-spacing: 1px; ">&nbsp;so it doesn't need to do 20000 reallocs</span></div><div><br></div><div>Cheers</div><div><br>Adrien</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 26 Apr 2011 06:51:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64073&amp;title=performance#64073</guid>
  </item> 
  <item>
   <title><![CDATA[Performance : Well, looking at the .NET-like...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64070&amp;title=performance#64070</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=686">cpede</a><br /><strong>Subject:</strong> 18210<br /><strong>Posted:</strong> 26 April 2011 at 2:55am<br /><br />Well, looking at the .NET-like object way CodeJock has implemented it you are right. <BR>&nbsp;<BR>But I must say that I'm&nbsp; actually very disappointed. I', using C++/MFC because of the performance. I have a lot of colleagues writing C#/.NET code and every time I can out-perform regarding performance and efficiency. And thanks to CodeJock I can also make GUI code just as fast as they can. When CodeJock then comes out with a chart control I was actually expecting performance, but what we got was just another slow chart component,&nbsp; probably good for financial charts with up to 100 samples. You can find a trillion of these kind of component on the Internet, good looking but with bad performance. I will go back to ComponentOne Chart until CodeJock at least comes<BR>close to that performance.<DIV>&nbsp;</DIV><DIV>-cpede</DIV>]]>
   </description>
   <pubDate>Tue, 26 Apr 2011 02:55:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18210&amp;PID=64070&amp;title=performance#64070</guid>
  </item> 
 </channel>
</rss>