octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #52809] interpreter performance is slow on dev


From: Rik
Subject: [Octave-bug-tracker] [bug #52809] interpreter performance is slow on development branch
Date: Thu, 4 Jan 2018 13:31:02 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

URL:
  <http://savannah.gnu.org/bugs/?52809>

                 Summary: interpreter performance is slow on development
branch
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Thu 04 Jan 2018 10:31:00 AM PST
                Category: Performance
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The evaluation of statements seems to be much slower on the development branch
than in previous versions.

A sample script testing just a for loop is:


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


On my machine, results are roughly equivalent between 4.2.1 and the
development branch.


4.2.1 : 0.109 seconds
dev.  : 0.121 seconds


But if there is even a single variable assignment the results are far worse.


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


Results:


4.2.1 : 0.218 seconds
dev.  : 1.28 seconds


Benchmarking scripts are attached.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 04 Jan 2018 10:31:00 AM PST  Name: bm_for_loop4.m  Size: 47B   By:
rik5

<http://savannah.gnu.org/bugs/download.php?file_id=42831>
-------------------------------------------------------
Date: Thu 04 Jan 2018 10:31:00 AM PST  Name: bm_for_loop5.m  Size: 56B   By:
rik5

<http://savannah.gnu.org/bugs/download.php?file_id=42832>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?52809>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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