Re: [Pharo-users] Bug in Date>>readFrom:pattern: ? Pharo2.0

2013-07-29 Thread Marcus Denker
On Jul 30, 2013, at 12:47 AM, José Comesaña wrote: > I think so. I think Stef created 10869 and I 10870. I had made the > corrections and written the tests. Anyway, it is possible that I had made it > bad. I thought I had commited the slice, but... > > If you tell me how, I will do it again.

Re: [Pharo-users] Pharo performance

2013-07-29 Thread Esteban Lorenzano
btw, one of the reasons why I would like to (some day) rewrite the DBXTalk Driver getting rid of opendbx is because it answers always strings (char*) [1], which at the time needs to be parsed too... slowing a lot the process. but well, since it is not an easy task, it will be delayed indefinitel

Re: [Pharo-users] Pharo performance

2013-07-29 Thread Yanni Chiu
On 29/07/13 7:08 PM, Sven Van Caekenberghe wrote: The explanation for the slowdown must be in the PgV2 driver. The PgV2 protocol is described at: http://www.postgresql.org/docs/7.1/static/protocol-message-formats.html Have a glance at the "AsciiRow" and "BinaryRow" message formats. The dri

Re: [Pharo-users] Pharo performance

2013-07-29 Thread Mariano Martinez Peck
I forward Nico's answer because he is not in the mailing list. On Mon, Jul 29, 2013 at 6:12 PM, Nicolas Cellier < nicolas.cellier.aka.n...@gmail.com> wrote: > First thing, printing a Float correctly is a difficult task. > > Let's remind the requirements for a decimal printString: > 1) every two d

Re: [Pharo-users] Pharo performance

2013-07-29 Thread Sven Van Caekenberghe
On 29 Jul 2013, at 23:20, Chris wrote: > On 29/07/2013 21:33, Sven Van Caekenberghe wrote: >> Chris, >> >> On 29 Jul 2013, at 20:52, Chris wrote: >> >>> I've been getting a little concerned with certain aspects of performance >>> recently. Just a couple of examples off the top of my head wer

Re: [Pharo-users] Bug in Date>>readFrom:pattern: ? Pharo2.0

2013-07-29 Thread José Comesaña
I think so. I think Stef created 10869 and I 10870. I had made the corrections and written the tests. Anyway, it is possible that I had made it bad. I thought I had commited the slice, but... If you tell me how, I will do it again. Regards 2013/7/29 Marcus Denker > > On Jul 29, 2013, at 2:34

Re: [Pharo-users] Pharo performance

2013-07-29 Thread Chris
On 29/07/2013 21:33, Sven Van Caekenberghe wrote: Chris, On 29 Jul 2013, at 20:52, Chris wrote: I've been getting a little concerned with certain aspects of performance recently. Just a couple of examples off the top of my head were trying to do a printString on 20 floats which takes ov

Re: [Pharo-users] Pharo performance

2013-07-29 Thread Sven Van Caekenberghe
Chris, On 29 Jul 2013, at 20:52, Chris wrote: > I've been getting a little concerned with certain aspects of performance > recently. Just a couple of examples off the top of my head were trying to do > a printString on 20 floats which takes over 3 seconds. If I do the same > in Python it

Re: [Pharo-users] Pharo performance

2013-07-29 Thread Mariano Martinez Peck
I remember Nicolas Cieller did something about improving performance of Float printing. Not sure what is the state yet On Mon, Jul 29, 2013 at 4:50 PM, Chris wrote: > I often use the profiler :) > > The float printString is all fairly evenly split which is why I mention > about whether a

Re: [Pharo-users] Pharo performance

2013-07-29 Thread Chris
I often use the profiler :) The float printString is all fairly evenly split which is why I mention about whether another implementation may be required. I'll always raise anything much more obvious that I see! Hi Chris, My recommendation in this case is always do not spend a single second

Re: [Pharo-users] Pharo performance

