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

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

[Octave-bug-tracker] [bug #59711] 30 seconds to load the "ltfat" package


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #59711] 30 seconds to load the "ltfat" package
Date: Wed, 23 Dec 2020 11:50:15 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

Follow-up Comment #10, bug #59711 (project octave):

running one after another on my system, since I threw some slow data up
earlier:

6.1.1  (hg id: 0180eaf55fd0)  - 7.4s
6.1.0 (release) - 29.3s
5.2.0 (release) - 3sec



Octave 6.1.1 on windows 10

>> profile clear; profile on; pkg load ltfat; profile off; profshow
   #               Function Attr     Time (s)   Time (%)        Calls
---------------------------------------------------------------------
 141                     cd             2.721      35.92           41
  77                addpath    R        1.761      23.25           22
 117           is_same_file             0.667       8.81         2134
 146             javaMethod             0.628       8.29            3
 102                    dir             0.341       4.51           35
  51 canonicalize_file_name             0.272       3.59          130
  79             ltfatstart             0.258       3.41            1
 142                 source             0.211       2.79           20
 115                  lstat             0.210       2.78         1057
  17              regexprep             0.063       0.83         2155
 135              fileparts             0.031       0.41           20
  47                   load             0.030       0.39            2
 134                    run             0.029       0.38           20
  45          load_packages             0.022       0.29            1
   1                    pkg             0.021       0.28            1
  46     installed_packages             0.021       0.28            1
 107                 strcat             0.021       0.27           35
  88                  exist             0.019       0.26           59
 139                 rindex             0.014       0.18           20
  87                 evalin    R        0.013       0.17           22
  
  
Octave 6.1.0 on windows 10
>> profile clear; profile on; pkg load ltfat; profile off; profshow
   #               Function Attr     Time (s)   Time (%)        Calls
---------------------------------------------------------------------
 141                     cd            12.424      41.56           41
  77                addpath    R        9.384      31.39           22
 115                  lstat             3.261      10.91         1057
 117           is_same_file             0.685       2.29         2134
 102                    dir             0.682       2.28           35
 142                 source             0.543       1.81           20
  79             ltfatstart             0.515       1.72            1
  88                  exist             0.286       0.96           59
  51 canonicalize_file_name             0.285       0.95          130
 146             javaMethod             0.200       0.67            3
  73                   stat             0.166       0.55           59
 135              fileparts             0.158       0.53           20
 134                    run             0.154       0.51           20
 105              __wglob__             0.112       0.37           35
 107                 strcat             0.095       0.32           35
 106                readdir             0.093       0.31           35
 139                 rindex             0.083       0.28           20
  17              regexprep             0.069       0.23         2155
   1                    pkg             0.068       0.23            1
  87                 evalin    R        0.065       0.22           22
  
  
Octave 5.2.0 on windows 10
>> profile clear; profile on; pkg load ltfat; profile off; profshow
   #                       Function Attr     Time (s)   Time (%)        Calls
-----------------------------------------------------------------------------
 134                             cd             0.833      25.57           41
  72                        addpath    R        0.595      18.26           21
  97                            dir             0.354      10.88           35
 110                          lstat             0.255       7.83         1057
 135                         source             0.242       7.42           20
 139                     javaMethod             0.190       5.84            3
  74                     ltfatstart             0.118       3.62            1
  85                         regexp             0.047       1.45         1058
  46                           load             0.043       1.33            2
   1                            pkg             0.039       1.20            1
 128                      fileparts             0.037       1.13           20
 112         canonicalize_file_name             0.036       1.10           36
 101                        readdir             0.035       1.06           35
 127                            run             0.030       0.92           20
  44                  load_packages             0.028       0.87            1
 102                         strcat             0.028       0.85           35
  83                          exist             0.026       0.79           59
  62 load_packages_and_dependencies             0.021       0.65            1
  17                      regexprep             0.021       0.64         1099
 131                         rindex             0.019       0.58           20


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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