-
-
Notifications
You must be signed in to change notification settings - Fork 15
55 lines (45 loc) · 2.22 KB
/
benchmarks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Benchmark ANISE versus SPICE
on:
push:
branches:
- master
tags:
- "*"
pull_request:
workflow_dispatch:
jobs:
ephem_type2_chebyshev:
name: SPICE versus ANISE Benchmark
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Download data
run: |
wget -O data/de421.bsp http://public-data.nyxspace.com/anise/de421.bsp
wget -O data/de430.bsp http://public-data.nyxspace.com/anise/de430.bsp
wget -O data/de440s.bsp http://public-data.nyxspace.com/anise/de440s.bsp
wget -O data/de440.bsp http://public-data.nyxspace.com/anise/de440.bsp
wget -O data/pck08.pca http://public-data.nyxspace.com/anise/v0.5/pck08.pca
wget -O data/gmat-hermite.bsp http://public-data.nyxspace.com/anise/ci/gmat-hermite.bsp
wget -O data/gmat-hermite-big-endian.bsp http://public-data.nyxspace.com/anise/ci/gmat-hermite-big-endian.bsp
wget -O data/variable-seg-size-hermite.bsp http://public-data.nyxspace.com/anise/ci/variable-seg-size-hermite.bsp
wget -O data/earth_latest_high_prec.bpc http://public-data.nyxspace.com/anise/ci/earth_latest_high_prec-2023-09-08.bpc
wget -O data/lro.bsp http://public-data.nyxspace.com/nyx/examples/lrorg_2023349_2024075_v01_LE.bsp
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@stable
- name: Install CSPICE
run: sh dev-env-setup.sh && cd .. # Return to root
- name: Bench JPL Ephemerides
run: cargo bench --bench "*_jpl_ephemerides" --workspace --exclude anise-py
- name: Bench Spacecraft (Hermite type 13)
run: cargo bench --bench "*_spacecraft_ephemeris" --workspace --exclude anise-py
- name: Bench Binary planetary constants
run: cargo bench --bench "crit_bpc_rotation" --workspace --exclude anise-py
- name: Bench planetary constants ANISE file
run: cargo bench --bench "crit_planetary_data" --workspace --exclude anise-py
- name: Save benchmark artifacts
uses: actions/upload-artifact@v3
with:
name: jpl-development-ephemerides-benchmark
path: target/criterion/**/report/*