commit 139276e5d86b5fca2d8e3bc74cb69a060b1ecee7 parent a2d94f5c7bead3ab4c66cc323132b14a4140e7da Author: finwo <finwo@pm.me> Date: Sat, 25 Mar 2023 00:16:57 +0100 Run benchmark in gha as well Diffstat:
| M | .github/workflows/continuous-integration.yml | | | 11 | +++++++++++ |
| M | benchmark.c | | | 2 | +- |
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml @@ -9,6 +9,17 @@ on: jobs: + benchmark-default: + name: Test default + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: finwo/dep@edge + - run : dep install + - run : make clean + - run : make + - run : ./benchmark + test-default: name: Test default runs-on: ubuntu-latest diff --git a/benchmark.c b/benchmark.c @@ -40,5 +40,5 @@ int main() { }; BMARK(mindex_some_bmark_method); - return bmark_run(10000, percentiles); + return bmark_run(100, percentiles); }