[squeak-dev] Re: Problems installing FFI on 3.10 release

Gary Chambers gazzaguru2 at btinternet.com
Tue Apr 1 14:38:35 UTC 2008


For the benchmark, try with the noAnimationForWindowClosing switched off (PreferenceBrowser, windows category). Also, try selecting the standard browser as default. I get around 7000 to 10000 depending on the ui theme used.

> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org]On Behalf Of
> Andreas Raab
> Sent: 01 April 2008 10:27 AM
> To: The general-purpose Squeak developers list
> Subject: [squeak-dev] Re: Problems installing FFI on 3.10 release
> 
> 
> Andrew Tween wrote:
> > It loads ok, from Universe, if it is the first thing loaded.
> > It fails to load in a 3.10 developer image -see 
> > http://bugs.squeak.org/view.php?id=6952
> 
> Yeah, I was just looking at this. BTW, has anyone actually tried to work 
> with the Squeak-dev image naively? It's a complete screw-up; here is my 
> experience with sq3.10-7159dev08.03.1.image:
> * Try to open a new browser; looks like the system is frozen; three 
> seconds later the browser *finally* appears
> * Try to open a Universe browser (basic); no search facility; oh well...
> * Try to open a Universe browser (enhanced); it has search (yay!); 
> search for "FFI"; it explodes (some OB internal error)
> * Open the basic universe browser again; open every goddamn tree to find 
> the FFI; each tree takes about five seconds to open them all because 
> it's so goddamn slooooooooow
> * about a minute later, finally, FINALLY, find the FFI; click on FFI 
> version 3.9 and "select package"; wait ten seconds before it *finally* 
> selects something
> * Try loading it; it explodes; abort it; expect to find the so-called 
> "atomic" load to leave no traces behind; find out that that's not true
> * Quit and go through the same process again; try with 3.9.1; it 
> explodes again
> * Open a debugger; find the place where it goes wrong; "browse" to it; 
> ten endless seconds later a browser *finally* appears
> * Navigate to ExternalType; try to understand what is wrong with 
> StructTypes; WHERE THE HELL IS CLASS VAR REFS IN OB???
> 
> Giving up. This is completely and utterly unusable. Every single step 
> takes five seconds or more. I have never seen a Squeak image that has 
> frustrated me more and that made the simplest and most basic things 
> painful and unusable.
> 
> If this is a "developer" image then I'm a graphics artist.
> 
> For comparison, the good ol' Browser macroBenchmark:
> 
> [saveMorphs := World submorphs.
> World removeAllMorphs."heh, heh"
> time := Time millisecondsToRun:[1 to: 10 do: [:i |
> Browser fullOnClass: Object selector: #printOn:].
> World submorphs do: [:m | m delete. self currentWorld doOneCycle].
> ]] ensure:[World addAllMorphs: saveMorphs].
> time
> 
> executes in 44,120 msecs in the Squeak-dev image; in my Qwaq image 
> (which uses Shout and TT fonts; Squeak-dev only uses Shout) this 
> executes in a mere 6,173 msecs. That is about 7x faster than Squeak-dev. 
> How do you people get work done?
> 
> Apologies for the rant, but when I'm trying to fix problems I'm not 
> particularly tolerant towards any "improvements" that serve no other 
> purpose than distracting me from getting the job done.
> 
> And apologies to everyone using 3.10 and trying to load the FFI but I 
> can't fix the problem in a system that is *that* slow. Not unless 
> someone buys me a 4GHz quadruple core box with two bazillion bytes of 
> memory first.
> 
> Cheers,
>    - Andreas
> 




More information about the Squeak-dev mailing list