Skip to content

Commit

Permalink
Remove starttime
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewnicols committed Dec 27, 2024
1 parent 77e1a68 commit 6c6e460
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions runner/main/jobtypes/performance/performance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ function performance_config() {

# Performance job type setup.
function performance_setup() {
RUN_STARTTIME=$(date +%s)
# If both GOOD_COMMIT and BAD_COMMIT are not set, we are going to run a normal session.
# (for bisect sessions we don't have to setup the environment).
if [[ -z "${GOOD_COMMIT}" ]] && [[ -z "${BAD_COMMIT}" ]]; then
Expand Down Expand Up @@ -239,10 +238,10 @@ function performance_run() {

# Performance job type teardown.
function performance_teardown() {
echo "Storing data with a timestamp of ${RUN_STARTTIME} and git commit of '${GIT_COMMIT}'"
echo "Storing data with a git commit of '${GIT_COMMIT}'"
mkdir -p "${WORKSPACE}/results/${GIT_COMMIT}/runs"
cp -rf "${SHAREDDIR}/output/logs" "${WORKSPACE}/results/${GIT_COMMIT}/logs"
cp "${WORKSPACE}/output/runs/rundata.php" "${WORKSPACE}/results/${GIT_COMMIT}/runs/${RUN_STARTTIME}.php"
cp "${WORKSPACE}/output/runs/rundata.php" "${WORKSPACE}/results/${GIT_COMMIT}/runs/rundata.php"
tree "${WORKSPACE}/results"
}

Expand Down

0 comments on commit 6c6e460

Please sign in to comment.