Loading petitparser when Voyage is loaded is taking an awful long time

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

Loading petitparser when Voyage is loaded is taking an awful long time

philippeback
Looks like there is an announcement for added methods that is used by Voyage when loading packages.

I was loading PetitParser and the image appeared unresponsive for quite a while.

Is there a way to disable that check temporarily?

Phil


Reply | Threaded
Open this post in threaded view
|

Re: Loading petitparser when Voyage is loaded is taking an awful long time

Mariano Martinez Peck
What if you put your gofer expression to load PetitParser in a block closure and then:

SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ] 

?

(I don't know what Pharo version you are using...but if that doesn't work check in BlockClosure for doSilently: or something similar).

Best,  


On Tue, Jun 24, 2014 at 5:52 AM, [hidden email] <[hidden email]> wrote:
Looks like there is an announcement for added methods that is used by Voyage when loading packages.

I was loading PetitParser and the image appeared unresponsive for quite a while.

Is there a way to disable that check temporarily?

Phil





--
Mariano
http://marianopeck.wordpress.com
Reply | Threaded
Open this post in threaded view
|

Re: Loading petitparser when Voyage is loaded is taking an awful long time

philippeback
Thanks, didn't knew about this.

BTW, PetitParser is really awesome. Up and running in a couple hours. Wow.

Phil




On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck <[hidden email]> wrote:
What if you put your gofer expression to load PetitParser in a block closure and then:

SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ] 

?

(I don't know what Pharo version you are using...but if that doesn't work check in BlockClosure for doSilently: or something similar).

Best,  


On Tue, Jun 24, 2014 at 5:52 AM, [hidden email] <[hidden email]> wrote:
Looks like there is an announcement for added methods that is used by Voyage when loading packages.

I was loading PetitParser and the image appeared unresponsive for quite a while.

Is there a way to disable that check temporarily?

Phil





--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: Loading petitparser when Voyage is loaded is taking an awful long time

EstebanLM
yes the announcement is taking care of flushing caches when a <mongoDescription> is added/deleted.
probably things can be speed up, but I do not recommend to use  #suspendAllWhile: (that will stop announce everything). 
Instead, you can simply do: 

VOMongoRepository unregisterToNotifications.

Esteban



On 24 Jun 2014, at 09:25, [hidden email] wrote:

Thanks, didn't knew about this.

BTW, PetitParser is really awesome. Up and running in a couple hours. Wow.

Phil




On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck <[hidden email]> wrote:
What if you put your gofer expression to load PetitParser in a block closure and then:

SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ] 

?

(I don't know what Pharo version you are using...but if that doesn't work check in BlockClosure for doSilently: or something similar).

Best,  


On Tue, Jun 24, 2014 at 5:52 AM, [hidden email] <[hidden email]> wrote:
Looks like there is an announcement for added methods that is used by Voyage when loading packages.

I was loading PetitParser and the image appeared unresponsive for quite a while.

Is there a way to disable that check temporarily?

Phil





--
Mariano
http://marianopeck.wordpress.com


Reply | Threaded
Open this post in threaded view
|

Re: Loading petitparser when Voyage is loaded is taking an awful long time

Tudor Girba-2
In reply to this post by philippeback
If you want to use PetitParser at full speed, you should take a look at the dedicated PetitParser browser: PPBrowser open.

And if you want to really go into it, you can also use the dedicated inspector and debugger from GT.

Cheers,
Doru


On Tue, Jun 24, 2014 at 2:25 PM, [hidden email] <[hidden email]> wrote:
Thanks, didn't knew about this.

BTW, PetitParser is really awesome. Up and running in a couple hours. Wow.

Phil




On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck <[hidden email]> wrote:
What if you put your gofer expression to load PetitParser in a block closure and then:

SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ] 

?

(I don't know what Pharo version you are using...but if that doesn't work check in BlockClosure for doSilently: or something similar).

Best,  


On Tue, Jun 24, 2014 at 5:52 AM, [hidden email] <[hidden email]> wrote:
Looks like there is an announcement for added methods that is used by Voyage when loading packages.

