<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: Some Matlab performance-tuning tips	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/some-performance-tuning-tips/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/some-performance-tuning-tips?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=some-performance-tuning-tips</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Sat, 22 Aug 2015 11:05:49 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: jinu		</title>
		<link>https://undocumentedmatlab.com/articles/some-performance-tuning-tips#comment-355646</link>

		<dc:creator><![CDATA[jinu]]></dc:creator>
		<pubDate>Sat, 22 Aug 2015 11:05:49 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5873#comment-355646</guid>

					<description><![CDATA[nice writeup! about a year ago i moved to python/cython because of how slow matlab gui&#039;s were with large datasets. i wish i had known some of your tricks back then. will definitely check out your new book. nice work again!]]></description>
			<content:encoded><![CDATA[<p>nice writeup! about a year ago i moved to python/cython because of how slow matlab gui&#8217;s were with large datasets. i wish i had known some of your tricks back then. will definitely check out your new book. nice work again!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Some performance-tuning tips &#124; Undocumented Matlab &#124; Stefan Grandl		</title>
		<link>https://undocumentedmatlab.com/articles/some-performance-tuning-tips#comment-353908</link>

		<dc:creator><![CDATA[Some performance-tuning tips &#124; Undocumented Matlab &#124; Stefan Grandl]]></dc:creator>
		<pubDate>Mon, 27 Jul 2015 22:39:41 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5873#comment-353908</guid>

					<description><![CDATA[[...] Some performance-tuning tips &#124; Undocumented Matlab Teilen auf:GoogleTwitterTumblr   Dieser Eintrag wurde veröffentlicht in MATLAB und verschlagwortet [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Some performance-tuning tips | Undocumented Matlab Teilen auf:GoogleTwitterTumblr   Dieser Eintrag wurde veröffentlicht in MATLAB und verschlagwortet [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/some-performance-tuning-tips#comment-351506</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 18 Jun 2015 10:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5873#comment-351506</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/some-performance-tuning-tips#comment-351481&quot;&gt;Brad Stiritz&lt;/a&gt;.

@Brad - thanks for your kind words, and for your very rich &lt;a href=&quot;https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&#038;business=altmany@gmail.com&#038;currency_code=USD&#038;amount=&#038;return=&#038;item_name=Donate+a+cup+of+coffee+or+two&quot; rel=&quot;nofollow&quot;&gt;coffee&lt;/a&gt; - what a nice way to wake up in the morning :-)

The program&#039;s code size was not small (close to 80K source-code lines in ~600 files), so it took me some time to understand what&#039;s going on and what&#039;s relevant (only ~5K lines of code in perhaps a dozen files, it turns out). It then took me some time to figure out how to improve performance, and finally to fix all the code behind the numerous GUI controls so that they work correctly with the new graphics (i.e., now we only have a single large line handle rather than multiple separate handles, so wherever there is a reference to a particular line segment the code needed to be changed). Finally, testing took another hour or two. All-in all I&#039;d say that I invested perhaps a full workday on this. I did get some specific guidance about things that were particularly bothersome for the team (both in terms of performance and functionality), so I focused mainly on those, but along the way I saw other parts that could be improved for speed or functionality and I improved them as well. There were also a few functional bugs that I discovered during my work, and I fixed them too. All these extra fixes took perhaps another half a day. So all in all this specific GUI took me about 15 workhours, but this included both functional and speedup improvements.

I think that it&#039;s difficult to use these times as benchmarks, because as I said the code was large and complex, and I needed some time to get up to speed (pun intended) with it. It&#039;s quite likely that programmers who create their program would be able to do things faster, since they&#039;d already have all the fine details in their mind. Also, it takes some time (and perhaps a bit of nerve and self-confidence) to understand that another person&#039;s code has a functional bug and should behave differently than the way it actually does.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/some-performance-tuning-tips#comment-351481">Brad Stiritz</a>.</p>
<p>@Brad &#8211; thanks for your kind words, and for your very rich <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=altmany@gmail.com&amp;currency_code=USD&amp;amount=&amp;return=&amp;item_name=Donate+a+cup+of+coffee+or+two" rel="nofollow">coffee</a> &#8211; what a nice way to wake up in the morning 🙂</p>
<p>The program&#8217;s code size was not small (close to 80K source-code lines in ~600 files), so it took me some time to understand what&#8217;s going on and what&#8217;s relevant (only ~5K lines of code in perhaps a dozen files, it turns out). It then took me some time to figure out how to improve performance, and finally to fix all the code behind the numerous GUI controls so that they work correctly with the new graphics (i.e., now we only have a single large line handle rather than multiple separate handles, so wherever there is a reference to a particular line segment the code needed to be changed). Finally, testing took another hour or two. All-in all I&#8217;d say that I invested perhaps a full workday on this. I did get some specific guidance about things that were particularly bothersome for the team (both in terms of performance and functionality), so I focused mainly on those, but along the way I saw other parts that could be improved for speed or functionality and I improved them as well. There were also a few functional bugs that I discovered during my work, and I fixed them too. All these extra fixes took perhaps another half a day. So all in all this specific GUI took me about 15 workhours, but this included both functional and speedup improvements.</p>
<p>I think that it&#8217;s difficult to use these times as benchmarks, because as I said the code was large and complex, and I needed some time to get up to speed (pun intended) with it. It&#8217;s quite likely that programmers who create their program would be able to do things faster, since they&#8217;d already have all the fine details in their mind. Also, it takes some time (and perhaps a bit of nerve and self-confidence) to understand that another person&#8217;s code has a functional bug and should behave differently than the way it actually does.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Brad Stiritz		</title>
		<link>https://undocumentedmatlab.com/articles/some-performance-tuning-tips#comment-351481</link>

		<dc:creator><![CDATA[Brad Stiritz]]></dc:creator>
		<pubDate>Thu, 18 Jun 2015 00:08:05 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5873#comment-351481</guid>

					<description><![CDATA[Hi Yair, thanks for the great blog post! Fantastic troubleshooting example, well-done :)

I just finished reading Code Complete 2 (highly recommended!), which discusses among other things the huge variance in productivity among programmers. With that theme in mind, I&#039;m sure some of your other readers may be interested as well in the following questions: 

May I ask you please to give some color on how long it took you to assess the indicated problems? Your post gives the impression that the Harvard team&#039;s guidance may have been non-specific (&quot;This is too slow, please speed up wherever you can&quot;). Was that the case? Did you just dig in then and start methodically going through things using your own judgment? Or did the team provide an itemized list of concerns? If it&#039;s not inappropriate to ask please, about how many hours of work went into each of these stages, to the extent they were distinct: problem assessment, code improvements, and QA validation?

I believe your answers will be helpful to the Matlab community at large. It&#039;s always good to have benchmark impressions in mind. In this case, what can a world-class expert accomplish? Thanks in advance.]]></description>
			<content:encoded><![CDATA[<p>Hi Yair, thanks for the great blog post! Fantastic troubleshooting example, well-done 🙂</p>
<p>I just finished reading Code Complete 2 (highly recommended!), which discusses among other things the huge variance in productivity among programmers. With that theme in mind, I&#8217;m sure some of your other readers may be interested as well in the following questions: </p>
<p>May I ask you please to give some color on how long it took you to assess the indicated problems? Your post gives the impression that the Harvard team&#8217;s guidance may have been non-specific (&#8220;This is too slow, please speed up wherever you can&#8221;). Was that the case? Did you just dig in then and start methodically going through things using your own judgment? Or did the team provide an itemized list of concerns? If it&#8217;s not inappropriate to ask please, about how many hours of work went into each of these stages, to the extent they were distinct: problem assessment, code improvements, and QA validation?</p>
<p>I believe your answers will be helpful to the Matlab community at large. It&#8217;s always good to have benchmark impressions in mind. In this case, what can a world-class expert accomplish? Thanks in advance.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
