Opened 14 years ago
Last modified 7 years ago
#1451 assigned defect
Backend scaling for simple array-equation — at Initial Version
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Backend | Version: | |
Keywords: | Cc: | Martin Sjölund, Henning Kiel |
Description
Scales to the power of 3.5... Horrible
n=50 0.231s
n=100 2s
n=150 9s
n=200 27s
n=10000 115 days
{{{class A
function fn
input Real time;
input Integer n;
output Real out[n];
algorithm
out := {i*time for i in 1:n};
end fn;
parameter Integer n = 10000;
Real r[n];
equation
r = fn(time, n);
end A;}}}
Note:
See TracTickets
for help on using tickets.