[Newbies] Speed

Herbert König herbertkoenig at gmx.net
Sat Nov 14 17:37:32 UTC 2009


John,

JW> I will email you the file and the data files its reading. If

thanks.

JW> there is something of interest to others you can then post up the
JW> part matters.

I used TimeProfileBrowser (as Subbu suggested) and Squeak 3.8.2
(supporting UTF8) in comparison to Squeak 3.6 (which is pre Cuis).

As Bert suggested, in more recent Squeaks a lot of time is spent in
UTF8 decoding. My figures are 9300ms (3.8) vs. 480ms (3.6).

In 3.6 significant time is spent in displaying the results on the
Transcript. If I comment out that line in getLogFiles I'm down to
312ms.

Which again shows the value of profiling before optimizing :-))

For unknown reasons in Cuis FileDirectory>>fileNames returns an empty
Array so I can't try there.


Cheers,

Herbert   



More information about the Beginners mailing list