<?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: Undocumented Profiler options part 3	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/undocumented-profiler-options-part-3/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options-part-3?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=undocumented-profiler-options-part-3</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Fri, 03 Nov 2017 08:09:14 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: juli		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options-part-3#comment-415972</link>

		<dc:creator><![CDATA[juli]]></dc:creator>
		<pubDate>Fri, 03 Nov 2017 08:09:14 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3158#comment-415972</guid>

					<description><![CDATA[hi Yair,

thanks I have readed and tried but in my case the code evaluated has 156 levels and is very slow to represent the figure and to see the diferent levels.

regards,
j]]></description>
			<content:encoded><![CDATA[<p>hi Yair,</p>
<p>thanks I have readed and tried but in my case the code evaluated has 156 levels and is very slow to represent the figure and to see the diferent levels.</p>
<p>regards,<br />
j</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options-part-3#comment-415945</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 02 Nov 2017 09:42:39 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3158#comment-415945</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/undocumented-profiler-options-part-3#comment-415943&quot;&gt;juli&lt;/a&gt;.

@Juli - thanks for sharing. Read &lt;a href=&quot;http://undocumentedmatlab.com/blog/function-call-timeline-profiling&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;my followup post&lt;/a&gt; about the &lt;code&gt;profile_history&lt;/code&gt; utility.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/undocumented-profiler-options-part-3#comment-415943">juli</a>.</p>
<p>@Juli &#8211; thanks for sharing. Read <a href="http://undocumentedmatlab.com/blog/function-call-timeline-profiling" target="_blank" rel="nofollow">my followup post</a> about the <code>profile_history</code> utility.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: juli		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options-part-3#comment-415943</link>

		<dc:creator><![CDATA[juli]]></dc:creator>
		<pubDate>Thu, 02 Nov 2017 08:53:54 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3158#comment-415943</guid>

					<description><![CDATA[hello,

I tried this code with an very large project I have and regarding the code:

&lt;pre lang=&quot;matlab&quot;&gt;
offset = cumsum(1-2*history(1,:)) - 1;  % calling depth
entryIdx = history(1,:)==1;     % history items of function entries
funcIdx = history(2,entryIdx);  % indexes of relevant functions
funcNames = {profData.FunctionTable(funcIdx).FunctionName};
for idx = 1: length(funcNames);
   disp([repmat(&#039; &#039;,1,offset(idx)) funcNames{idx}]);
end
&lt;/pre&gt;

for some reason the line &lt;code&gt;funcNames = {profData.FunctionTable(funcIdx).FunctionName};&lt;/code&gt; is extremely slow and this workaround is faster:

&lt;pre lang=&quot;matlab&quot;&gt;
for idx = 1:length(funcIdx);
    fprintf([repmat(&#039; &#039;,1,offset(idx)) profData.FunctionTable(funcIdx(idx)).FunctionName &#039;\n&#039;]);
end
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>hello,</p>
<p>I tried this code with an very large project I have and regarding the code:</p>
<pre lang="matlab">
offset = cumsum(1-2*history(1,:)) - 1;  % calling depth
entryIdx = history(1,:)==1;     % history items of function entries
funcIdx = history(2,entryIdx);  % indexes of relevant functions
funcNames = {profData.FunctionTable(funcIdx).FunctionName};
for idx = 1: length(funcNames);
   disp([repmat(' ',1,offset(idx)) funcNames{idx}]);
end
</pre>
<p>for some reason the line <code>funcNames = {profData.FunctionTable(funcIdx).FunctionName};</code> is extremely slow and this workaround is faster:</p>
<pre lang="matlab">
for idx = 1:length(funcIdx);
    fprintf([repmat(' ',1,offset(idx)) profData.FunctionTable(funcIdx(idx)).FunctionName '\n']);
end
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Function call timeline profiling &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options-part-3#comment-326459</link>

		<dc:creator><![CDATA[Function call timeline profiling &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Mon, 16 Jun 2014 21:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=3158#comment-326459</guid>

					<description><![CDATA[[...] Back in 2012, I wrote an article about the Matlab profiler&#039;s undocumented functionality of storing detailed information [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Back in 2012, I wrote an article about the Matlab profiler&#8217;s undocumented functionality of storing detailed information [&#8230;]</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
