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

[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: Renato
Subject: [Octave-bug-tracker] [bug #59711] Performance of `cd` is bad on Windows
Date: Fri, 17 May 2024 13:15:14 -0400 (EDT)

Follow-up Comment #34, bug #59711 (group octave):

[comment #33 comment #33:]
> I can't reproduce that here on Windows 11 with Octave 9.1.90:
> 
> `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?

I'm also using Windows 11 Pro (23H2 - OS Build 22631.3593)
I downloaded the version 9.1.0-w64-installer from
https://octave.org/download.html#ms-windows

Then I did "pkg update" to see if there was any performance difference between
the ltfat 2.3.1 and 2.6.0

It's installed in a local drive (the laptop is an Workstation HP Zbook 15uG6
with Intel Core i7-8565U, 32Gb RAM, NVME Samsung MZVLB512HAJQ)

The File Browser widget doesn't too much difference.

Here is the result when using Octave-CLI (no GUI):

octave:1> profile on
octave:2> pkg load ltfat
octave:3> profile off
octave:4> profshow
   #               Function Attr     Time (s)   Time (%)        Calls
---------------------------------------------------------------------
 137                     cd             7.621      57.00           41
  82                addpath    R        4.594      34.36           22
 113           is_same_file             0.370       2.77         2350
 106                    dir             0.231       1.73           36
 111                  lstat             0.090       0.67         1165
 148             javaMethod             0.089       0.67            1
  28              regexprep             0.047       0.35         2481
  84             ltfatstart             0.044       0.33            1
 109              __wglob__             0.040       0.30           36
 138                 source             0.027       0.20           20
  58 canonicalize_file_name             0.017       0.13          139
 115              localtime             0.014       0.11         1165
 128               arrayfun             0.012       0.09           36
 130                    run             0.011       0.08           20
 131              fileparts             0.010       0.08           20
  53                   load             0.009       0.07            2
 116               strftime             0.009       0.07         1165
  31                 strcat             0.009       0.07           48
 110                readdir             0.007       0.05           36
  90                 evalin    R        0.007       0.05           22


CrystalDiskMark 8.0.5 performance shows:

3GB/s (sequential read)
2GB/s (sequential write)
56MB/s (read, random 4k, Queue=1, Thread=1)
42MB/s (write, random 4k, Queue=1, Thread=1)



    _______________________________________________________

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]