jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1456038 - /jackrabbit/oak/trunk/analyze-hprof.pl
Date Wed, 13 Mar 2013 16:31:49 GMT
Author: jukka
Date: Wed Mar 13 16:31:48 2013
New Revision: 1456038

URL: http://svn.apache.org/r1456038
Log:
OAK-641: Improved benchmark tooling

Make analyze-hprof.pl work also on non-Windows environments.

Modified:
    jackrabbit/oak/trunk/analyze-hprof.pl

Modified: jackrabbit/oak/trunk/analyze-hprof.pl
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/analyze-hprof.pl?rev=1456038&r1=1456037&r2=1456038&view=diff
==============================================================================
--- jackrabbit/oak/trunk/analyze-hprof.pl (original)
+++ jackrabbit/oak/trunk/analyze-hprof.pl Wed Mar 13 16:31:48 2013
@@ -64,7 +64,7 @@ sub output {
 my $trace = '';
 while (<>) {
   /^TRACE (\d+)/  and $trace = $1 and $traces{$trace} = [] and next;
-  /^\s+([a-z].*?)(\(.*)?\r\n/ and $trace and $traces{$trace} = [ $1, @{$traces{$trace}} ]
and next;
+  /^\s+([a-z].*?)(\(.*)?\r?\n/ and $trace and $traces{$trace} = [ $1, @{$traces{$trace}}
] and next;
   /^rank/ and $trace and $trace = '' and next;
   /^\s*\d+\s+\S+%\s+\S+%\s+(\d+)\s+(\d+)/ and accumulate($2, $1); 
 }



Mime
View raw message