[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows |
Date: |
Fri, 17 May 2024 12:15:33 -0400 (EDT) |
Follow-up Comment #33, bug #59711 (group octave):
I can't reproduce that here on Windows 11 with Octave 9.1.90:
>> profile on
>> tic, pkg load ltfat; toc
warning: function C:\Program Files\GNU
Octave\Octave-9.1.90\mingw64\share\octave\packages\ltfat-2.3.1\sigproc\normalize.m
shadows a core library function
warning: called from
ltfatstart at line 212 column 5
C:\Program Files\GNU
Octave\Octave-9.1.90\mingw64\share\octave\packages\ltfat-2.3.1\PKG_ADD at line
1 column 1
load_packages_and_dependencies at line 56 column 5
load_packages at line 53 column 3
pkg at line 639 column 7
Elapsed time is 2.07334 seconds.
>> profile off
>> profshow
# Function Attr Time (s) Time (%) Calls
---------------------------------------------------------------------
137 cd 1.028 49.74 41
81 addpath R 0.634 30.65 22
113 is_same_file 0.119 5.76 2134
106 dir 0.104 5.05 35
111 lstat 0.038 1.84 1057
31 regexprep 0.024 1.18 2258
83 ltfatstart 0.017 0.84 1
109 __wglob__ 0.010 0.50 35
57 canonicalize_file_name 0.007 0.36 135
115 localtime 0.006 0.31 1057
128 arrayfun 0.005 0.26 35
138 source 0.005 0.24 20
116 strftime 0.005 0.22 1057
34 strcat 0.004 0.19 43
130 run 0.004 0.19 20
131 fileparts 0.004 0.17 20
51 load 0.004 0.17 2
110 readdir 0.003 0.17 35
117 datenum 0.003 0.16 35
>>
`cd` and `addpath` are the main contributors here, too. And it's taking about
2 seconds to load the package.
But that is still a lot faster than the approx. 15 seconds for you.
Where did you install Octave and the ltfat package? Is is on a local or a
network drive?
Does it make a difference if you close the "File Browser" widget while loading
the package?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59711>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows, Renato, 2024/05/17
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows,
Markus Mützel <=
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows, Renato, 2024/05/17
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows, Markus Mützel, 2024/05/17
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows, John W. Eaton, 2024/05/17
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows, Renato, 2024/05/20
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows, Renato, 2024/05/20
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows, Renato, 2024/05/20
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows, Markus Mützel, 2024/05/21
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows, Markus Mützel, 2024/05/21
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows, Markus Mützel, 2024/05/21
Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows, Renato, 2024/05/21