|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #60984] Load function on Windows is significantly slower than on Linux |
Date: | Fri, 30 Jul 2021 16:13:43 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36 Edg/92.0.902.55 |
Follow-up Comment #9, bug #60984 (project octave): I tried with a similar approach like the one for bug #59704. Without the change: >> tst_bug60984 Elapsed time is 0.023623 seconds. Elapsed time is 1.57969 seconds. Elapsed time is 14.6429 seconds. >> tst_bug60984 Elapsed time is 0.00835681 seconds. Elapsed time is 1.60271 seconds. Elapsed time is 16.156 seconds. With the change: >> tst_bug60984 Elapsed time is 0.00928807 seconds. Elapsed time is 1.48853 seconds. Elapsed time is 5.68233 seconds. >> tst_bug60984 Elapsed time is 0.00902891 seconds. Elapsed time is 1.4711 seconds. Elapsed time is 5.67159 seconds. I'm attaching a diff with the changes I tried. I was trying to find out if this would also influence the time for writing the file. But that didn't make a huge difference like you can see in the timing. Reading the files is notably faster. But still a lot slower than the Linux timings. If we want to do these changes, we should probably add similar ones for double/float and real/complex matrices. Maybe also sparse? (file #51714) _______________________________________________________ Additional Item Attachment: File name: bug609874-load-save-d.diff Size:1 KB <https://file.savannah.gnu.org/file/bug609874-load-save-d.diff?file_id=51714> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60984> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |