Hello Clément,

 

Yes, I have some function blocks and expression blocks.

Must I understand that I have to write CBLOCK for scilab function or scilab
expression or both ?

 

Here are other results for a more complex project name PELT1

 

Time request : 100 s

 

Results :

Xcos Scilab 5.5.2 :

Durée de la simulation : 258.3 s

 

Xcos Sciab 6.1.0 :

Durée de la simulation : 4353.4 s

 

So the ratio is 16.8 for PELT1

 

Other information :

 

Scilab 5.5.2 : time between click go and first scope on the screen = 5 s

 

Scilab 6.1.0 : time between click go and first scope on the screen = 95 s

 

Ratio=19

 

…and I also have other projects more complex

 

Pelt1 is for 1 needle (2 positonning loop)

Perlt6 for 6 !!! (7 positonning loop)

 

 

BR

 

 

De : users <[email protected]> De la part de Clément David
Envoyé : vendredi 28 février 2020 10:10
À : Users mailing list for Scilab <[email protected]>
Objet : Re: [Scilab-users] Xcos 6.1.0 - benchmark time test

 

Hello Pierre,

 

Are you using a block with its simulation function implemented in Scilab?
Any C/C++ implemented block might perform the same at simulation time.

 

In 6.0.2, implementing Xcos blocks using the Scilab language had some
performance issues. In 6.1.0, I tried to speed up things a little bit by
reusing some allocated data structure during simulation time [1] ; more work
might still be needed here.

 

[1]:
http://cgit.scilab.org/scilab/commit/?id=bfe4f25275dc0d889817d10b63e10c9a064
1ef32 

 

Regards,

 

--

Clément

 

From: users <[email protected]
<mailto:[email protected]> > On Behalf Of Perrichon
Sent: Friday, February 28, 2020 8:51 AM
To: 'Users mailing list for Scilab' <[email protected]
<mailto:[email protected]> >
Subject: [Scilab-users] Xcos 6.1.0 - benchmark time test

 

Hello,

 

Here I test a PELTON basic algorithm under xcos, and record with tic-toc the
simulation real time.

These programs have been set for 120 s (scope)

 

Results :

Xcos Scilab 5.5.2 :

Durée de la simulation : 45.4 s

 

Xcos Sciab 6.1.0 :

Durée de la simulation : 65.2 s

 

So the ratio is 1.44 for a basic sheme

 

Any explaination ?

Can that be improved ?

 

BR

 

 

 

_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to