From 875ec64f469b4eaab5a3c1c98c2b629559e71649 Mon Sep 17 00:00:00 2001 From: Tom French Date: Tue, 28 Jan 2025 17:20:47 +0000 Subject: [PATCH 1/2] chore: exclude dependency fetching time from benchmarks --- .github/workflows/reports.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/reports.yml b/.github/workflows/reports.yml index 2268c48d16c..8969917a3fa 100644 --- a/.github/workflows/reports.yml +++ b/.github/workflows/reports.yml @@ -365,6 +365,13 @@ jobs: repository: ${{ matrix.project.repo }} path: test-repo ref: ${{ matrix.project.ref }} + + - name: Generate compilation report + working-directory: ./test-repo/${{ matrix.project.path }} + run: | + # We run `nargo check` to pre-fetch any dependencies so we don't measure the time to download these + # when benchmarking. + nargo check - name: Generate compilation report working-directory: ./test-repo/${{ matrix.project.path }} From 957a980959709ca59c2fc718878a3268f8e0f4d6 Mon Sep 17 00:00:00 2001 From: Tom French Date: Tue, 28 Jan 2025 17:21:43 +0000 Subject: [PATCH 2/2] . --- .github/workflows/reports.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reports.yml b/.github/workflows/reports.yml index 8969917a3fa..1d2a0f8f053 100644 --- a/.github/workflows/reports.yml +++ b/.github/workflows/reports.yml @@ -366,7 +366,7 @@ jobs: path: test-repo ref: ${{ matrix.project.ref }} - - name: Generate compilation report + - name: Fetch noir dependencies working-directory: ./test-repo/${{ matrix.project.path }} run: | # We run `nargo check` to pre-fetch any dependencies so we don't measure the time to download these