I was loading PetitParser and the image appeared unresponsive for quite a while.

Is there a way to disable that check temporarily?

Phil





--
Mariano
http://marianopeck.wordpress.com




--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: Loading petitparser when Voyage is loaded is taking an awful long time

philippeback

I use it. Now,  how can one paste text in the lower pane? I can't get that working and it is frustrating. Especially when I do have long external samples.

I also got some out of memory errors when a grammar loops on itself in a wrong way.  Which is what happend when trying things out.
There should be a kind of limit one could customize. Especially when hitting 'example'tab... :-)

I should have a shot at GT...

I am using Pharo3.

Phil

Le 26 juin 2014 00:52, "Tudor Girba" <[hidden email]> a écrit :
If you want to use PetitParser at full speed, you should take a look at the dedicated PetitParser browser: PPBrowser open.

And if you want to really go into it, you can also use the dedicated inspector and debugger from GT.

Cheers,
Doru


On Tue, Jun 24, 2014 at 2:25 PM, [hidden email] <[hidden email]> wrote:
Thanks, didn't knew about this.

BTW, PetitParser is really awesome. Up and running in a couple hours. Wow.

Phil




On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck <[hidden email]> wrote:
What if you put your gofer expression to load PetitParser in a block closure and then:

SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ] 

?

(I don't know what Pharo version you are using...but if that doesn't work check in BlockClosure for doSilently: or something similar).

Best,  


On Tue, Jun 24, 2014 at 5:52 AM, [hidden email] <[hidden email]> wrote:
Looks like there is an announcement for added methods that is used by Voyage when loading packages.

I was loading PetitParser and the image appeared unresponsive for quite a while.

Is there a way to disable that check temporarily?

Phil





--
Mariano
http://marianopeck.wordpress.com




--

"Every thing has its own flow"
Reply | Threaded
Open this post in threaded view
|

Re: Loading petitparser when Voyage is loaded is taking an awful long time

Tudor Girba-2
Hi,



On Thu, Jun 26, 2014 at 8:45 AM, [hidden email] <[hidden email]> wrote:

I use it.

Great
 

Now,  how can one paste text in the lower pane? I can't get that working and it is frustrating. Especially when I do have long external samples.


What do you mean? Cmd+v should work. It works for me. Does it not work for you?
 

I also got some out of memory errors when a grammar loops on itself in a wrong way.  Which is what happend when trying things out.
There should be a kind of limit one could customize. Especially when hitting 'example'tab... :-)

That would be quite nice indeed. I would not know how to do it though :(.
 

I should have a shot at GT...

I am using Pharo3.


Let me know if I can be of help.

Cheers,
Doru

 

Phil

Le 26 juin 2014 00:52, "Tudor Girba" <[hidden email]> a écrit :

If you want to use PetitParser at full speed, you should take a look at the dedicated PetitParser browser: PPBrowser open.

And if you want to really go into it, you can also use the dedicated inspector and debugger from GT.

Cheers,
Doru


On Tue, Jun 24, 2014 at 2:25 PM, [hidden email] <[hidden email]> wrote:
Thanks, didn't knew about this.

BTW, PetitParser is really awesome. Up and running in a couple hours. Wow.

Phil




On Tue, Jun 24, 2014 at 2:00 PM, Mariano Martinez Peck <[hidden email]> wrote:
What if you put your gofer expression to load PetitParser in a block closure and then:

SystemAnnouncer uniqueInstance suspendAllWhile: [ Gofer it ... ] 

?

(I don't know what Pharo version you are using...but if that doesn't work check in BlockClosure for doSilently: or something similar).

Best,  


On Tue, Jun 24, 2014 at 5:52 AM, [hidden email] <[hidden email]> wrote:
Looks like there is an announcement for added methods that is used by Voyage when loading packages.

I was loading PetitParser and the image appeared unresponsive for quite a while.

Is there a way to disable that check temporarily?

Phil





--
Mariano
http://marianopeck.wordpress.com




--

"Every thing has its own flow"



--

"Every thing has its own flow"