2013-07-29 Thread Mariano Martinez Peck
Hi Chris, My recommendation in this case is always do not spend a single second trying to figure out what is the bottleneck by yourself. First thing ever to do, is to run a profiler. You can do that very easily in Pharo. TimeProfiler spyOn: [ Transcript show: 'do something for real here to benchm

[Pharo-users] Pharo performance

2013-07-29 Thread Chris
I've been getting a little concerned with certain aspects of performance recently. Just a couple of examples off the top of my head were trying to do a printString on 20 floats which takes over 3 seconds. If I do the same in Python it is only 0.25 seconds. Similarly reading 65000 points fro

Re: [Pharo-users] [Voyage] Using OID as a domain object identifier

2013-07-29 Thread Norbert Hartl
Am 29.07.2013 um 19:34 schrieb Esteban A. Maringolo : > 2013/7/29 Norbert Hartl : >> Am 29.07.2013 um 15:46 schrieb "Esteban A. Maringolo" : >>> Is it a good practice to use the OID value (anInteger) as an >>> "external" identifier of your domain object? >>> ... >>> I like OID/UUIDs, and I don't

Re: [Pharo-users] [Voyage] Using OID as a domain object identifier

2013-07-29 Thread Esteban A. Maringolo
2013/7/29 Norbert Hartl : > Am 29.07.2013 um 15:46 schrieb "Esteban A. Maringolo" : >> Is it a good practice to use the OID value (anInteger) as an >> "external" identifier of your domain object? >> ... >> I like OID/UUIDs, and I don't want to duplicate that logic in my app. >> > I think for your p

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread p...@highoctane.be
The image and the changes file are here: (uploading... will take a while - 30 min or so) https://www.dropbox.com/sh/wfxep3jm5v27szt/5keLUTFvGz Phil On Mon, Jul 29, 2013 at 5:06 PM, Sebastian Tleye wrote: > Yes please (if it is not too much work :) ) > I would like to check something. > > > 20

Re: [Pharo-users] Voyage: Circular references

2013-07-29 Thread Sabine Knöfel
Hi esteban, Thank you for answering. The Problem persists i was waiting for your answer and it would be great if you could answer my Last Post in the Forum (how to tell voyage the "boundary"). I am also in vacation now and back mid of next week. Sorry for the spelling i write from Mobile phone. Sab

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread Sebastian Tleye
Yes please (if it is not too much work :) ) I would like to check something. 2013/7/29 p...@highoctane.be > I can send you my image but need to remove all my credentials from there > first. > > --- > Philippe Back > Dramatic Performance Improvements > Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 4

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread p...@highoctane.be
I can send you my image but need to remove all my credentials from there first. --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:p...@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube:

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread Stéphane Ducasse
>> >> Look at the top consumers, especially the Semaphore thing. It is way beyond >> whatever was expected. There is something wrong there. >> >> There must be a leak of Points, MorphExtensions and I can't just figure out >> why there are so many Floats. >> > MorphExtension should only be refe

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread Marcus Denker
On Jul 29, 2013, at 4:08 PM, "p...@highoctane.be" wrote: > Yes, I did. I do regular saves and then a final save and quit. > > How can I know if the AST cache is large in a running image? > This can not happen in 2.0, as method #ast has not senders. #parseTree does not cache. Marcus

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread p...@highoctane.be
Yes, I did. I do regular saves and then a final save and quit. How can I know if the AST cache is large in a running image? Phil On Mon, Jul 29, 2013 at 3:53 PM, Clément Bera wrote: > A possibility would be the AST cache. During development, if you do things > like recompileAll or load pack

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread Clément Bera
A possibility would be the AST cache. During development, if you do things like recompileAll or load packages the AST cache can grow the image size up to 300 Mo. But this cache is deleted when saving & quitting the image. Did you save and quit the image before looking at the memory size ? It migh

Re: [Pharo-users] [Voyage] Using OID as a domain object identifier

2013-07-29 Thread Norbert Hartl
Am 29.07.2013 um 15:46 schrieb "Esteban A. Maringolo" : > Hi all, > > Is it a good practice to use the OID value (anInteger) as an > "external" identifier of your domain object? > > Let's suppose I have a collection of "People", as I save them in the > collection, it will automatically create O

[Pharo-users] [Voyage] Using OID as a domain object identifier

