Some measures: i turning off drawing a specific pane (panexx setProperty: #errorOnDraw toValue: true) in OB browser window, and then do [self fullDrawOn: World assuredCanvas] timeToRun to determine which pane takes most time to draw:
- everything on (Watery 2 theme) 50ms - turning off drawing a package pane (1st one) 37ms ( - 13 ms) - turning off drawing a class list pane (2nd one) 30ms ( -7 ms) - turning off drawing a category list pane (3rd one) 26ms (-4 ms) - turning off drawing a method list pane (4th one) 20ms (-6 ms) - turning off drawing an enchanced button pane (a row of buttons in the middle of window) 10ms (-10 ms) - turning off drawing a method source pane 8ms (-2 ms) -- ATM there was 4 lines of text at this stage there are a little left to turn off - a window is covered by an areas filled with red color. Let us assume that 8ms is our sacrifice to draw a window :) The numbers speak for themselves, and indicating which areas need attention to improve rendering speed. -- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
