Skip to content

Commit

Permalink
Change file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
RuffaloLavoisier committed Sep 21, 2022
1 parent 26f2a02 commit 1ac8357
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions r2-perf-test/src/sh/process_r2_perf_results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ then
fi

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

Expand All @@ -79,11 +79,11 @@ $command

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

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"
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"
echo "Executing $command"
$command

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"
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"
echo "Executing $command"
$command

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ def usage():
"""
Prints the script's usage guide.
"""
print "Usage: stats_diff.sh [file1: url or file path] [file2: url or file path] [output file] [report name] [column1 prefix] [column2 prefix]"
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)\""
print "Usage: stats_diff.py [file1: url or file path] [file2: url or file path] [output file] [report name] [column1 prefix] [column2 prefix]"
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)\""

def getData(source):
data=''
Expand Down Expand Up @@ -68,7 +68,7 @@ def main():
"""
This is how we are called.
Example call:
./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'
./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'
"""

print(len(sys.argv))
Expand Down

0 comments on commit 1ac8357

Please sign in to comment.