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

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

[Octave-bug-tracker] [bug #59706] Avoid "canonicalize_file_name" on Wind


From: anonymous
Subject: [Octave-bug-tracker] [bug #59706] Avoid "canonicalize_file_name" on Windows
Date: Sun, 3 Jan 2021 12:30:42 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:68.9) Gecko/20100101 Goanna/4.6 Firefox/68.9 Mypal/28.14.2

Follow-up Comment #30, bug #59706 (project octave):

Note that during some tests I have found that 'find_function' is slow only if
a name is searched for the first time. When the function name is found it is
cached to speed up the search.

For the call stack I used API Monitor [1]. Only the file system related
function are monitored. Results for Octave 5.2.0 and 6.1.1 are in the attached
zip file.

Some observations:

* On Octave 5.1.0 paths are shorten by tilde but on 6.1.1 full names are
used.

* It appears that Octave assumes a private sub-directory for all directories
that are parts of the Octave path and tries to find the function in the
private sub-directories. Which is an excessive work and possibly is
incorrect.

* When a path directory actually contains a private sub-directory on Octave
6.1.1 we can see near 25 extra function calls that I think is invoked by
gnulib.

[1] http://www.rohitab.com/apimonitor


(file #50633)
    _______________________________________________________

Additional Item Attachment:

File name: callstacks-520vs611.zip        Size:2 KB
    <https://file.savannah.gnu.org/file/callstacks-520vs611.zip?file_id=50633>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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