myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "GSoC2010_StateSavingPerformanceImprovements" by Marius Petoi
Date Wed, 07 Apr 2010 13:53:44 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The "GSoC2010_StateSavingPerformanceImprovements" page has been changed by Marius Petoi.
http://wiki.apache.org/myfaces/GSoC2010_StateSavingPerformanceImprovements?action=diff&rev1=19&rev2=20

--------------------------------------------------

  
  The state in UI''''''Component''''''Base is: faces listeners, behaviors map and system event
listener class map. In addition to these, there is the State''''''Helper, which was initially
designed to hold properties which are not components (for example properties which have only
a String value, for which there is no "delta"). The implementing class used for partial state
saving is _Delta''''''State''''''Helper, which for a certain component stores the initial
value and the deltas, which represent the values of the properties at some stages for some
properties retrieved with a key. 
  
- However, there are some properties which are components and which are saved in the State''''''Helper.
For objects saved in the State''''''Helper, partial state saving is not used, as the entire
object is saved at each stage. One example of such objects for which partial state saving
is skipped are Phase''''''Listeners. For UIOutput objects, only data of elementary types are
saved in the State''''''Helper. For UIInput objects, the ValueChangeListeners are components
that do not have a partial saved state.
+ However, there are some properties which are components and which are saved in the State''''''Helper.
For objects saved in the State''''''Helper, partial state saving is not used, as the entire
object is saved at each stage. One example of such objects for which partial state saving
is skipped are Phase''''''Listeners. For UI''''''Output objects, only data of elementary types
are saved in the State''''''Helper. For UI''''''Input objects, the Value''''''Change''''''Listeners
are components that do not have a partial saved state.
  
  This project is intended to take a deeper look into what exactly is saved at the moment.
The saved state should be analyzed and see whether anything can be skipped. A good starting
point for this is looking at what components save in their State''''''Helper. Memory profiling
should be done and see which part of the saved state occupies the most memory. Afterwards,
we should see how much of this is really used and what can be dismissed. Also, the table component
does not have partial state saving at all.
  

Mime
View raw message