Re: [Scilab-users] Scilab 6.0.0, read()
Thanks Stefan for the script: Windows 8.1 (64-bit) 4 Gb RAM Program load time (approx) 5.5.2 ~9 seconds (with modules installed) 6.0.0 ~20 seconds (no modules) 5.5.2 results: size(mat) = [1 7] mat took 0.04 sec to read. size(mat) = [1 7] 6.0.0 results: size(mat) = [1 7] mat took 13.62 sec to read. size(mat) = [1 7 Cheers Lester On 22 February 2017 at 17:30, Stefan Du Rietzwrote: > Here you are, Lester! A script that generates a comparatively small data > file and then reads it is attached. > > In a small laptop computer with Windows 10 and 32-bit versions of Scilab: > > Scilab-5.5.2: > > size(mat) = [1 7] > mat took 0.08 sec to read. > size(mat) = [1 7] > > Scilab-6.0.0: > > size(mat) = [1 7] > mat took 39.14 sec to read. > size(mat) = [1 7] > > Regards > Stefan > > > > On 2017-02-22 11:43, Lester Anderson wrote: >> >> Haven't got as far as testing the functions, but just starting version >> 6 compared to 5.5.2 is slower; not sure what is going on. Testing on >> Windows 8.1 (4 Gb RAM). >> >> Do you have a test script to try, see if the issue can be reproduced? >> >> Cheers >> Lester >> >> On 22 February 2017 at 10:15, Stefan Du Rietz wrote: >>> >>> Hello, >>> I got Scilab 6 to work in a Windows 10 laptop. However, my loading of >>> data >>> with read() took almost half an hour. >>> From toc() and mprintf(): >>> Loading of data took 26 min 23 sec >>> >>> In Scilab 5.5.2 it took just over a second. >>> From toc() and mprintf(): >>> Loading of data took 1.219 sec. >>> >>> What happened? >>> >>> Regards >>> Stefan >>> ___ >>> users mailing list >>> users@lists.scilab.org >>> http://lists.scilab.org/mailman/listinfo/users >> >> ___ >> users mailing list >> users@lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >> > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Scilab 6.0.0, read()
Hi Stefan, Lester, I confirmed the issue (0.02s in 5.5.2 vs 6.90 in 6.0.0) and on a local build I am able to trace the issue using the Linux perf tool: + 58,69%58,68% libsciast.so.6.0.0 [.] types::getIndexesWithDims + 22,09%22,08% libsciast.so.6.0.0 [.] types::ArrayOf::resize + 12,18%12,18% libsciast.so.6.0.0 [.] types::getIndexWithDims +4,04% 4,04% libsciast.so.6.0.0 [.] types::ArrayOf::getIndexes So it seems that too much resizing occurs :/ . Could you post a bug with your test case please ? Thanks, -- Clément Le mercredi 22 février 2017 à 18:30 +0100, Stefan Du Rietz a écrit : > Here you are, Lester! A script that generates a comparatively small > data file and then reads it is attached. > > In a small laptop computer with Windows 10 and 32-bit versions of Scilab: > > Scilab-5.5.2: > > size(mat) = [1 7] > mat took 0.08 sec to read. > size(mat) = [1 7] > > Scilab-6.0.0: > > size(mat) = [1 7] > mat took 39.14 sec to read. > size(mat) = [1 7] > > Regards > Stefan > > > On 2017-02-22 11:43, Lester Anderson wrote: > > Haven't got as far as testing the functions, but just starting version > > 6 compared to 5.5.2 is slower; not sure what is going on. Testing on > > Windows 8.1 (4 Gb RAM). > > > > Do you have a test script to try, see if the issue can be reproduced? > > > > Cheers > > Lester > > > > On 22 February 2017 at 10:15, Stefan Du Rietzwrote: > > > Hello, > > > I got Scilab 6 to work in a Windows 10 laptop. However, my loading of data > > > with read() took almost half an hour. > > > From toc() and mprintf(): > > > Loading of data took 26 min 23 sec > > > > > > In Scilab 5.5.2 it took just over a second. > > > From toc() and mprintf(): > > > Loading of data took 1.219 sec. > > > > > > What happened? > > > > > > Regards > > > Stefan > > > ___ > > > users mailing list > > > users@lists.scilab.org > > > http://lists.scilab.org/mailman/listinfo/users > > > > ___ > > users mailing list > > users@lists.scilab.org > > http://lists.scilab.org/mailman/listinfo/users > > > > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Scilab 6.0.0, read()
I got similar results under Linux : Scilab-5.5.2: 0.03 s Scilab-6.0.0: 5.13s Serge Le 22/02/2017 à 18:30, Stefan Du Rietz a écrit : Here you are, Lester! A script that generates a comparatively small data file and then reads it is attached. In a small laptop computer with Windows 10 and 32-bit versions of Scilab: Scilab-5.5.2: size(mat) = [1 7] mat took 0.08 sec to read. size(mat) = [1 7] Scilab-6.0.0: size(mat) = [1 7] mat took 39.14 sec to read. size(mat) = [1 7] Regards Stefan On 2017-02-22 11:43, Lester Anderson wrote: Haven't got as far as testing the functions, but just starting version 6 compared to 5.5.2 is slower; not sure what is going on. Testing on Windows 8.1 (4 Gb RAM). Do you have a test script to try, see if the issue can be reproduced? Cheers Lester On 22 February 2017 at 10:15, Stefan Du Rietzwrote: Hello, I got Scilab 6 to work in a Windows 10 laptop. However, my loading of data with read() took almost half an hour. From toc() and mprintf(): Loading of data took 26 min 23 sec In Scilab 5.5.2 it took just over a second. From toc() and mprintf(): Loading of data took 1.219 sec. What happened? Regards Stefan ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Scilab 6.0.0, read()
Here you are, Lester! A script that generates a comparatively small data file and then reads it is attached. In a small laptop computer with Windows 10 and 32-bit versions of Scilab: Scilab-5.5.2: size(mat) = [1 7] mat took 0.08 sec to read. size(mat) = [1 7] Scilab-6.0.0: size(mat) = [1 7] mat took 39.14 sec to read. size(mat) = [1 7] Regards Stefan On 2017-02-22 11:43, Lester Anderson wrote: Haven't got as far as testing the functions, but just starting version 6 compared to 5.5.2 is slower; not sure what is going on. Testing on Windows 8.1 (4 Gb RAM). Do you have a test script to try, see if the issue can be reproduced? Cheers Lester On 22 February 2017 at 10:15, Stefan Du Rietzwrote: Hello, I got Scilab 6 to work in a Windows 10 laptop. However, my loading of data with read() took almost half an hour. From toc() and mprintf(): Loading of data took 26 min 23 sec In Scilab 5.5.2 it took just over a second. From toc() and mprintf(): Loading of data took 1.219 sec. What happened? Regards Stefan ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users test_read.sce Description: application/scilab ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Scilab 6.0.0
I have 32-bit versions. Stefan On 2017-02-22 11:47, Stefan Du Rietz wrote: I agree! Regards Stefan On 2017-02-22 11:41, Lester Anderson wrote: Hi all, Just a general query, but has anyone noticed that it takes a lot longer to load Scilab 6 on Windows compared to v5.5.2 (64-bit)? Only installed a little while ago, but 5.5.2 loads really promptly on a laptop with 4 Gb of RAM and a selection of modules starting, whereas version 6 takes a while to get going (with no modules). Cheers Lester ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Scilab 6.0.0
I agree! Regards Stefan On 2017-02-22 11:41, Lester Anderson wrote: Hi all, Just a general query, but has anyone noticed that it takes a lot longer to load Scilab 6 on Windows compared to v5.5.2 (64-bit)? Only installed a little while ago, but 5.5.2 loads really promptly on a laptop with 4 Gb of RAM and a selection of modules starting, whereas version 6 takes a while to get going (with no modules). Cheers Lester ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
Re: [Scilab-users] Scilab 6.0.0, read()
Haven't got as far as testing the functions, but just starting version 6 compared to 5.5.2 is slower; not sure what is going on. Testing on Windows 8.1 (4 Gb RAM). Do you have a test script to try, see if the issue can be reproduced? Cheers Lester On 22 February 2017 at 10:15, Stefan Du Rietzwrote: > Hello, > I got Scilab 6 to work in a Windows 10 laptop. However, my loading of data > with read() took almost half an hour. > From toc() and mprintf(): > Loading of data took 26 min 23 sec > > In Scilab 5.5.2 it took just over a second. > From toc() and mprintf(): > Loading of data took 1.219 sec. > > What happened? > > Regards > Stefan > ___ > users mailing list > users@lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] Scilab 6.0.0
Hi all, Just a general query, but has anyone noticed that it takes a lot longer to load Scilab 6 on Windows compared to v5.5.2 (64-bit)? Only installed a little while ago, but 5.5.2 loads really promptly on a laptop with 4 Gb of RAM and a selection of modules starting, whereas version 6 takes a while to get going (with no modules). Cheers Lester ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users
[Scilab-users] Scilab 6.0.0, read()
Hello, I got Scilab 6 to work in a Windows 10 laptop. However, my loading of data with read() took almost half an hour. From toc() and mprintf(): Loading of data took 26 min 23 sec In Scilab 5.5.2 it took just over a second. From toc() and mprintf(): Loading of data took 1.219 sec. What happened? Regards Stefan ___ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users