Roassal examples process scheduling

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Roassal examples process scheduling

Uko2
Hi,

I’ve just noticed an interesting thing. When I open roassal examples and then I #fork some block, it’s not being executed. But as soon as I close examples it executes. Maybe some #yield is missing somewhere?

Uko
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal examples process scheduling

abergel
Oh…
That is strange. I have noticed this with Shout. If several Roassal views are open, Shout does not work anymore. No idea why

Cheers,
Alexandre


On Aug 29, 2014, at 11:20 AM, Yuriy Tymchuk <[hidden email]> wrote:

> Hi,
>
> I’ve just noticed an interesting thing. When I open roassal examples and then I #fork some block, it’s not being executed. But as soon as I close examples it executes. Maybe some #yield is missing somewhere?
>
> Uko
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal examples process scheduling

jfabry

I noticed this as well. I think that with 2 Roassal diagrams showing Pharo uses 100% CPU time and the Shout process times-out when styling (I remember seeing some logic for that in Shout somewhere). It would be good to address the CPU usage of Roassal in any case, and I think it will solve the Shout problem.

On Sep 3, 2014, at 11:40 AM, Alexandre Bergel <[hidden email]> wrote:

> Oh…
> That is strange. I have noticed this with Shout. If several Roassal views are open, Shout does not work anymore. No idea why
>
> Cheers,
> Alexandre
>
>
> On Aug 29, 2014, at 11:20 AM, Yuriy Tymchuk <[hidden email]> wrote:
>
>> Hi,
>>
>> I’ve just noticed an interesting thing. When I open roassal examples and then I #fork some block, it’s not being executed. But as soon as I close examples it executes. Maybe some #yield is missing somewhere?
>>
>> Uko
>> _______________________________________________
>> Moose-dev mailing list
>> [hidden email]
>> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev
>



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal examples process scheduling

abergel
Hi!

This should now be fixed! I have somehow misunderstood how #step and #wantStep works in Morphic.

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Sep 3, 2014, at 2:42 PM, Johan Fabry <[hidden email]> wrote:


I noticed this as well. I think that with 2 Roassal diagrams showing Pharo uses 100% CPU time and the Shout process times-out when styling (I remember seeing some logic for that in Shout somewhere). It would be good to address the CPU usage of Roassal in any case, and I think it will solve the Shout problem.

On Sep 3, 2014, at 11:40 AM, Alexandre Bergel <[hidden email]> wrote:

Oh…
That is strange. I have noticed this with Shout. If several Roassal views are open, Shout does not work anymore. No idea why

Cheers,
Alexandre


On Aug 29, 2014, at 11:20 AM, Yuriy Tymchuk <[hidden email]> wrote:

Hi,

I’ve just noticed an interesting thing. When I open roassal examples and then I #fork some block, it’s not being executed. But as soon as I close examples it executes. Maybe some #yield is missing somewhere?

Uko
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal examples process scheduling

jfabry

I confirm that syntax highlighting is working better now, thanks! Roassal is still using +- the same % of CPU time (60% vs 70% in very informal tests), but with syntax highlighting working it’s not so much of an issue, I guess.

On Sep 4, 2014, at 5:19 PM, Alexandre Bergel <[hidden email]> wrote:

Hi!

This should now be fixed! I have somehow misunderstood how #step and #wantStep works in Morphic.

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Sep 3, 2014, at 2:42 PM, Johan Fabry <[hidden email]> wrote:


I noticed this as well. I think that with 2 Roassal diagrams showing Pharo uses 100% CPU time and the Shout process times-out when styling (I remember seeing some logic for that in Shout somewhere). It would be good to address the CPU usage of Roassal in any case, and I think it will solve the Shout problem.

On Sep 3, 2014, at 11:40 AM, Alexandre Bergel <[hidden email]> wrote:

Oh…
That is strange. I have noticed this with Shout. If several Roassal views are open, Shout does not work anymore. No idea why

Cheers,
Alexandre


On Aug 29, 2014, at 11:20 AM, Yuriy Tymchuk <[hidden email]> wrote:

Hi,

I’ve just noticed an interesting thing. When I open roassal examples and then I #fork some block, it’s not being executed. But as soon as I close examples it executes. Maybe some #yield is missing somewhere?

Uko
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal examples process scheduling

abergel
Do you have animation running? If yes, then it is not a surprise to have a heavy use of the CPU.

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Sep 4, 2014, at 8:03 PM, Johan Fabry <[hidden email]> wrote:


I confirm that syntax highlighting is working better now, thanks! Roassal is still using +- the same % of CPU time (60% vs 70% in very informal tests), but with syntax highlighting working it’s not so much of an issue, I guess.

On Sep 4, 2014, at 5:19 PM, Alexandre Bergel <[hidden email]> wrote:

Hi!

This should now be fixed! I have somehow misunderstood how #step and #wantStep works in Morphic.

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Sep 3, 2014, at 2:42 PM, Johan Fabry <[hidden email]> wrote:


I noticed this as well. I think that with 2 Roassal diagrams showing Pharo uses 100% CPU time and the Shout process times-out when styling (I remember seeing some logic for that in Shout somewhere). It would be good to address the CPU usage of Roassal in any case, and I think it will solve the Shout problem.

On Sep 3, 2014, at 11:40 AM, Alexandre Bergel <[hidden email]> wrote:

Oh…
That is strange. I have noticed this with Shout. If several Roassal views are open, Shout does not work anymore. No idea why

Cheers,
Alexandre


On Aug 29, 2014, at 11:20 AM, Yuriy Tymchuk <[hidden email]> wrote:

Hi,

I’ve just noticed an interesting thing. When I open roassal examples and then I #fork some block, it’s not being executed. But as soon as I close examples it executes. Maybe some #yield is missing somewhere?

Uko
_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal examples process scheduling

jfabry

Ah, yes of course! I forgot that even when I am showing nothing in the right hand view, the animation is still there. If I have a view, how can I pause the animation, and how can I resume it? (And, while we are at it, how do I add a button on the view that does that?) 

Thanks!

On Sep 4, 2014, at 8:44 PM, Alexandre Bergel <[hidden email]> wrote:

Do you have animation running? If yes, then it is not a surprise to have a heavy use of the CPU.

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Sep 4, 2014, at 8:03 PM, Johan Fabry <[hidden email]> wrote:


I confirm that syntax highlighting is working better now, thanks! Roassal is still using +- the same % of CPU time (60% vs 70% in very informal tests), but with syntax highlighting working it’s not so much of an issue, I guess.

On Sep 4, 2014, at 5:19 PM, Alexandre Bergel <[hidden email]> wrote:

Hi!

This should now be fixed! I have somehow misunderstood how #step and #wantStep works in Morphic.

Cheers,
Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev