logo       

Re: Why Squeak is so sloooow?: msg#00138

lang.smalltalk.squeak.beginners

Subject: Re: Why Squeak is so sloooow?

Antonio,

If you evaluate the following (and print-it):

| a b |
a := FloatArray new: (16 * 1024*1024).
b := FloatArray new: (16 * 1024*1024).
[a += b] timeToRun.

you probably get a number around 100 or 200. This means that Squeak
can add two 32-bit float arrays with 16M entries in 100 milliseconds
or such. This is basicaly comparable Java-performance.

Yes, some areas in Squeak is slow, but there are a few ways to make
particular stuff faster.

-- Yoshiki


At Thu, 21 Sep 2006 16:18:48 +0200 (CEST),
Antonio San. wrote:
>
> I don't know if occurs the same in windows, but in
> linux squeak is very slow.
> I mean that all the thinks related to move pixels over
> the screen causes cpu overheat in a desmesurated way
> and a big latency.
> It is specially bad for videogames developed in squeak
> because the movement of a picture imply a speed down
> of other pictures in the game.
>
> I thought that it was caused by my old PC. But I have
> tested in five diferents machines, included a powerful
> P4 with 2.8Ghz and 512 Mb RAM, with the same results.
>
> Is X system (xfree86 and xorg) a bad way for execute
> squeak? Occur the same in windows?
>
>
>
>
>
>
> ______________________________________________
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com
> _______________________________________________
> Beginners mailing list
> Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
> http://lists.squeakfoundation.org/mailman/listinfo/beginners


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise