[squeak-dev] Teleplace Cog VMs are now available

Denis Kudriashov dionisiydk at gmail.com
Wed Jul 7 04:57:33 UTC 2010


It's strange. I loaded last version of XMLParser and all work very well (at
3 times faster)

2010/6/25 Igor Stasenko <siguctua at gmail.com>

> 2010/6/22 Denis Kudriashov <dionisiydk at gmail.com>:
> > Hello.
> >
> > 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
> > faster).
> >
>
> Looks like the code using different paths.
> I suspect that in one case, some operations are done primitively,
> while in another one - interpreted.
>
> >
> >
> >
> >
> >
> >
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20100707/c57ea689/attachment.htm


More information about the Squeak-dev mailing list