bugGNU Octave - Bugs: bug #39524, m-file profiler returning...

 
 

bug #39524: m-file profiler returning inaccurate first line

Submitter:  Rik <rik5>
Submitted:  Fri 19 Jul 2013 06:20:59 AM UTC
 
Category:  Octave Function Severity:  4 - Important
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Wed 14 May 2014 04:59:52 AM UTC, comment #3: 

The problem returned, but I fixed it more permanently in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/0eea9ccbae22).

Rik <rik5>
Project Administrator
Thu 10 Oct 2013 08:11:10 PM UTC, comment #2: 

Nice, the problem seems to have gone away by itself.  Closing report.

Rik <rik5>
Project Administrator
Thu 10 Oct 2013 07:32:10 PM UTC, comment #1: 

I can't confirm this bug with current dev (today clone). I obtain the same function calls list (except the recursive one) but:
 - each one is called one time less (e.g. sind is called only once as expected)
 - not exactly the same order.

Pantxo Diribarne <pantxo>
Project Member
Fri 19 Jul 2013 06:20:59 AM UTC, original submission:  

The profile command is producing an erroneous first line which dominates all the other function calls.  The function has no name and is marked as R(ecursive).  This is a regression from 3.6.4 where the profiler worked.

Sample code:

octave:5> profile clear
octave:6> profile on
octave:7> y = sind (30);
octave:8> profile off
octave:9> profshow (profile ('info'))
   #            Function Attr     Time (s)        Calls
-------------------------------------------------------
   1                        R        7.474           61
   2                sind             0.000            1
  13             profile             0.000            1
   3              nargin             0.000            2
   4           binary !=             0.000            2
   6                  pi             0.000            1
  14               false             0.000            1
   8                 sin             0.000            1
   9                 fix             0.000            1
  11            isfinite             0.000            1
  12            binary &             0.000            1
  10           binary ==             0.000            1
   5            binary /             0.000            1
   7           binary .*             0.000            1
  15 __profiler_enable__             0.000            1

Rik <rik5>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.

     

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-10 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top


    Powered by Savane 3.9