--- Begin Message ---
I’ve tried this:

[ 'http://picasaweb.google.com/data/feed/api/all?q=puppy' asUrl
 retrieveContents ] timeToRun 0:00:00:02.587

 [ 
GTInspector setGTInspectorEnabledStatus: false
('http://picasaweb.google.com/data/feed/api/all?q=puppy' asUrl
  retrieveContents) inspect ] timeToRun 0:00:00:02.877

 [ GTInspector setGTInspectorEnabledStatus: true.
        ('http://picasaweb.google.com/data/feed/api/all?q=puppy' asUrl
  retrieveContents) inspect ] timeToRun 0:00:00:50.129

[ 
        RubScrolledTextMorph new 
                openInWorld; 
                updateTextWith: ( 
'http://picasaweb.google.com/data/feed/api/all?q=puppy' asUrl
 retrieveContents) ] timeToRun 0:00:00:04.543


So, Rubric takes 2 seconds to open and show this big text, 
the basic inspector takes 0.3 seconds to open but it shows the first characters 
only.
GTInspector takes 50 seconds.

I think the problems comes from GTInspector itself.
From MorphTreeMorph maybe which is used by GTInspector

Cheers
Alain


> Le 25 févr. 2015 à 22:24, Andrei Chis <[email protected]> a écrit :
> 
> Hi,
> 
> It takes such a long time because for String objects the default presentation 
> shows the content of the String. In this case the string has 10 million 
> characters which Rubric takes some time to display.
> 
> Given you use case it could make sense to limit by default the size of 
> content that is displayed and when this happens add an action for showing the 
> entire content.
> 
> Cheers,
> Andrei
> 
> On Wed, Feb 25, 2015 at 8:57 PM, Damien Cassou <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi,
> 
> if you inspect the following in Pharo 4, it will take a long time to
> execute:
> 
>   'http://picasaweb.google.com/data/feed/api/all?q=puppy 
> <http://picasaweb.google.com/data/feed/api/all?q=puppy>' asUrl
>   retrieveContents.
> 
> 
> but if you execute this before, the inspecting above expression is much
> faster:
> 
> GTInspector setGTInspectorEnabledStatus: false.
> 
> 
> --
> Damien Cassou
> http://damiencassou.seasidehosting.st <http://damiencassou.seasidehosting.st/>
> 
> "Success is the ability to go from one failure to another without
> losing enthusiasm." --Winston Churchill
> 
> 


--- End Message ---

Reply via email to