Experiences with Squeak and Gemstone?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|

OB performance (Re: Slime)

Andreas.Raab
On 4/3/2010 2:22 PM, Colin Putney wrote:

>
> On 2010-04-03, at 11:50 AM, Andreas Raab wrote:
>
>> On 4/3/2010 11:27 AM, Levente Uzonyi wrote:
>>> On Sat, 3 Apr 2010, Andreas Raab wrote:
>>>> Interesting. My encounters with OB mostly originate from Pharo where
>>>> it's always been dog-slow so I was never interested in looked deeper.
>>>> Any ideas how to install OB without that stuff?
>>>
>>> Try this:
>>
>> Thanks. It's definitely better than I remembered. I'm still noticing a real delay in some areas though, for example when I click on a system category. One thing you can try to test this is to open a regular browser and OB and then just keep scrolling through the system categories with cursor up or cursor down. In the regular browser this entirely smooth; in OB it's "stuttering" and at least I notice the same delay when clicking on the list.
>
> Yeah, this one area where OB is certainly not as fast. That's because OB sorts classes according to inheritance, rather than name. It's just more work. I find the tradeoff worthwhile - it's not that slow, and the extra information imparted by the sort order is useful - but reasonable people may disagree. It wouldn't be hard to make this a preference.
Nope it's not that. A bit of profiling shows the particular problem is
caused by some gross inefficiencies when updating. If you file in the
attached tweaks, OB scrolls just as smoothly as the standard browser.
I'm not sure if the tweaks have side effects though; you might want to
verify that (in particular because of the comment in
OBColumn>>switchFilter: which indicates some interference although I
can't see how that could make a difference if the filter is identical).

Cheers,
   - Andreas



OmniTweaks-ar.cs (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: OB performance (Re: Slime)

Colin Putney

On 2010-04-06, at 8:25 PM, Andreas Raab wrote:

> Nope it's not that. A bit of profiling shows the particular problem is caused by some gross inefficiencies when updating. If you file in the attached tweaks, OB scrolls just as smoothly as the standard browser. I'm not sure if the tweaks have side effects though; you might want to verify that (in particular because of the comment in OBColumn>>switchFilter: which indicates some interference although I can't see how that could make a difference if the filter is identical).

That is awesome, thanks! It seems to work fine; I've removed the comment. It's probably out of date, and if there are visual oddities, the fix is undoubtedly somewhere else.

Colin


Reply | Threaded
Open this post in threaded view
|

Re: Slime

espin
In reply to this post by Levente Uzonyi-2
Hi all,
I noticed that 'instance' '?' and 'class' do not show any visual clue
about their state, i.e. 'instace' button should be _selected_ when
browsing instance methods.
Do you experience the same issue?
Any solution (I searched around [mailing list and Mantis] but found nothing...)?

Thanks in advance
Bye
Enrico


On Sat, Apr 3, 2010 at 20:27, Levente Uzonyi <[hidden email]> wrote:
On Sat, 3 Apr 2010, Andreas Raab wrote:

On 4/3/2010 10:37 AM, Levente Uzonyi wrote:
On Sat, 3 Apr 2010, Andreas Raab wrote:

On 4/3/2010 7:54 AM, Ralph Johnson wrote:
Why would OB be a no-go? I am very happy with OB, and like it better
than any other Squeak browser.

I can't speak for others but in my experience OB is too slow to be of
any use. When interactions on a 2GHz dual-core box take seconds I
can't get work done.

I think that was OB + some other stuff (like automatic method
categorization). OB in itself is as fast as the default browser and some
has great features.

Interesting. My encounters with OB mostly originate from Pharo where it's always been dog-slow so I was never interested in looked deeper. Any ideas how to install OB without that stuff?

Try this:
Installer ss
       project: 'rb';
       install: 'AST';
       install: 'Refactoring-Core';
       install: 'Refactoring-Spelling';
       project: 'Regex';
       install: 'VB-Regex'.
Installer wiresong
       project: 'ob';
       install: 'OmniBrowser';
       install: 'OB-Morphic';
       install: 'OB-Standard';
       install: 'OB-Shout';
       install: 'OB-Refactory';
       install: 'OB-Regex';
       install: 'OB-SUnitIntegration'.


Levente



Cheers,
 - Andreas

What I'm really missing is "Recent classes..." from the menu and the
movable splitters between the upper panels (aka resizeable panels). It's
really a PITA to resize the full browser to see the name of the current
category/class/protocol/method.


Levente


Cheers,
- Andreas











--
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick


Reply | Threaded
Open this post in threaded view
|

Re: Slime

Frank Shearar

Enrico Spinielli wrote:
> Hi all,
> I noticed that 'instance' '?' and 'class' do not show any visual clue
> about their state, i.e. 'instace' button should be _selected_ when
> browsing instance methods.
> Do you experience the same issue?
> Any solution (I searched around [mailing list and Mantis] but found
> nothing...)?

Do you mean the Browser in Trunk, or OB? Because in Trunk there is a
visual indication - see attached. OK, not MUCH of an indication. (Class
is selected.)

frank



browser-instance-class.jpg (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Slime

espin
OB

On Mon, Apr 12, 2010 at 16:22, Frank Shearar <[hidden email]> wrote:

Enrico Spinielli wrote:
Hi all,
I noticed that 'instance' '?' and 'class' do not show any visual clue
about their state, i.e. 'instace' button should be _selected_ when
browsing instance methods.
Do you experience the same issue?
Any solution (I searched around [mailing list and Mantis] but found nothing...)?

Do you mean the Browser in Trunk, or OB? Because in Trunk there is a visual indication - see attached. OK, not MUCH of an indication. (Class is selected.)

frank






--
Enrico Spinielli
"Do Androids dream of electric sheep?"— Philip K. Dick
"Hear and forget; see and remember;do and understand."—Mitchel Resnick


12