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

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

[Octave-bug-tracker] [bug #53794] ishold(hax) is slow when an axis handl


From: Rik
Subject: [Octave-bug-tracker] [bug #53794] ishold(hax) is slow when an axis handle is passed in because of ancestor() routine
Date: Mon, 30 Apr 2018 16:47:47 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #53794 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #2:

No differences.  But I removed the callso to gca() and gcf() in the
benchmarking just to make sure they were unreleated.


octave:1> hf = figure
hf =  1
octave:2> hax = gca
hax = -18.142
octave:3> tic; for i=1:10_000; ishold(); endfor; toc
Elapsed time is 1.63488 seconds.
octave:4> tic; for i=1:10_000; ishold(hf); endfor; toc
Elapsed time is 1.64144 seconds.
octave:5> tic; for i=1:10_000; ishold(hax); endfor; toc
Elapsed time is 5.15146 seconds.



    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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