commit e5e9ff4f0977dcab459c97e391fea4dfbd826104 parent 45f5e7bc6e2c85175181cb20f915082d15bbd5ca Author: Yersa Nordman <yersa@finwo.nl> 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); }