Status: Accepted
Owner: [hidden email] Labels: Type-Bug New issue 5656 by [hidden email]: Large fonts make tools slow http://code.google.com/p/pharo/issues/detail?id=5656 Pharo1.4 Latest update: #14438 See discussion at http://forum.world.st/Unresponsive-1-4-image-td4574693i20.html#a4577853 Here's an excerpt... not sure which other parts are related... When you mentioned this problem with a big font, I zeroed in on the issue about slow tools at: http://forum.world.st/Pharo-1-4-browse-slow-td4532473.html#a4533467 http://forum.world.st/The-tools-are-dreadfully-slow-in-1-4-td4173491.html Opening a browser got much slower the bigger I made my fonts, esp. the code font it seemed. Here were the results of evaluating "[ SystemBrowser defaultOpenBrowser ] timeProfile", which in this case is Nautilus, with the following predefined font styles set from the settings browser: small -> 212 msec huge -> 1491 msec huge and Helvetica Neue for code -> 2218 msec my custom preferences [1] -> 3171 msec (of course, the longest, lol) Small (fastest) statistics: **Memory** old +6,163,916 bytes young -1,056,972 bytes used +5,106,944 bytes free +1,076,236 bytes **GCs** full 1 totalling 81ms (3.0% uptime), avg 81.0ms incr 361 totalling 865ms (27.0% uptime), avg 2.0ms tenures 133 (avg 2 GCs/tenure) root table 0 overflows my prefs (slowest) statistics: 30.7% {973ms} WeakArray class>>finalizationProcess 58.9% {1866ms} NautilusWindow(Morph)>>doLayoutIn: **Memory** old +1,563,220 bytes young +1,067,008 bytes used +2,630,228 bytes free -402,812 bytes **GCs** full 0 totalling 0ms (0.0% uptime) incr 15 totalling 26ms (12.0% uptime), avg 2.0ms tenures 15 (avg 1 GCs/tenure) root table 0 overflows [1] The script for my custom prefs is: | fontName regularSize smallSize smallFont regularFont | FreeTypeFontProvider current updateFromSystem. fontName := 'Helvetica Neue'. regularSize := 18. smallSize := 14. regularFont := LogicalFont familyName: fontName pointSize: regularSize. smallFont := LogicalFont familyName: fontName pointSize: smallSize. #(defaultFont: codeFont: listFont: menuFont: windowTitleFont: buttonFont:) do: [ :e | StandardFonts perform: e with: regularFont ]. #(balloonFont: haloFont:) do: [ :e | StandardFonts perform: e with: smallFont ]. _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Updates:
Status: Invalid Comment #1 on issue 5656 by [hidden email]: Large fonts make tools slow http://code.google.com/p/pharo/issues/detail?id=5656 yes, large fonts are slow. The solution is to write a new graphics subsystem. I close this for now.... _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Updates:
Status: Accepted Comment #2 on issue 5656 by [hidden email]: Large fonts make tools slow http://code.google.com/p/pharo/issues/detail?id=5656 (No comment was entered for this change.) _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Free forum by Nabble | Edit this page |