Fully featured low overhead profiler for Java EE and Java SE platforms.
Performance monitoring and profiling of Jenkins, TeamCity, Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

Parsing summary.txt

Moderators: Vladimir Kondratyev, Anton Katilin

Parsing summary.txt

Postby sandeep » Wed Oct 31, 2012 9:47 am


I need to parse summary.txt file exported to get the uptime, but since it is stored as a string, I'm find it difficult to test all different possible patterns. For instance, "2d 4h 4s" is displayed if the uptime is 2 days, 4 hours and 4 seconds. Does it display y for year? or is there any other character to represent month
Posts: 24
Joined: Wed May 16, 2012 3:08 pm

Re: Parsing summary.txt

Postby Anton Katilin » Wed Oct 31, 2012 10:18 am

Hi Sandeep

It can be days (d), hours (h), minutes (m) and seconds (s).

There are no months, no years. Days are the biggest scale.

Best regards,
Anton Katilin
Posts: 5719
Joined: Wed Aug 11, 2004 8:37 am

Return to .NET Profiler

Who is online

Users browsing this forum: No registered users and 7 guests