philippeback wrote
> 
> Not sure if this is related but:
> 
> "The size is computed incorrectly."
> ...fontName: #DejaVuSans size: 24;
> 

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 ].

HTH,
Sean

--
View this message in context: 
http://forum.world.st/Unresponsive-1-4-image-tp4574693p4577273.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

Reply via email to