[Newbies] RE: Why Squeak is so sloooow?
Ramon Leon
ramon.leon at allresnet.com
Thu Sep 21 22:43:31 UTC 2006
> Gasp, sorry, didn't see that. I've loaded it now. Here are
> the benchmark results:
>
> [
> 1 to: 10 do: [ :i |
> XYPlotter example1 plot asMorph openInWorld.
> XYPlotter example2 plot asMorph openInWorld.
> XYPlotter example3 plot asMorph openInWorld.
> XYPlotter example4 plot asMorph openInWorld.
> XYPlotter example5 plot asMorph openInWorld.
> XYPlotter example6 plot asMorph openInWorld.
> ]
> ] timeToRun.
>
> 15000
Slightly off topic, but this is a noob list, maybe some will find this
interesting. If you aren't using the index in #to:do:, why not simply...
10 timesRepeat: [
XYPlotter example1 plot asMorph openInWorld.
XYPlotter example2 plot asMorph openInWorld.
XYPlotter example3 plot asMorph openInWorld.
XYPlotter example4 plot asMorph openInWorld.
XYPlotter example5 plot asMorph openInWorld.
XYPlotter example6 plot asMorph openInWorld.
]
More information about the Beginners
mailing list