Hi Marius, I think you will easily find out candidates for a better implementation - just take a look at the partial state of any of the components. Something that comes immediately to my mind is facelets.MARK_APPLIED - this is only relevant in request-scope, but is currently in the partial state, both in Mojarra and MyFaces (last time I looked).
Stuff like this needs to be fixed. Tell us if you have more information. best regards, Martin On 6/18/10, Leonardo Uribe <lu4...@gmail.com> wrote: > Hi > > I think the key classes are UIComponentBase , _DeltaStateHelper and > _DeltaList. Take a look at UIComponentBase.saveState() and > UIComponentBase.restoreState(). Those methods have calls to other methods > that are critical to state saving. I remember UIViewRoot has other methods > too. I think check those classes are a good point to start. > > regards, > > Leonardo Uribe > > 2010/6/18 Marius Petoi <marius.pe...@codebeat.ro> > >> Hello, >> >> In order to study the current performance of state saving, I designed a >> small page that I included in the examples for MyFaces 2.0. Also, I wrote >> 2 >> phase listeners that determine the length of the state saved in the >> ExternalContext before the render response phase and before the restore >> view >> phase. Do you have any suggestions what components should I start >> analyzing >> the state for? >> >> Regards, >> Marius >> > -- http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces