[squeak-dev] Teleplace Cog VMs are now available

Denis Kudriashov dionisiydk at gmail.com
Tue Jun 22 20:40:41 UTC 2010


Cog performance is incredible. My application improved 3 times speedup. And
I now does not need special caching logic in my program.

But I found very strange behavior in xml dom parsing of big text with many
russian text (by XML-Parser XMLDOMParser class).

russionXml := String streamContents: [:s | s nextPutAll: '<root>'.
    1000 timesRepeat: [
        s nextPutAll: '<item>'.
        s nextPutAll: 'фывапролд'.
        s nextPutAll: '</item>'].
    s nextPutAll: '</root>'

[XMLDOMParser parseDocumentFrom: russionXml] timeToRun .

In pharo 1.1 I have

567 ms with old VM.
6673 ms with Cog VM.

But all other stuff that I tested work faster with Cog (at 3-4 times
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100623/e0dda407/attachment.htm

More information about the Squeak-dev mailing list