Add more bench scenarios for set operations #56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Benchmarks | |
| on: [push, pull_request] | |
| jobs: | |
| bench: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install OCaml compiler | |
| uses: ocaml/setup-ocaml@v3 | |
| with: | |
| ocaml-compiler: 5.3 | |
| dune-cache: true | |
| - name: Install dependencies | |
| run: | | |
| opam install . --deps-only --with-test | |
| - name: Build the benchmarks | |
| run: opam exec -- dune build | |
| - name: Run the benchmarks | |
| run: opam exec -- dune exec src/main.exe | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| path: | | |
| results.csv | |
| results-rsquare.csv |