Hi Frédéric,

your tests results are such a great news!

Best regards,

2012/1/30 Frédéric Thomas <webdoubl...@hotmail.com>

> Given there is no news on the behavior approach of the UIComponent (I
> guess some of you should still work on it), I did a quick test last night
> splitting the IStateClient2 implememtation of the UIcomponent into a
> StateBehavior, I then ran a test to measure the instatiation time and I've
> been surprised to see that it was quicker than the original UIComponent.
>
>
> Well, I've been quick and my test is may be not the best to do, I verified
> that the states, transitions and effects worked fine first and then just
> instanciated 100000 UIComponents and compared the time it took relative to
> the original version.
> It should may be good for the folks doing the same kind of job on the
> behavior approach at the moment to define a test protocol (time, memory,
> behavior).
>
>
> May be you can help Alex in that direction, given you already did some
> tests and measurements on it apparently, it would be nice to see your
> approach, what do you think, is it possible ?
>
>
> Is there someone arrived to the same finding than me ?
>
>
> #Andres Lozada, I didn't follow the approach you mentioned in my try at
> the moment but it is the one I thought to try too in a full dev.
>
>
> Frédéric Thomas
>
> -----Message d'origine----- From: Alex Harui
> Sent: Wednesday, January 25, 2012 11:10 PM
> To: flex-dev@incubator.apache.org
> Subject: RE: Flex 5 UIComponent - Behavior Pattern
>
>
>  -----Original Message-----
>> From: Haykel BEN JEMIA [mailto:hayke...@gmail.com]
>> Sent: Tuesday, January 24, 2012 11:51 PM
>> To: flex-dev@incubator.apache.org
>> Subject: Re: Flex 5 UIComponent - Behavior Pattern
>>
>>
>> This looks very bad. It looks like often used features must be
>> implemented
>> through inheritance.
>>
>>
>>  Well, that's why I say we have to give up on backward compatibility.  In
> my test, the measurement behavior was one of the most expensive
> 'behaviors'. However, in the current framework, lots of components are
> unnecessarily measured at startup.  We can't change that without breaking
> backward compatibility.  In my whiteboard, I will explore a simpler
> top-down layout that is more HTML-like.
>
> Alex Harui
> Flex SDK Developer
> Adobe Systems Inc.
> Blog: http://blogs.adobe.com/aharui
>
>
>


-- 
http://www.badu.ro

Reply via email to