<?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 : High CPU Utilizati&#111;n with Xtreme Suite</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : High CPU Utilizati&#111;n with Xtreme Suite]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 27 May 2026 08:35:13 +0000</pubDate>
  <lastBuildDate>Fri, 05 Mar 2004 07:21:59 +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=497</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[High CPU Utilizati&#111;n with Xtreme Suite : Hi Oleg, I would be happy to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=497&amp;PID=1253&amp;title=high-cpu-utilization-with-xtreme-suite#1253</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=260">Boyd</a><br /><strong>Subject:</strong> 497<br /><strong>Posted:</strong> 05 March 2004 at 7:21am<br /><br /><P>Hi Oleg,</P><P>I would be happy to take a look at the beta.&nbsp; Please send me a private message or e-mail with a link to the files.&nbsp; Would this be a beta of 8.62 or a recompile of 8.61 with performance tweaks?&nbsp; I'm sure you're trying to wrap up the 8.62 release, so I'll try to provide feedback as quickly as possible.</P><P>QA Testing is my official career (software development is a side job), so I'm glad my participation in the forums has helped.</P>]]>
   </description>
   <pubDate>Fri, 05 Mar 2004 07:21:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=497&amp;PID=1253&amp;title=high-cpu-utilization-with-xtreme-suite#1253</guid>
  </item> 
  <item>
   <title><![CDATA[High CPU Utilizati&#111;n with Xtreme Suite : Thans for detailed description...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=497&amp;PID=1251&amp;title=high-cpu-utilization-with-xtreme-suite#1251</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 497<br /><strong>Posted:</strong> 05 March 2004 at 2:08am<br /><br /><P>Thans for detailed description of problem. </P><P>You and SuperMario make good work in our&nbsp;forum.&nbsp;We made some changes and if you wish I can send you beta to test. </P><P>SuperMario, if you want to&nbsp;test beta I will send to you too.</P>]]>
   </description>
   <pubDate>Fri, 05 Mar 2004 02:08:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=497&amp;PID=1251&amp;title=high-cpu-utilization-with-xtreme-suite#1251</guid>
  </item> 
  <item>
   <title><![CDATA[High CPU Utilizati&#111;n with Xtreme Suite : While developing one of my applications...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=497&amp;PID=1243&amp;title=high-cpu-utilization-with-xtreme-suite#1243</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=260">Boyd</a><br /><strong>Subject:</strong> 497<br /><strong>Posted:</strong> 04 March 2004 at 1:05pm<br /><br /><P>While developing one of my applications using the ActiveX Xtreme Suite, I noticed that CPU utilization was abnormally high.&nbsp; I initially attributed this to the type of processing I was doing in the CommandBars 'Update' event to ensure my toolbars were properly enabled/disabled.&nbsp; Since this event was constantly firing when a toolbar was visible, I&nbsp;assumed I needed to minimize the amount&nbsp;of processing performed in this routine.&nbsp; After spending tens of&nbsp;hours trying to&nbsp;minimize and tweak&nbsp;my code to decrease CPU utilization, I ran out of ideas and never got the CPU at an acceptable level.</P><P>I since started working on another application that did not involve a lot of processing in the 'Update' event.&nbsp; I was suprised to later find out that the application still had high CPU utilization.</P><P>I finally decided to build a test applicaiton that was similar in design to my other applications except that&nbsp;it did very little (if any) processing.&nbsp; All it does is load and display forms.&nbsp; There is no updating of any CommandBarControls.</P><P>The application is a typical MDI application.&nbsp; The MDI Form has a CommandBars control that supplies the main menu (no toolbars).&nbsp; Each child window contains two docked panes (one with a PropertyGrid and the other with a TextBox).&nbsp; In one version of the application, the two docked panes also contain a CommandBars object (although nothing is loaded or displayed for those controls).</P><P>Now I have two similar applications:</P><OL><LI>ResourceTest.exe - application with CommandBars on each docked pane in the Child Window</LI><LI>ResourceTest2.exe - application with no CommandBars on the docked panes of the Child Window</LI></OL><P>I then performed some basic tests on two machines.&nbsp; On each machine, I invidivually loaded&nbsp;each of the&nbsp;two applications.&nbsp; I would then open new child windows and watch the percentage of CPU utilization in the Task Manager as I added new windows.&nbsp; I would also check the impact that DocumentTabs had on CPU utilization.&nbsp; Since ResourceTest2.exe did not have CommandBars on each child form, I expected it to consume less of the CPU.&nbsp; The results are below:</P><P><strong>Pentium 4 1.7GHz 256MB RAM WinNT 4.0<BR></strong>ResourceTest.exe<BR>&nbsp;&nbsp;&nbsp; 10 Childs = 20% (20% no Doc Tabs)<BR>&nbsp;&nbsp;&nbsp; 15 Childs = 50% (40% no Doc Tabs)<BR>&nbsp;&nbsp;&nbsp; 18 Childs = 99% (80% no Doc Tabs)<BR>ResourceTest2.exe<BR>&nbsp;&nbsp;&nbsp; 10 Childs =&nbsp; 0% ( 0% no Doc Tabs)<BR>&nbsp;&nbsp;&nbsp; 20 Childs =&nbsp; 0% ( 0% no Doc Tabs)<BR>&nbsp;&nbsp;&nbsp; 30 Childs = 30% (20% no Doc Tabs)<BR>&nbsp;&nbsp;&nbsp; 35 Childs = 99% (25% no Doc Tabs)<BR>&nbsp;&nbsp;&nbsp; 38 Childs = 99% (95% no Doc Tabs)</P><P><strong>Pentium II 400MHz 256MB RAM Win2000<BR></strong>ResourceTest.exe<BR>&nbsp;&nbsp;&nbsp;&nbsp; 5 Childs = 10% (10% no Doc Tabs)<BR>&nbsp;&nbsp;&nbsp; 10 Childs = 80% (70% no Doc Tabs)<BR>&nbsp;&nbsp;&nbsp; 15 Childs = 99% (95% no Doc Tabs)<BR>ResourceText2.exe<BR>&nbsp;&nbsp;&nbsp; 10 Childs = 10% ( 5% no Doc Tabs)<BR>&nbsp;&nbsp;&nbsp; 20 Childs = 70% (50% no Doc Tabs)<BR>&nbsp;&nbsp;&nbsp; 25 Childs = 99% (99% no Doc Tabs)</P><P>These results show a lot of CPU utilization considering the application itself is doing nothing.&nbsp; I've attached the project source code and exectable files for the two test applications.&nbsp; You'll need CommandBars, DockingPane, and PropertyGrid registered on the machine to run the examples.</P><P>Dont' get me wrong.&nbsp; <strong>I absolutely love these controls!!</strong>&nbsp; They provide a very professional look-and-feel to the application.&nbsp; My concern is that my clients will not want to use&nbsp;my application if it is constantly consuming a minimum of 10% of the CPU.<IMG src="http://forum.codejock.com/smileys/smiley19.gif" border="0"></P><P>Has anyone else seen this problem?&nbsp; Is there something I'm doing wrong in my implementation of the controls?</P><P>Codejock, can anything be done to reduce CPU utilization?</P><P>Sample Projects Attached: <A href="http://forum.codejock.com/uploads/Boyd/DZ1_ResourceTest.zip" target="_blank">DZ1_ResourceTest.zip</A></P>]]>
   </description>
   <pubDate>Thu, 04 Mar 2004 13:05:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=497&amp;PID=1243&amp;title=high-cpu-utilization-with-xtreme-suite#1243</guid>
  </item> 
 </channel>
</rss>