bugGNU Octave - Bugs: bug #59332, Variable Editor gets extremely...


bug #59332: Variable Editor gets extremely slow with large arrays

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Sat 24 Oct 2020 03:09:41 PM UTC
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Performance
Status:  None Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  * Open
Release:  * dev Operating System:  * Any
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Sat 24 Oct 2020 03:09:41 PM UTC, original submission:  

IMO the Variable Editor is a fantastic tool especially for debugging, however its usability is severely hampered when using it with large arrays.
AFAICS (but I may be wrong) the causes are:

  1. All cells of an array opened in the VE are re-rendered, even if only a very small part is visible in the pertinent array subpane;
  2. For each debug step, or return to the prompt, all variables open in the VE are re-rendered, also variables that haven't been touched at all between the last command prompts;
  3. Same applies when the VE pane or one of its subpanes is resized, or gets undocked.

Octave is almost completely inresponsive while the VE is being rendered; only the m-file Editor might respond to some actions.

Would it possible to only render cell ranges that are visible in and/or just outside the respective subpanes? I suppose it shouldn't be hard to find out what array cell ranges are displayed. All cell widths and -heights, subpane widhts and -heights and positions of subplane sliders, if any, are known. Maybe Qt even has ready-baked functions for it.

I guess that when 1. has been fixed, 2. and 3. become less relevant as far as performance goes. Obviously performance is usually second priority anyway during debugging; but it is demotivating to have to wait sometimes tens of seconds after each step before being able to proceed.

Philip Nienhuis <philipnienhuis>
Project Member


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

Attach Files:

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 philipnienhuis (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.





    No changes have been made to this item

    Back to the top

    Powered by Savane 3.9