<?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 : Extreme Performanceproblems</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Extreme Performanceproblems]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 18:29:18 +0000</pubDate>
  <lastBuildDate>Thu, 20 Dec 2007 14:38:46 +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=8977</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[Extreme Performanceproblems : The performanceproblem results...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8977&amp;PID=29676&amp;title=extreme-performanceproblems#29676</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2531">Baldur</a><br /><strong>Subject:</strong> 8977<br /><strong>Posted:</strong> 20 December 2007 at 2:38pm<br /><br />The performanceproblem results in the ADO-Activex !<DIV>If you have an Activex-Exe, ADO works in an other manner as expected.</DIV><DIV>Some objects work very slow, specially the "AbsolutePosition"-Property.</DIV><DIV>&nbsp;</DIV><DIV>Somtimes you can access this property 100,000 times in 1 second, somtimes only 500 times.</DIV><DIV>I can't find any reason for this difference.</DIV><DIV>&nbsp;</DIV><DIV>Access to Field-Object's works only a little bit faster.</DIV><DIV>&nbsp;</DIV><DIV>I fill now the reportcontrol complete, tell the records by myself (no access to AbsolutePosition) and use rs.Collect(n) instead of rs(n).value.</DIV><DIV>&nbsp;</DIV><DIV>The Report fills 10 Columns with 10,000 Records now in 3,5 Seconds.</DIV><DIV>&nbsp;</DIV><DIV>With access of AbsolutePosition and Field-Object, i need 70 to 80 seconds !</DIV>]]>
   </description>
   <pubDate>Thu, 20 Dec 2007 14:38:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8977&amp;PID=29676&amp;title=extreme-performanceproblems#29676</guid>
  </item> 
  <item>
   <title><![CDATA[Extreme Performanceproblems : Yes, that&amp;#039;s the Problem. In...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8977&amp;PID=29130&amp;title=extreme-performanceproblems#29130</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2531">Baldur</a><br /><strong>Subject:</strong> 8977<br /><strong>Posted:</strong> 03 December 2007 at 10:13am<br /><br />Yes, that's the Problem.<DIV>In non-virtualmode, the Report is fast as i want, but i need ca. 10 seconds to fill many data and i need much core.</DIV><DIV>The scrolling und moving is than fast.</DIV><DIV>&nbsp;</DIV><DIV>In virtualmode, the first userresponse is very fast (i save time for loading the grid), but the scrolling and moving is heavy.</DIV><DIV>&nbsp;</DIV><DIV>This is the init at form_load:</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; With repReport ' the grid<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With .PaintManager<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ColumnStyle = xtpColumnFlat<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .NoItemsText = ""<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .HideSelection = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .HotTracking = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .InvertColumnOnClick = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .VerticalGridStyle = xtpGridSolid<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .HorizontalGridStyle = xtpGridSolid<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .TextFont.Name = FontName<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .TextFont.Size = FontSize<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .CaptionFont.Name = FontName<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .CaptionFont.Size = FontSize<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShadeSortColumn = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; With .HeaderHeightFormula<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Constant = 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .SelectedRowBackColor = .HighlightBackColor<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .SelectedRowForeColor = .HighlightForeColor<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FreezeColsDividerStyle = xtpReportFreezeColsDividerThin<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FreezeColsDividerColor = vbBlack<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ToolTipContext.Style = xtpToolTipBalloon<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AllowEdit = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .HeaderRowsAllowEdit = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .ShowHeaderRows = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .FocusSubItems = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .MultipleSelection = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set .Icons = gMain.cmdBars.Icons&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' shared Icons<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AutoColumnSizing = False<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AllowColumnResize = True<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .SetCustomDraw xtpCustomBeforeDrawRow Or xtpCustomMeasureRow<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .PaintManager.FixedRowHeight = False<BR>&nbsp;&nbsp;&nbsp; End With<BR></DIV><DIV>If i later get the recordset from the database i do the following</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .SortOrder.DeleteAll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp;no Sort</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Columns.DeleteAll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '&nbsp;no columns<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;.SetVirtualMode Recordset.RecordCount<BR></DIV><DIV>and build all columns from the recordset.fields-collection.</DIV><DIV>&nbsp;</DIV><DIV>finally i call "populate".</DIV><DIV>&nbsp;</DIV><DIV>I use a fixed rowheight of 17.</DIV><DIV>The screen contains only 17 rows, my recordset contains 27 records.</DIV><DIV>&nbsp;</DIV><DIV>The MeasureRow is called twice for each row and for this 17 rows, the report needs 0.8 seconds from 1 row to the next row !</DIV><DIV>&nbsp;</DIV><DIV>following events occur:</DIV><DIV><DIV>&nbsp;</DIV><DIV>5 events BeforeDrawRow, row 1&nbsp;columns 1 to 5</DIV></DIV><DIV>1 event MeasureRow, row 1</DIV><DIV>5 events BeforeDrawRow, row 1&nbsp;columns 1 to 5</DIV><DIV>1 event MeasureRow, row 1</DIV><DIV><DIV>5 events BeforeDrawRow, row 1&nbsp;columns 1 to 5</DIV><DIV>&nbsp;</DIV></DIV><DIV>this are 17 events, even if it where enough with 6 events.</DIV><DIV>&nbsp;</DIV><DIV>so, for 17 rows i get 289 events !</DIV><DIV>&nbsp;</DIV><DIV>Each cursormovement or itemclick will redraw the whole visible grid.</DIV><DIV>May be, that this is the same at non-virtualmode, but this can not be the reason for this performance.</DIV><DIV>&nbsp;</DIV><DIV>In the demo-virtual-list-project its work very fast !</DIV><DIV>&nbsp;</DIV><DIV>How can i analyse the problem ?</DIV><DIV>Any ideas ?</DIV>]]>
   </description>
   <pubDate>Mon, 03 Dec 2007 10:13:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8977&amp;PID=29130&amp;title=extreme-performanceproblems#29130</guid>
  </item> 
  <item>
   <title><![CDATA[Extreme Performanceproblems : Did you run the poroject in the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8977&amp;PID=29106&amp;title=extreme-performanceproblems#29106</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3128">Bernie</a><br /><strong>Subject:</strong> 8977<br /><strong>Posted:</strong> 02 December 2007 at 7:59pm<br /><br />Did you run the poroject in the VIRTUAL MODE?]]>
   </description>
   <pubDate>Sun, 02 Dec 2007 19:59:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8977&amp;PID=29106&amp;title=extreme-performanceproblems#29106</guid>
  </item> 
  <item>
   <title><![CDATA[Extreme Performanceproblems : I&amp;#039;m using ReportControl 11.2.1,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=8977&amp;PID=29090&amp;title=extreme-performanceproblems#29090</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2531">Baldur</a><br /><strong>Subject:</strong> 8977<br /><strong>Posted:</strong> 01 December 2007 at 1:24pm<br /><br /><P>I'm using ReportControl 11.2.1, but also happens in 11.2.0.</P><DIV>I have a few reportcontrols in different windows and with different modes.</DIV><DIV>The most controls ar used normal with filled records.</DIV><DIV>&nbsp;</DIV><DIV>But two reports i must use the customdraw-feature like in your virtual-list-example, because some default-layouts becomes heavy.</DIV><DIV>&nbsp;</DIV><DIV>If i fill the report with 1500 rows and&nbsp;a 8 columns,&nbsp;1 with icon and 3 hidden the performance degrease very heavy:</DIV><DIV>&nbsp;</DIV><DIV>- simply go down or up with cursorkeys need ca. 0,5 Seconds per row !!</DIV><DIV>- scrolling seams nearly impossible </DIV><DIV>- move with scollbars also works very very slow</DIV><DIV>&nbsp;</DIV><DIV>I've tried to make a simple new projekt with customdraw but there is all working fine and fast.</DIV><DIV>&nbsp;</DIV><DIV>I can't find any reason for the different projects and i need a solution, because i must populate some databaseoutput with 1 to thousends of records.</DIV><DIV>If i fill the entire report i need too much time (and core) before the user see anything.</DIV><DIV>&nbsp;</DIV><DIV>Please help, to find any solution that customdraw works fine as in your virtual-list-example.</DIV>]]>
   </description>
   <pubDate>Sat, 01 Dec 2007 13:24:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=8977&amp;PID=29090&amp;title=extreme-performanceproblems#29090</guid>
  </item> 
 </channel>
</rss>