From 3d879994afa29c39109d1cc2b8ae661dc7defc5f Mon Sep 17 00:00:00 2001 From: Allan Jeremy Date: Tue, 24 May 2022 19:44:23 +0300 Subject: [PATCH] Debug WIP: Cleanup & changed used github token --- .github/workflows/benchmark-cachegrind.yml | 2 +- .github/workflows/benchmark.yml | 2 +- scripts/run-with-cachegrind.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/benchmark-cachegrind.yml b/.github/workflows/benchmark-cachegrind.yml index 936985c5..4ef94474 100644 --- a/.github/workflows/benchmark-cachegrind.yml +++ b/.github/workflows/benchmark-cachegrind.yml @@ -90,4 +90,4 @@ jobs: fail-on-alert: true comment-on-alert: true comment-always: true - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.BENCH_GITHUB_TOKEN }} diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 410d34cf..1545734c 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -84,4 +84,4 @@ jobs: fail-on-alert: true comment-on-alert: true comment-always: true - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.BENCH_GITHUB_TOKEN }} diff --git a/scripts/run-with-cachegrind.sh b/scripts/run-with-cachegrind.sh index bf9b70fa..47d12f68 100644 --- a/scripts/run-with-cachegrind.sh +++ b/scripts/run-with-cachegrind.sh @@ -93,10 +93,10 @@ for i in "${!TOTALS_ARRAY[@]}"; do if [[ $OPS_PER_SEC =~ ^[+-]?[0-9]*$ ]] then # $OPS_PER_SEC is integer - printf "%s#%s x %.0f %s ±%s (%d runs sampled)(roblox-cli version %s)\n" \ + printf "%s#%s x %.0f %s ±%s (%d runs sampled)(%s)\n" \ "$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS" "$PYTHON_VERSION" else # $OPS_PER_SEC is float - printf "%s#%s x %.10f %s ±%s (%d runs sampled)(roblox-cli version %s)\n" \ + printf "%s#%s x %.10f %s ±%s (%d runs sampled)(%s)\n" \ "$3" "$EVENT_NAME" "$OPS_PER_SEC" "$UNIT" "$STD_DEV" "$RUNS" "$PYTHON_VERSION" fi