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

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

[Octave-bug-tracker] [bug #57439] handles to private functions may fail


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #57439] handles to private functions may fail after "clear functions"
Date: Mon, 16 Mar 2020 08:31:35 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

Follow-up Comment #50, bug #57439 (project octave):

Using "stat" to determine if a file exists is about 30 times slower than using
"GetFileAttributesW" on Windows. That is 3000%!

I used the attached .oct file functions for the test. Running "file_exists"
which loops 1e6 times took 5.4038 seconds. "file_stat_exists" which loops 1e4
times took 1.54844 seconds.

Even if this won't be the real fix. There is definitely room for performance
improvement.

(file #48605, file #48606)
    _______________________________________________________

Additional Item Attachment:

File name: file_exists.cc                 Size:1 KB
    <https://savannah.gnu.org/file/file_exists.cc?file_id=48605>

File name: file_stat_exists.cc            Size:1 KB
    <https://savannah.gnu.org/file/file_stat_exists.cc?file_id=48606>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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