bugGNU Octave - Bugs: bug #54422, Declining Octave performance over...

 
 

bug #54422: Declining Octave performance over time

Submitter:  Rik <rik5>
Submitted:  Wed 01 Aug 2018 09:01:32 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Performance
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 02 Aug 2018 03:38:34 PM UTC, comment #2: 

Whoops, It's attached now.

(file #44687)

Rik <rik5>
Group administrator
Thu 02 Aug 2018 08:14:56 AM UTC, comment #1: 

@Rik: it seems you forgot the attachment.

Marco Caliari <caliari>
Group Member
Wed 01 Aug 2018 09:01:32 PM UTC, original submission:  

I happened to be looking at an old bug which had examples of three for loops.  I have attached the script as bm_accum.m.  When I run the script in an old release (3.4.3) of Octave I get


octave-3.4.3:1> bm_accum
Elapsed time is 0.353004 seconds.
Elapsed time is 0.172448 seconds.
Elapsed time is 0.15855 seconds.


When I run it with the current development branch I get


Elapsed time is 1.54277 seconds.
Elapsed time is 0.675958 seconds.
Elapsed time is 1.24968 seconds.


There are slowdowns of from 4X-7.5X.

To make sure this wasn't a measurement artifiact within Octave I tried using the tcsh shell's time command.


time run-octave -f bm_accum.m
Elapsed time is 1.53665 seconds.
Elapsed time is 0.683419 seconds.
Elapsed time is 1.28853 seconds.
3.704u 0.072s 0:03.87 97.4%     0+0k 160+16io 2pf+0w


and


time octave-3.4.3 -fq bm_accum.m
Elapsed time is 0.332402 seconds.
Elapsed time is 0.154823 seconds.
Elapsed time is 0.154164 seconds.

0.684u 0.024s 0:00.71 98.5%     0+0k 0+16io 0pf+0w


Again, a significant 5.5X difference.


Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #44687:  bm_accum.m added by rik5 (147B - text/x-matlab)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by caliari (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 group members can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-02 rik5 Attached File- Added bm_accum.m, #44687

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code