diff --git a/.github/workflows/cargo-bench.yml b/.github/workflows/cargo-bench.yml index 3750a76e3..67672f1ec 100644 --- a/.github/workflows/cargo-bench.yml +++ b/.github/workflows/cargo-bench.yml @@ -40,13 +40,16 @@ jobs: - name: Install dependencies run: | cargo install cargo-criterion - sudo apt update - sudo apt install -y valgrind - - uses: boa-dev/criterion-compare-action@v3 + cargo install cargo-codspeed + cd rust/kcl-lib + cargo add --dev codspeed-criterion-compat --rename criterion + - name: Build the benchmark target(s) + run: | + cd rust + cargo codspeed build + - name: Run the benchmarks + uses: CodSpeedHQ/action@v3 with: - cwd: "rust" - defaultFeatures: true - # Needed. The name of the branch to compare with. This default uses the branch which is being pulled against - branchName: ${{ github.base_ref }} - env: - KITTYCAD_API_TOKEN: ${{secrets.KITTYCAD_API_TOKEN}} + working-directory: rust + run: KITTYCAD_API_TOKEN=${{secrets.KITTYCAD_API_TOKEN}} cargo codspeed run + token: ${{ secrets.CODSPEED_TOKEN }} diff --git a/docs/kcl/settings.md b/docs/kcl/settings.md index 95f0c23e2..b81eb4d3b 100644 --- a/docs/kcl/settings.md +++ b/docs/kcl/settings.md @@ -1,5 +1,5 @@ --- -title: "KCL settings" +title: "KCL Settings" excerpt: "Documentation of settings for the KCL language and Zoo Modeling App." layout: manual --- diff --git a/e2e/playwright/snapshot-tests.spec.ts-snapshots/Sketch-on-face-with-none-z-up-1-Google-Chrome-linux.png b/e2e/playwright/snapshot-tests.spec.ts-snapshots/Sketch-on-face-with-none-z-up-1-Google-Chrome-linux.png index 965eab408..7d5a55c8e 100644 Binary files a/e2e/playwright/snapshot-tests.spec.ts-snapshots/Sketch-on-face-with-none-z-up-1-Google-Chrome-linux.png and b/e2e/playwright/snapshot-tests.spec.ts-snapshots/Sketch-on-face-with-none-z-up-1-Google-Chrome-linux.png differ