Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change file extension #842

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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