Merge pull request #116 from nyx-space/dependabot/cargo/polars-0.33 #148
This file contains 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: | |
branches: | |
- master | |
tags: | |
- "*" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
type2_chebyshev: | |
name: JPL DE Benchmark | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Install CSPICE | |
run: sh dev-env-setup.sh && cd .. # Return to root | |
- name: Bench | |
run: cargo bench --bench "*_jpl_ephemerides" | |
- name: Save benchmark artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: jpl-development-ephemerides-benchmark | |
path: target/criterion/**/report/* | |
type13_hermite: | |
name: Hermite Benchmark | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
- name: Install CSPICE | |
run: sh dev-env-setup.sh && cd .. # Return to root | |
- name: Bench | |
run: cargo bench --bench "*_spacecraft_ephemeris" | |
- name: Save benchmark artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: spacecraft-ephemeris-benchmark | |
path: target/criterion/**/report/* |