stevedlawrence opened a new pull request #318: Add new TimeTracker for more 
advanced performance analysis
URL: https://github.com/apache/incubator-daffodil/pull/318
 
 
   Because of our nested parsers, it can sometimes be difficult to
   determine how much time each processor takes on average to complete it's
   parse/unparse, even when using a profiler. This adds a new timer that
   makes it much easier to determine how much total time particular parsers
   take and on average how long they take. This can help to prioritize
   performance optimizations.
   
   The intended use is to modify the Parser.scala parse1() function to look
   like this:
   
     try {
       TimeTracker.track(parserName) {
         parse(pstate)
       }
     }
   
   The resulting output gives a break down of all the parsers and how
   performant they are. Once slow processors are found, it can then be
   useful to wrap subsections of the parse() method in a call to
   TimeTracker.track() to determine which sections are slow. This incurs
   less overhead than traditional profilers and give more control over
   which sections are actually profiled.
   
   DAFFODIL-1883

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to