<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Colin Thomsen's Microsoft Blog : Tips</title><link>http://blogs.msdn.com/colinth/archive/tags/Tips/default.aspx</link><description>Tags: Tips</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Tip: VS2008 – Finding and Setting Properties (Right-Click)</title><link>http://blogs.msdn.com/colinth/archive/2008/09/19/tip-vs2008-viewing-and-setting-properties.aspx</link><pubDate>Sat, 20 Sep 2008 04:47:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8959658</guid><dc:creator>colinth</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/colinth/comments/8959658.aspx</comments><wfw:commentRss>http://blogs.msdn.com/colinth/commentrss.aspx?PostID=8959658</wfw:commentRss><description>&lt;p&gt;The Visual Studio Profiler has many properties and options and this tip shows you where to find most of them. Future posts may cover some of the specific properties in more detail.&lt;/p&gt;  &lt;table cellspacing="0" cellpadding="2" width="770" border="0"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="347"&gt;&lt;strong&gt;Performance Session:&lt;/strong&gt;           &lt;br /&gt;&lt;a href="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/session_properties_4.jpg"&gt;&lt;img title="session_properties" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="482" alt="session_properties" src="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/session_properties_thumb_1.jpg" width="247" border="0" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;Select an existing Performance Session in the Performance Explorer to see properties in the Properties Window. If the Properties Window is hidden:&amp;#160; &lt;br /&gt;Press ‘F4’ or go to           &lt;br /&gt;‘View-&amp;gt;Properties Window’.&lt;/td&gt;        &lt;td valign="top" width="56"&gt;&amp;#160;&lt;/td&gt;        &lt;td valign="top" width="369"&gt;&lt;strong&gt;Performance Report:&lt;/strong&gt;&lt;a href="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/report_properties_2.jpg"&gt;            &lt;br /&gt;&lt;img title="report_properties" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin-left: 0px; margin-right: 0px; border-right-width: 0px" height="482" alt="report_properties" src="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/report_properties_thumb.jpg" width="246" border="0" /&gt;&lt;/a&gt;           &lt;br /&gt;Select a Performance Report in the Performance Explorer to view many properties including Collection, ETW, General, Machine Information, Performance Counters, Process, Thread and Version Information.&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Performance Session Properties (and Options):&lt;/strong&gt;&lt;/p&gt;  &lt;table cellspacing="0" cellpadding="2" width="100%" border="0"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="200"&gt;&lt;a href="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/session_properties_1_4.jpg"&gt;&lt;img title="session_properties_1" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; margin: 0px 5px 0px 0px; border-right-width: 0px" height="160" alt="session_properties_1" src="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/session_properties_1_thumb_1.jpg" width="242" align="left" border="0" /&gt;&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="100%"&gt;To adjust Performance Session properties:          &lt;ol&gt;           &lt;li&gt;Right-click on the Performance Session (Performance1 in this example). &lt;/li&gt;            &lt;li&gt;Select ‘Properties’. &lt;/li&gt;         &lt;/ol&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;Properties for Performance1 are shown below. There are different categories of properties on the left (e.g. General, Launch, Sampling, …).&lt;/p&gt;  &lt;p&gt;&lt;a href="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/session_properties_2_2.jpg"&gt;&lt;img title="session_properties_2" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="482" alt="session_properties_2" src="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/session_properties_2_thumb.jpg" width="600" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Performance Targets:&lt;/strong&gt;&lt;/p&gt;  &lt;table cellspacing="0" cellpadding="2" width="100%" border="0"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="200"&gt;&lt;a href="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/target_properties_1_2.jpg"&gt;&lt;img title="target_properties_1" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="162" alt="target_properties_1" src="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/target_properties_1_thumb.jpg" width="242" border="0" /&gt;&lt;/a&gt; &lt;/td&gt;        &lt;td valign="top" width="100%"&gt;To adjust Performance Target properties:          &lt;ol&gt;           &lt;li&gt;Right-click on the Target (ConsoleApplication3 in this example). &lt;/li&gt;            &lt;li&gt;Select ‘Properties’. &lt;/li&gt;         &lt;/ol&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;Adjust the properties for the Performance Target as required. These properties do not often need to be changed, with the possible exception of the Instrumentation property ‘&lt;a href="http://blogs.msdn.com/profiler/archive/2008/07/08/excluding-small-functions-from-instrumentation.aspx"&gt;Exclude small functions from instrumentation&lt;/a&gt;’.&lt;/p&gt;  &lt;p&gt;&lt;a href="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/target_properties_2_2.jpg"&gt;&lt;img title="target_properties_2" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="388" alt="target_properties_2" src="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/target_properties_2_thumb.jpg" width="600" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Tools –&amp;gt; Options –&amp;gt; Performance Tools:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Some global options can be configured using the Visual Studio Options dialog, which is accessed via:&lt;/p&gt;  &lt;p&gt;Tools –&amp;gt; Options –&amp;gt; Performance Tools&lt;/p&gt;  &lt;p&gt;&lt;a href="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/tools_options_4.jpg"&gt;&lt;img title="tools_options" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="344" alt="tools_options" src="https://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008ViewingandSettingProperties_10377/tools_options_thumb_1.jpg" width="600" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;That’s all the properties I can think of but I’m probably missing some still. Probably the most important aspect to this tip is to emphasize that right-clicking with the mouse is often the way to access important contextual information.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8959658" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/colinth/archive/tags/profiler/default.aspx">profiler</category><category domain="http://blogs.msdn.com/colinth/archive/tags/Visual+Studio+Team+System/default.aspx">Visual Studio Team System</category><category domain="http://blogs.msdn.com/colinth/archive/tags/Tips/default.aspx">Tips</category><category domain="http://blogs.msdn.com/colinth/archive/tags/vs2008/default.aspx">vs2008</category></item><item><title>Tip: VS2008 - Understanding Performance Targets</title><link>http://blogs.msdn.com/colinth/archive/2008/07/18/tip-vs2008-adding-performance-targets.aspx</link><pubDate>Fri, 18 Jul 2008 23:48:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8751368</guid><dc:creator>colinth</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/colinth/comments/8751368.aspx</comments><wfw:commentRss>http://blogs.msdn.com/colinth/commentrss.aspx?PostID=8751368</wfw:commentRss><description>&lt;a href="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008PerformanceTargets_B46B/default_wizard_output_slnexplorer_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="463" alt="default_wizard_output_slnexplorer" src="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008PerformanceTargets_B46B/default_wizard_output_slnexplorer_thumb.png" width="232" align="right" border="0" /&gt;&lt;/a&gt;   &lt;p&gt;If you have a solution that contains multiple projects it is important to know what the 'Targets' group in the Performance Explorer is used for. The &lt;a href="http://msdn.microsoft.com/en-us/library/ms182399.aspx"&gt;PeopleTrax&lt;/a&gt; solution shown on the right has 4 projects, with 3 of them compiling to managed DLLs and 1 compiling to an executable.&lt;/p&gt;  &lt;p&gt;After running the Performance Wizard to create a Performance Session the Performance Explorer contains a single target as shown below.&lt;/p&gt;  &lt;p align="left"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008PerformanceTargets_B46B/default_wizard_output_perfexplorer_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="142" alt="default_wizard_output_perfexplorer" src="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008PerformanceTargets_B46B/default_wizard_output_perfexplorer_thumb.png" width="211" border="0" /&gt;&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p align="left"&gt;Only the project that compiles to an executable is listed in the 'Targets' folder (for other project types like websites it would include the default launch project). What about the other 3 projects? As this tip explains, it depends upon the type of profiling you wish to do.&lt;/p&gt;  &lt;p align="left"&gt;&lt;strong&gt;Sampling&lt;/strong&gt;&lt;/p&gt;  &lt;p align="left"&gt;With sampling there is no need to add the additional projects to your targets list. We do not modify assemblies when sampling and we will automatically attempt to collect data for any assemblies loaded by the PeopleTrax target. The only exception to this requirement is if you wish to collect data for multi-process scenarios and therefore need to launch multiple targets.&lt;/p&gt;  &lt;p align="left"&gt;&lt;strong&gt;Instrumentation&lt;/strong&gt;&lt;/p&gt;  &lt;p align="left"&gt;For instrumentation, if you wish to collect data for the additional projects they should be added to your targets list as follows:&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;     &lt;div align="left"&gt;In the Performance Explorer, right-click on the 'Targets' folder:        &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008PerformanceTargets_B46B/add_target_project_rightclick_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="136" alt="add_target_project_rightclick" src="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008PerformanceTargets_B46B/add_target_project_rightclick_thumb.png" width="244" border="0" /&gt;&lt;/a&gt;         &lt;br /&gt;&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="left"&gt;Choose 'Add Target Project' to display a dialog:        &lt;br /&gt;&lt;a href="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008PerformanceTargets_B46B/add_target_project_dialog_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="244" alt="add_target_project_dialog" src="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008PerformanceTargets_B46B/add_target_project_dialog_thumb.png" width="204" border="0" /&gt;&lt;/a&gt;&amp;#160; &lt;br /&gt;&lt;/div&gt;   &lt;/li&gt;    &lt;li&gt;     &lt;div align="left"&gt;Select the assemblies you wish to collect Instrumentation data for and choose OK.&lt;/div&gt;   &lt;/li&gt; &lt;/ol&gt;  &lt;p align="left"&gt;The selected projects will now be modified (instrumented) when you start profiling. You can selectively disable instrumentation for certain projects by right-clicking on the target and unchecking the 'Instrument' option.&lt;/p&gt;  &lt;p align="center"&gt;&lt;a href="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008PerformanceTargets_B46B/targets_launchable_trace_properties_crop_2.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="164" alt="targets_launchable_trace_properties_crop" src="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/TipVS2008PerformanceTargets_B46B/targets_launchable_trace_properties_crop_thumb.png" width="244" border="0" /&gt;&lt;/a&gt;     &lt;br /&gt;&lt;em&gt;Instrumentation properties for a specific target.&lt;/em&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8751368" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/colinth/archive/tags/profiler/default.aspx">profiler</category><category domain="http://blogs.msdn.com/colinth/archive/tags/Visual+Studio+Team+System/default.aspx">Visual Studio Team System</category><category domain="http://blogs.msdn.com/colinth/archive/tags/Tips/default.aspx">Tips</category><category domain="http://blogs.msdn.com/colinth/archive/tags/vs2008/default.aspx">vs2008</category></item><item><title>Quick Tip: VS2008 - Compare Reports Quickly</title><link>http://blogs.msdn.com/colinth/archive/2008/06/20/quick-tip-vs2008-compare-reports-quickly.aspx</link><pubDate>Sat, 21 Jun 2008 03:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8628312</guid><dc:creator>colinth</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/colinth/comments/8628312.aspx</comments><wfw:commentRss>http://blogs.msdn.com/colinth/commentrss.aspx?PostID=8628312</wfw:commentRss><description>&lt;P&gt;While investigating a performance problem you may need to collect many Performance Reports and compare them. You can use the Performance Explorer to quickly compare two reports by:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Selecting two reports. &lt;/LI&gt;
&lt;LI&gt;Right-clicking and choosing 'Compare Performance Reports...' &lt;BR&gt;&lt;A href="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/QuickTipVS2008CompareReportsQuickly_FB64/comp_reports_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/QuickTipVS2008CompareReportsQuickly_FB64/comp_reports_2.jpg"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" border=0 alt=comp_reports src="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/QuickTipVS2008CompareReportsQuickly_FB64/comp_reports_thumb.jpg" width=354 height=308 mce_src="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/QuickTipVS2008CompareReportsQuickly_FB64/comp_reports_thumb.jpg"&gt;&lt;/A&gt; &lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;The oldest report will be used for the 'Baseline' report and the other report will be used for the 'Comparison' report, as shown below:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/QuickTipVS2008CompareReportsQuickly_FB64/comp_reports_2_2.jpg" mce_href="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/QuickTipVS2008CompareReportsQuickly_FB64/comp_reports_2_2.jpg"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" border=0 alt=comp_reports_2 src="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/QuickTipVS2008CompareReportsQuickly_FB64/comp_reports_2_thumb.jpg" width=701 height=308 mce_src="http://blogs.msdn.com/blogfiles/colinth/WindowsLiveWriter/QuickTipVS2008CompareReportsQuickly_FB64/comp_reports_2_thumb.jpg"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8628312" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/colinth/archive/tags/profiler/default.aspx">profiler</category><category domain="http://blogs.msdn.com/colinth/archive/tags/Visual+Studio+Team+System/default.aspx">Visual Studio Team System</category><category domain="http://blogs.msdn.com/colinth/archive/tags/Tips/default.aspx">Tips</category></item></channel></rss>