0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

Revert "SERVER-41677: perf.json should not call 'json.get_history' directly"

This reverts commit bc11f96366.
This commit is contained in:
Alexander Costas 2019-07-08 09:31:18 -04:00
parent 536f711617
commit 16bcf466e6

View File

@ -180,6 +180,17 @@ functions:
script: | script: |
set -v set -v
../dsi/run-dsi detect-changes ../dsi/run-dsi detect-changes
- command: json.get_history
params:
task: ${task_name}
file: "src/history.json"
name: "perf"
- command: json.get_history
params:
tags: true
task: ${task_name}
file: "src/tags.json"
name: "perf"
- command: shell.exec - command: shell.exec
type: test type: test
params: params:
@ -196,7 +207,7 @@ functions:
cmd_flags=$([ "${reports_analysis}" = "true" ] && echo "$reports_analysis_flags" || echo "") cmd_flags=$([ "${reports_analysis}" = "true" ] && echo "$reports_analysis_flags" || echo "")
REFTAG="3.6.5-Baseline" REFTAG="3.6.5-Baseline"
OVERRIDE="../dsi/analysis/${branch_name}/perf_override.json" OVERRIDE="../dsi/analysis/${branch_name}/perf_override.json"
python ../dsi/analysis/perf_regression_check.py $cmd_flags --rev ${revision} --refTag $REFTAG --overrideFile $OVERRIDE --variant ${build_variant} --task ${task_name} --threshold 0.075 --threadThreshold 0.12 python ../dsi/analysis/perf_regression_check.py $cmd_flags -f history.json --rev ${revision} -t tags.json --refTag $REFTAG --overrideFile $OVERRIDE --variant ${build_variant} --task ${task_name} --threshold 0.075 --threadThreshold 0.12
# Params: # Params:
# workload: the path relative to genny/src/workloads to run e.g. # workload: the path relative to genny/src/workloads to run e.g.