Small cleanup and removed some slow git hooks

This commit is contained in:
connor committed 2026-09-30 11:14:01 -04:00
1 parent 0087f831fb
commit ed8c2f61bf
2 files changed
+11 -16

No files matched your search

-6
View File
@@ -10,12 +10,6 @@ cargo fmt --check
echo "pre-commit: cargo clippy" echo "pre-commit: cargo clippy"
cargo clippy --all-targets --all-features -- -D warnings cargo clippy --all-targets --all-features -- -D warnings
echo "pre-commit: cargo test"
cargo test --quiet
echo "pre-commit: cargo doc"
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --quiet
echo "pre-commit: US spelling" echo "pre-commit: US spelling"
staged=$(git diff --cached --name-only --diff-filter=ACM -- '*.rs' '*.md' '*.toml') staged=$(git diff --cached --name-only --diff-filter=ACM -- '*.rs' '*.md' '*.toml')
if [ -n "$staged" ]; then if [ -n "$staged" ]; then
+11 -10
View File
@@ -66,15 +66,15 @@ matched is documented and its contribution bounded.
## Performance ## Performance
Measured against `nyx-space`, `astrolabe` and Orekit on the same benchmarks with Measured against `nyx-space` and Orekit on the same benchmarks with matched force
matched force models, on the same hardware. None of the three publishes usable models, on the same hardware. Neither publishes usable figures, so the references
figures, so the references are measured here rather than cited. are measured here rather than cited.
| Benchmark | astrokit | nyx-space | astrolabe | Orekit | | Benchmark | astrokit | nyx-space | Orekit |
|---|---|---|---|---| |---|---|---|---|
| Two-body throughput (state-steps/s) | not yet measured | — | — | — | | Two-body throughput (state-steps/s) | not yet measured | — | — |
| Full-force LEO, 1 day | not yet measured | — | — | — | | Full-force LEO, 1 day | not yet measured | — | — |
| Ensemble of N states, scaling vs. cores | not yet measured | — | — | — | | Ensemble of N states, scaling vs. cores | not yet measured | — | — |
## Development ## Development
@@ -85,8 +85,9 @@ git config core.hooksPath .githooks
``` ```
It runs `cargo fmt --check`, `cargo clippy --all-targets --all-features -- -D It runs `cargo fmt --check`, `cargo clippy --all-targets --all-features -- -D
warnings`, `cargo test`, `cargo doc` with warnings denied, and a US English warnings`, and a US English spelling check. `git commit --no-verify` skips it.
spelling check. `git commit --no-verify` skips it. Tests and docs are left out to keep it under a few seconds; run `cargo test`
yourself.
## License ## License