Skip to content

Commit 1ac8357

Browse files
Change file extension
1 parent 26f2a02 commit 1ac8357

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
File renamed without changes.

r2-perf-test/src/sh/process_r2_perf_results.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ then
6161
fi
6262

6363
# Parse gc log
64-
command="$srcDir/sh/parse_gclog.sh $currentNodeWorkspaceDir/build/r2-perf-test/logs/$targetServerHost/gc/gc.log $buildDir/logs/$targetServerHost/parsed_gc.csv"
64+
command="$srcDir/sh/parse_gclog.py $currentNodeWorkspaceDir/build/r2-perf-test/logs/$targetServerHost/gc/gc.log $buildDir/logs/$targetServerHost/parsed_gc.csv"
6565
echo "Executing $command"
6666
$command
6767

@@ -79,11 +79,11 @@ $command
7979

8080
# Generate Perf Test Results and GC diffs (current vs previous run)
8181

82-
command="$srcDir/sh/stats_diff.sh $perfLoadGeneratorHudsonJobURL/perftest.json $publishDir/perftest.json $publishDir/perftest.diff Perf_Test_Results_DIFF_(current_vs_previos_run) Previous_R2 Current_R2"
82+
command="$srcDir/sh/stats_diff.py $perfLoadGeneratorHudsonJobURL/perftest.json $publishDir/perftest.json $publishDir/perftest.diff Perf_Test_Results_DIFF_(current_vs_previos_run) Previous_R2 Current_R2"
8383
echo "Executing $command"
8484
$command
8585

86-
command="$srcDir/sh/stats_diff.sh $perfLoadGeneratorHudsonJobURL/gcstats.json $publishDir/gcstats.json $publishDir/gcstats.diff GC_Stats_DIFF_(current_vs_previos_run) Previous_GC Current_GC"
86+
command="$srcDir/sh/stats_diff.py $perfLoadGeneratorHudsonJobURL/gcstats.json $publishDir/gcstats.json $publishDir/gcstats.diff GC_Stats_DIFF_(current_vs_previos_run) Previous_GC Current_GC"
8787
echo "Executing $command"
8888
$command
8989

r2-perf-test/src/sh/stats_diff.sh renamed to r2-perf-test/src/sh/stats_diff.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ def usage():
99
"""
1010
Prints the script's usage guide.
1111
"""
12-
print "Usage: stats_diff.sh [file1: url or file path] [file2: url or file path] [output file] [report name] [column1 prefix] [column2 prefix]"
13-
print "Example:./stats_diff.sh http://jenkins.n.com/job/R2_PERF_TEST/lastSuccessfulBuild/artifact/pegasus/publish/reports/perftest.json /home/usr/R2_PERF_TEST/pegasus/publish/reports/perftest.json /home/usr/R2_PERF_TEST/pegasus/publish/reports/perftest.diff \"Perf_Test_Results_DIFF_(previos_vs_current_run)\""
12+
print "Usage: stats_diff.py [file1: url or file path] [file2: url or file path] [output file] [report name] [column1 prefix] [column2 prefix]"
13+
print "Example:./stats_diff.py http://jenkins.n.com/job/R2_PERF_TEST/lastSuccessfulBuild/artifact/pegasus/publish/reports/perftest.json /home/usr/R2_PERF_TEST/pegasus/publish/reports/perftest.json /home/usr/R2_PERF_TEST/pegasus/publish/reports/perftest.diff \"Perf_Test_Results_DIFF_(previos_vs_current_run)\""
1414

1515
def getData(source):
1616
data=''
@@ -68,7 +68,7 @@ def main():
6868
"""
6969
This is how we are called.
7070
Example call:
71-
./stats_diff.sh https://hudson.corp.linkedin.com/job/SI_R2_PERF_PEGASUS_RELEASE/lastSuccessfulBuild/artifact/pegasus/publish/reports/perftest.json /export/home/tester/hudson/data/workspace/SI_R2_PERF_PEGASUS_RELEASE/pegasus/publish/reports/perftest.json /export/home/tester/hudson/data/workspace/SI_R2_PERF_PEGASUS_RELEASE/pegasus/publish/reports/perftest.diff 'Perf Test Results DIFF (previos vs current run)' 'Previous' 'Current'
71+
./stats_diff.py https://hudson.corp.linkedin.com/job/SI_R2_PERF_PEGASUS_RELEASE/lastSuccessfulBuild/artifact/pegasus/publish/reports/perftest.json /export/home/tester/hudson/data/workspace/SI_R2_PERF_PEGASUS_RELEASE/pegasus/publish/reports/perftest.json /export/home/tester/hudson/data/workspace/SI_R2_PERF_PEGASUS_RELEASE/pegasus/publish/reports/perftest.diff 'Perf Test Results DIFF (previos vs current run)' 'Previous' 'Current'
7272
"""
7373

7474
print(len(sys.argv))

0 commit comments

Comments
 (0)