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

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

[Octave-bug-tracker] [bug #56752] Performance slowdown from version 3.2.


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #56752] Performance slowdown from version 3.2.4 through to current dev branch
Date: Wed, 4 Sep 2019 18:17:53 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #34, bug #56752 (project octave):

I pushed some more changes in an attempt to improve the performance of single
unwind-protect actions:

  http://hg.savannah.gnu.org/hgweb/octave/rev/2f8428b61bd6
  http://hg.savannah.gnu.org/hgweb/octave/rev/25627c524ad8
  http://hg.savannah.gnu.org/hgweb/octave/rev/d171d356767b

Now I see the following timings on my system:


          bm_assign     bm_toeplitz

   3.2.4:   0.19735      11.278
   3.4.3:   0.17148       9.2246
   3.6.4:   0.21437       9.5798
   3.8.2:   0.25326      15.447
   4.0.3:   0.51134      27.710
   4.2.2:   0.53206      26.772
   4.4.1:   1.5782       31.758
   5.1.0:   1.7119       36.593
  before:   1.9624       30.399
     now:   0.62128      18.524


The "before" line is changeset 64289bf338da:


  user:        John W. Eaton <address@hidden>
  date:        Wed Aug 14 00:19:34 2019 -0400
  summary:     use separate variable for interrupting command editor event
loop (bug #56738)


I think that is prior to any changes related to this issue.

Could you try another profiling run with these changes?  The
convert_to_const_vector function uses unwind_protect, so the latest changes
might have made a difference.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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