[Seaside] Re: Concurrent requests from multiple sessions
Sven Van Caekenberghe
sven at stfx.eu
Tue Mar 10 13:24:23 UTC 2015
Nice test, Bob.
In my Pharo 4.0 image the processes seem to be progressing about evenly.
> On 10 Mar 2015, at 13:42, Bob Arning <arning315 at comcast.net> wrote:
>
> | nums procs |
>
> nums := OrderedCollection new.
> procs := (1 to: 3) collect: [ : i |
> nums add: 0.
> [
> 10 timesRepeat: [
> [10000 factorial] timeToRun.
> nums at: i put: (nums at: i) + 1.
> ].
> ].
> ].
> procs do: [ : e | e forkAt: Processor userBackgroundPriority].
> nums inspect
More information about the seaside
mailing list