|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #56752] Performance slowdown from version 3.2.4 through to current dev branch |
Date: | Fri, 16 Aug 2019 11:47:25 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #17, bug #56752 (project octave): With the version of octave_value_list that uses std::vector I see the following change when running the tests. To make the timing a bit more meaningful, I timed the run-octave command that runs the tests, not "make check". With octave_value_list using Array: 503.05 user 101.32 system 9:19.31 elapsed 108% CPU With octave_value_list using std::vector: 488.47 user 95.40 system 9:03.85 elapsed 107% CPU I also see that the string_vector object that we use to attach names to octave_value_list objects is based on Array. I'll experiment with changing that as well, or seeing whether we can remove that feature from the octave_value_list object since there are probably only a few places where names are needed. Maybe with the current structure of the interpreter/evaluator we don't need to attach names to octave_value_list objects? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?56752> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |