Commit ID r142
|Date:||04-August-2008 at 17:20||Lines Added:||456|
|Repository:||http://gchart.googlecode.com/svn/trunk /trunk||Lines Removed:||105|
|Commit Comment:||Introduced PartitionedAbsolutePanel class to workaround a suspected performance bug in FF2 that can produce O(N^2) instead of O(N) update times if more than around 500 widgets are contained in any single AbsolutePanel. New solid fill line charts (via new LINE SymbolType) tend to easily generate thousand-widget plus charts, exposing this FF2 performance bug more frequently. Due to the partitioning overhead costs, performance in theory is now worse for small-widget-count charts and in IE7 (which doesn't have this bug) but such increases appeared almost too small to be measurable (< 1ms) in the small-widget-count chart used for most GChart 2.1 performance testing (GChartExample11). Added a new test chart (GChartExample15c, a tweaked version of the live demo sin curve) to reproduce the FF2 bug and test this workaround for it.
|File||Language||Code Added||Code Removed||Comments Added||Comment Removed||Blanks Added||Blanks Removed|