[Top][All Lists]

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

[Octave-bug-tracker] [bug #55795] Default Qt figure toolbar should use a

From: Rik
Subject: [Octave-bug-tracker] [bug #55795] Default Qt figure toolbar should use an uitoolbar
Date: Wed, 13 Mar 2019 19:33:11 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #21, bug #55795 (project octave):

On a performance note, I did

tic; plot (1:10); toc

v5.1.0 : 109 ms
v6.0.0 : 225 ms

Basically, a doubling.  Is there a way we could improve this?

Maybe __add_default_menu__.m could make the menubar and toolbar invisible,
then construct the objects, and then call the toolbar visibility function at
the end?

I did that and it seemed to help quite a bit

v6.0.0 : 104 ms

I pushed it here (https://hg.savannah.gnu.org/hgweb/octave/rev/d7856bf83781).

Interestingly, making the uimenu object invisible during the construction of
the figure did not help, and actually hurt benchmark performance just a bit.


Reply to this item at:


  Message sent via Savannah

reply via email to

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