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

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

[Octave-bug-tracker] [bug #47455] very slow legend execution


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #47455] very slow legend execution
Date: Mon, 18 Nov 2019 15:09:15 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0

Follow-up Comment #4, bug #47455 (project octave):

I pushed a new version of legend.m, which will only affect OpenGL toolkits. I
attached a function which I used to try to devise a performance test of the
old versus new legend code. 
For single axes, the timings are generally better with the new code: 
* Adding legend item one after the other is now clearly faster (using
";displayname;" plot syntax)
* Changing legend properties after creation is also faster

Now with subplots, which was already very slow with the old code, performance
is poorer with the new code by 20%. For this we might need to implement an
external layout manager.

(file #47883, file #47884)
    _______________________________________________________

Additional Item Attachment:

File name: timings.png                    Size:80 KB
    <https://savannah.gnu.org/file/timings.png?file_id=47883>

File name: legend_perf.m                  Size:5 KB
    <https://savannah.gnu.org/file/legend_perf.m?file_id=47884>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?47455>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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