Performance profiling of PetitDelphi

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

Performance profiling of PetitDelphi

Stephan Eggermont-3
5 minutes for parsing 8MB is not very good, especially for people
used to Delphi compilation speed. Any hints on how to profile
the PDDelphiParser? I'm sure there are lots of very inefficient productions.
Just counting method sends?

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

Re: Performance profiling of PetitDelphi

Tudor Girba-2
True, but still not unreasonable for longer analysis scenarios. In the PetitParser Browser you have the Tally (shows you the count of production occurrences), Profile (shows you the time spent in productions) and Progress (shows you the backtracking).

Cheers,
Doru


On Mon, Jun 24, 2013 at 11:42 PM, Stephan Eggermont <[hidden email]> wrote:
5 minutes for parsing 8MB is not very good, especially for people
used to Delphi compilation speed. Any hints on how to profile
the PDDelphiParser? I'm sure there are lots of very inefficient productions.
Just counting method sends?

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



--

"Every thing has its own flow"

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

Re: Performance profiling of PetitDelphi

Stephan Eggermont-3
In reply to this post by Stephan Eggermont-3
Thanks Doru.

Hmm, you might want to avoid pasting a 1MB text into the sample area
of PetitParser browser. 100% cpu and uninterruptable for quite some time
now.

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