Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-18 Thread Shaping
Hence graphics output necessarily lags input on Morphic. So these speed differences have nothing to do with vm performance and everything to do with GUI architecture. Both Squeak and Pharo show the same delay for text selection latency. The architecture difference is not likely causing

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-18 Thread Eliot Miranda
Hi Shaping, > On May 18, 2020, at 6:52 PM, Shaping wrote: > >  > 1. Double-click text selection in both Squeak and Pharo shows a 75-100 ms > latency (eye-balled, estimated) between end of double click (button up on > second click) and time of highlighting of selected text. It could be as lo

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-18 Thread Shaping
1. Double-click text selection in both Squeak and Pharo shows a 75-100 ms latency (eye-balled, estimated) between end of double click (button up on second click) and time of highlighting of selected text. It could be as low as 60 ms, but I doubt it, and that’s still too long. I can’t track th

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-18 Thread Eliot Miranda
Hi Shaping, > On May 16, 2020, at 4:33 AM, Shaping wrote: > >  > Hi Eliot. > > > Generally, comparing VisualWorks to either Squeak or Pharo or both, what are > the most pressing speed problems? > > 1. Double-click text selection in both Squeak and Pharo shows a 75-100 ms > latency (eye

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-16 Thread John Brant
And they chose one that wasn’t too optimized. There are much better versions of factorial already implemented in Smalltalk: https://medium.com/concerning-pharo/speeding-up-factorial-computation-by-changing-the-order-of-multiplications-f4da3a5576da http://forum.world.st/Challenge-Tuning-th

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-16 Thread Bernhard Höfner
It seems that someone needed an optimized factorial-routine… The problem on the other hand is, that the machine friendly code is much less „didactical" than the human friendly common implementation. To have both I propose to add the human friendly clear and short version as comment. Its a bit li

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-16 Thread Ben Coman
On Sat, 16 May 2020 at 12:56, Eliot Miranda wrote: > Hi Ben, > > On May 15, 2020, at 10:33 AM, Ben Coman wrote: > On Fri, 15 May 2020 at 14:09, Shaping wrote: > > >> > *Would reintegrating Squeak and Pharo development make more sense?* >> > > I think that is not likely. Both continue to have d

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-16 Thread Shaping
I forgot to mention that Pharo Zinc with all those primitives produces an HTTP data transfer rate (CSV data) twice as fast as VW’s HTTP client. I tested it many times. Pharo HTTP (Zinc) is consistently 2x faster than VW HTTP. This is probably more about the judicious use of primitives than th

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-16 Thread Shaping
Hi Eliot. Generally, comparing VisualWorks to either Squeak or Pharo or both, what are the most pressing speed problems? 1. Double-click text selection in both Squeak and Pharo shows a 75-100 ms latency (eye-balled, estimated) between end of double click (button up on second click) a

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-15 Thread Eliot Miranda
Hi Ben, > On May 15, 2020, at 10:33 AM, Ben Coman wrote: > >  >> On Fri, 15 May 2020 at 14:09, Shaping wrote: > >> Why can’t the OSVM be a single, unforked, maxed-out VM with all the best and >> fastest features working in Squeak and Pharo? Why did the split happen? >> > > In very gener

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-15 Thread Ben Coman
On Fri, 15 May 2020 at 14:09, Shaping wrote: > Why can’t the OSVM be a single, unforked, maxed-out VM with all the best > and fastest features working in Squeak and Pharo? *Why did the split > happen?* > In very general terms, the fork was due to their being Group A wanting to go one direction

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-15 Thread Eliot Miranda
Hi Shaping, _,,,^..^,,,_ (phone) > On May 15, 2020, at 2:18 AM, Shaping wrote: > >  > Arithmetic changes proposed in Squeak have no relationships to VM. > > The question below is about both the VM and a common basic class-set. > Math-related classes/methods are assumed to be part of that c

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-15 Thread Shaping
Squeak 5.3: Time millisecondsToRun: [ 10 factorial ] 6250 Pharo 8: Time millisecondsToRun: [ 10 factorial ] 7736 Why the difference? I have no idea. But I have to say that IN MY MACHINE: Squeak 5.3, just downloade: Time millisecondsToRun: [ 10 factorial

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-15 Thread Esteban Lorenzano
Hi, Apples and oranges here. Yes, both are fruits (perceived speed), but that’s the only point in common :) Apples and oranges because one thing is the overall performance of the environment and another completely different the perceived execution speed of the GUI. Still, some answers: > On

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-15 Thread Shaping
Arithmetic changes proposed in Squeak have no relationships to VM. The question below is about both the VM and a common basic class-set. Math-related classes/methods are assumed to be part of that common class-set. Why is that not so? Shaping On Fri, May 15, 2020 at 2:09 PM Shaping

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-15 Thread Serge Stinckwich
Arithmetic changes proposed in Squeak have no relationships to VM. On Fri, May 15, 2020 at 2:09 PM Shaping wrote: > There is an issue about incorporating Squeak arithmetic changes in Pharo: > > https://github.com/pharo-project/pharo/issues/3322 > > > > I start to understand what could be done a

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-14 Thread Shaping
There is an issue about incorporating Squeak arithmetic changes in Pharo: https://github.com/pharo-project/pharo/issues/3322 I start to understand what could be done and could not find time to do the changes. You are welcome if you want to help. Arithmetic speed is important if most o

Re: [Pharo-dev] Squeak and Pharo speed differences

2020-05-14 Thread Serge Stinckwich
There is an issue about incorporating Squeak arithmetic changes in Pharo: https://github.com/pharo-project/pharo/issues/3322 I start to understand what could be done and could not find time to do the changes. You are welcome if you want to help. On Fri, May 15, 2020 at 12:48 PM Shaping wrote: