From 06e4d48b642c61e7a58069ede4b1c746d98c2b46 Mon Sep 17 00:00:00 2001 From: David Cosby <70235806+DavJCosby@users.noreply.github.com> Date: Mon, 11 Dec 2023 14:27:01 -0700 Subject: [PATCH] added benchmark action --- .github/workflows/rust.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e6824d0..194b5a4 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -19,6 +19,16 @@ jobs: - name: Build working-directory: ./sled run: cargo build + - name: Run tests working-directory: ./sled run: cargo test + + - name: Run benchmarks + uses: benchmark-action/github-action-benchmark@v1.18.0 + with: + working-directory: ./sled + tool: 'cargo' + output-file-path: output.txt + +