[Seaside] Re: TableReport slow down

Hilaire hilaire at drgeo.eu
Thu Dec 31 14:02:43 UTC 2015


Some investigation shows an issue while appending an € symbol in the
text representation of my money object (the one used by seaside for

CGMoney>>printOn: aStream
    aStream << (amount asScaledDecimal: 2) greaseString << ' ' << '€'

Replacing '€' by 'EUR' gives back normal rendering time.

Indeed the '€' is encoded as WideString, so not sure what is happening.
All content converted to WideString or what?

But I really want to rendery euro symbol



Le 31/12/2015 14:32, Hilaire a écrit :
> Hello,
> I am experiencing a slow down rendering a large table report:
> The table report is more than 240 lines. Reading at the source html, it
> is about 900 bytes per lines, so a bit more than 200kB for the report.
> Not much for the rest of the page. The page renders in a bit more 5s, on
> a local loop.
> Profiling shows most of time is spent in WideString>>at:put:
> For me 200KB is not that big and this slow down does not look normal.
> Seaisde is
> Smalltalk is Pharo3
> CPU is double core intel 800Mhz-2000Mhz
> VM is 3.9-7   
> The profiling tree is as shown in the screenshot.
> Thanks
> Hilaire
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

Dr. Geo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20151231/33d68f5b/attachment.htm

More information about the seaside mailing list