2013-07-29 Thread Esteban A. Maringolo
Hi all, Is it a good practice to use the OID value (anInteger) as an "external" identifier of your domain object? Let's suppose I have a collection of "People", as I save them in the collection, it will automatically create OIDs for them. But let's suppose I want to map that person to a RESTful

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread p...@highoctane.be
I did. No significant change. --- Philippe Back Dramatic Performance Improvements Mob: +32(0) 478 650 140 | Fax: +32 (0) 70 408 027 Mail:p...@highoctane.be | Web: http://philippeback.eu Blog: http://philippeback.be | Twitter: @philippeback Youtube: http://www.youtube.com/user/philippeback/videos

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread p...@highoctane.be
What Metacello line ? :-) I see that we are navigating the same kinds of waters with these things. Hopefully for the best. I am also quite concerned about the image doing blocking calls w/ databases etc. Phil On Mon, Jul 29, 2013 at 2:11 PM, Mariano Martinez Peck < marianop...@gmail.com> wrote:

Re: [Pharo-users] Bug in Date>>readFrom:pattern: ? Pharo2.0

2013-07-29 Thread Marcus Denker
On Jul 29, 2013, at 2:34 PM, José Comesaña wrote: > It was already discussed and modified: > https://pharo.fogbugz.com/default.asp?10869 > This one is just an open report… no action was done. I have merged it into Issue 11222 But there is a third issue about exactly the same, this I think

Re: [Pharo-users] Voyage: Circular references

2013-07-29 Thread Esteban Lorenzano
Hi Sabine, I'm really sorry, I just went on vacations when you sent this mail :( Is this problem persisting? Did you reach a solution? Can I help you with something? Esteban On Jul 19, 2013, at 12:56 PM, Sabine Knöfel wrote: > Hi Esteban, > > thanks! > > I think the solution of Bernat

Re: [Pharo-users] Bug in Date>>readFrom:pattern: ? Pharo2.0

2013-07-29 Thread José Comesaña
It was already discussed and modified: https://pharo.fogbugz.com/default.asp?10869 Regards 2013/7/24 Sabine Knöfel > Hi, > > Date readFrom: '4.2.13' readStream pattern: 'd.m.yy' > > Does not return 4.2.2013 but 4.2.0013 > > The comment is saying > "A year given using only two decimals is consid

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread Marcus Denker
On Jul 29, 2013, at 11:29 AM, p...@highoctane.be wrote: > Hello, > > I've been loading all of those packages in order to build a full web stack > development image. > > Everything now loads fine and kind of works but... > > The image is really slowing down and the size is getting very large.

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread Mariano Martinez Peck
On Mon, Jul 29, 2013 at 9:02 AM, p...@highoctane.be wrote: > Yes, same for me here. > > I'll update my configuration to load everything in a fresh 2.0 and report > the results. > > Thing is that loading that full configuration takes ages (GlorpDBX is > taking 20 minutes to load...) and the VM gets

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread p...@highoctane.be
Yes, same for me here. I'll update my configuration to load everything in a fresh 2.0 and report the results. Thing is that loading that full configuration takes ages (GlorpDBX is taking 20 minutes to load...) and the VM gets the SmallInteger bug triggered with such a large config... I really ne

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread Sebastian Tleye
Try loading the packages each one at time, and between packages save the image and check if it is growing. 2013/7/29 Sebastian Tleye > What also happened to me, is that, each time i saved the image (even if i > did nothing), the image was growing its size. > > > 2013/7/29 Sebastian Tleye > >>

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread Sebastian Tleye
What also happened to me, is that, each time i saved the image (even if i did nothing), the image was growing its size. 2013/7/29 Sebastian Tleye > Mmm, so i'm not sure. > I remember, when i had this problem, i was using directly changeSets, i > solved the problem doing "FileIn entire file" ins

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread Sebastian Tleye
Mmm, so i'm not sure. I remember, when i had this problem, i was using directly changeSets, i solved the problem doing "FileIn entire file" instead of "Install into a new change set" (when you drag a changeset into Pharo). But it was like a random bug since i haven't had that problem again (even us

Re: [Pharo-users] Pharo 2.0 with Seaside + DBXTalk + GlorpDBX + Magritte 3 + TWBS is getting slower and slower

2013-07-29 Thread Sebastian Tleye
Hi Phil Have you been using changeSets? I had the same problem once, i couldn't figure out what the problem was, but i think there is a problem in the sorter tool (and change sets). 2013/7/29 p...@highoctane.be > Hello, > > I've been loading all of those packages in order to build a full web