[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Converting code from Scilab to Octave and strange slow down while tr
From: |
Mike Miller |
Subject: |
Re: Converting code from Scilab to Octave and strange slow down while trying to plotting. |
Date: |
Wed, 20 Feb 2019 11:11:15 -0800 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Wed, Feb 20, 2019 at 13:42:16 -0500, RT wrote:
> I'm trying to convert some code over from Scilab 6.01 to Octave 5.0.91.
> I'm testing the code with Octave version 5.0.91 on Ubuntu 64bit 16gig ram.
> In Scilab the code plots in about 2 seconds but after 15mins in Octave
> 5.0.91 it's still going. Can anyone see the error in my conversion from
> Scilab to Octave and why this won't plot with the same values as Scilab?
There is no error, you've found a performance regression in Octave 5.
Can you file a bug report?
Here is a simpler example that shows a loss of performance from 4.4 to
5, with scatter3 on 1024 points:
$ cat t.m
[x, y, z] = peaks (32);
[x, y, z] = deal (x(:), y(:), z(:));
tic;
scatter3 (x, y, z);
toc
$ octave-4.4.1 t.m
Elapsed time is 0.104946 seconds.
$ octave-5.0.91 t.m
Elapsed time is 20.1961 seconds.
--
mike
signature.asc
Description: PGP signature