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: Rik
Subject: [Octave-bug-tracker] [bug #56752] Performance slowdown from version 3.2.4 through to current dev branch
Date: Thu, 5 Sep 2019 12:11:35 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

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

@jwe: You asked a specific question about convert_to_const_vector.  This
function isn't seen in the profiles of bm.assign.m.  It is seen in
bm.toeplitz.orig.m.  The excerpt from profiling below shows that the function
and its children are taking ~20% of runtime, but most of that is the children.
 The running time for the function convert_to_const_vector itself is small at
<1% of runtime.


-   20.23%     0.93%  octave-cli  liboctinterp.so.7.0.0  [.]
octave::tree_evaluator::convert_to_const_vector
   - 19.30% octave::tree_evaluator::convert_to_const_vector
      - 8.94% octave::tree_binary_expression::evaluate
         - 6.02% octave::tree_identifier::evaluate
            - 4.27% octave::tree_identifier::evaluate_n
                 0.87% octave::tree_evaluator::varval
              0.65% Array<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >::~Array
         + 1.59% do_binary_op
      - 6.43% octave::tree_identifier::evaluate
         - 4.52% octave::tree_identifier::evaluate_n
              0.89% octave::tree_evaluator::varval
              0.52% octave_value::~octave_value
           0.68% Array<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >::~Array
      - 2.42% octave_value_list::octave_value_list
           0.69% std::vector<octave_value, std::allocator<octave_value>
>::_M_default_append
        0.53% std::__cxx11::_List_base<octave_value,
std::allocator<octave_value> >::_M_clear




    _______________________________________________________

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]