[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #56752] Performance slowdown from version 3.2.

From: Rik
Subject: [Octave-bug-tracker] [bug #56752] Performance slowdown from version 3.2.4 through to current dev branch
Date: Mon, 12 Aug 2019 12:22:17 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #1, bug #56752 (project octave):

To check whether it is the execution of loops versus the execution of
statements in the body of loops, I ran the following empty loop body test.

a = 1; b = 1; tic; for i=1:1000; for j=1:1000;   ; end; end; toc

The script is attached as bm.empty_loop.m

Results were

Version   3.2.4     3.4.3     3.6.4     3.8.2     4.0.3     4.2.1     4.4.1   
 5.1.0     dev (6.1.0)

          0.053467                                0.0782108 0.0723422 0.128019
 0.1248    0.096776

There was a small decline in performance.  However, 50 milliseconds is no
where near as important as the 7 seconds seen in the toeplitz benchmark which
included assignments, function calls, etc.

(file #47330)

Additional Item Attachment:

File name: bm.empty_loop.m                Size:0 KB


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]