[PD] speed

cyrille henry cyrille.henry at la-kitchen.fr
Sat Feb 2 16:09:31 CET 2008


could you please post msgltest.pd abstraction?
thx
c


marius schebella a écrit :
> hello cyrille,
> drawing squares now, I attach the pd-patch (msgltest2-test.pd) and the 
> lua script (msgltest2.lua) that I used. with lua I can draw more than 
> 10000 squares, with gem around 2000. I don't know exactly why lua is 
> faster.
> maybe because in lua, I create one long gl command list (from glbegin to 
> glend) and in gem I trigger gemhead everytime I draw a square. is there 
> a way to make the gem part faster?
> marius.
> 
> cyrille henry wrote:
>> hello,
>>
>> i have not try the test patch, but the curve object is very ineficient 
>> to draw line.
>> can you try to draw as many square as possible in gem, and with luagl?
>>
>> this 10:1 speed factor is surprising.
>>
>> cyrille
>>
>>
>> marius schebella a écrit :
>>> hey frank/list,
>>> somehow I managed to get luagl working. (I did a fink install lua51 
>>> and lua51-dev and the rest (luagl/opengl) was still there from one of 
>>> my earlier attempts - I am still trying to reconstruct the 
>>> installation process...
>>> running the patch, that you posted some time ago (with the colored 
>>> lines) I get an amazing speed advantage for lua. is this a valid 
>>> performance test? because with lua I can draw 20000 lines at a cpu 
>>> usage of 80%, the gem part eats up 80% already with 2000 lines (10:1).
>>> cheers,
>>> marius.
>>>
>>> _______________________________________________
>>> PD-list at iem.at mailing list
>>> UNSUBSCRIBE and account-management -> 
>>> http://lists.puredata.info/listinfo/pd-list
>>>
>>>
>>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list