Changes between Version 2 and Version 3 of FAQs/ModelGlue32ReloadChanges
- Timestamp:
- 09/25/11 14:20:44 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQs/ModelGlue32ReloadChanges
v2 v3 1 As of version 3.2, Model-Glue will load only the internals necessary to fulfill the current request, in contrast to the LoadItAllNowarchitecture of previous versions. This technique is called [http://en.wikipedia.org/wiki/Memoization Memoization], an optimization technique used primarily to speed up computer programs by having function calls avoid repeating the calculation of results for previously-processed inputs. Also, Model-Glue will now optionally keep the internal state of your bean factory across reloads, saving you from reloading all of your ColdSpring-managed objects on each request.1 As of version 3.2, Model-Glue will load only the internals necessary to fulfill the current request, in contrast to the '''LoadItAllNow''' architecture of previous versions. This technique is called [http://en.wikipedia.org/wiki/Memoization Memoization], an optimization technique used primarily to speed up computer programs by having function calls avoid repeating the calculation of results for previously-processed inputs. Also, Model-Glue will now optionally keep the internal state of your bean factory across reloads, saving you from reloading all of your ColdSpring-managed objects on each request. 2 2 3 See this article on [ [wiki:HowCanISpeedUpReloadTimes How Can I Speed Up Reload Times] for more info.3 See this article on [wiki:FAQs/HowCanISpeedUpReloadTimes How Can I Speed Up Reload Times] for more info. 4 4 5 5 == Results == … … 27 27 == Performance Result Charts == 28 28 === Initial Startup === 29 [[Image( )]]29 [[Image(Timing_Cold_Init.png)]] 30 30 === First Reinitialization === 31 [[Image( )]]31 [[Image(Timing_First_Re-Init.png)]] 32 32 === Second Reinitialization === 33 [[Image()]] 33 [[Image(Timing_Second_Re-Init.png)]] 34 35 36 == Conclusion == 37 As you can see, the application load times markedly increase about the 200 object mark. This difference is enormous at the 2000 object mark (tested as 1000 Controllers and 1000 Event-Handlers). With the new changes, '''our timing curve of the new version is much flatter than the timing curve of the previous version.''' We hope this makes a difference in your development time and helps Model-Glue remain a high-productivity tool for building awesome applications!
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)