diff --git a/.githooks/pre-commit b/.githooks/pre-commit index 0771bd7..3b05678 100755 --- a/.githooks/pre-commit +++ b/.githooks/pre-commit @@ -10,12 +10,6 @@ cargo fmt --check echo "pre-commit: cargo clippy" 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" staged=$(git diff --cached --name-only --diff-filter=ACM -- '*.rs' '*.md' '*.toml') if [ -n "$staged" ]; then diff --git a/readme.md b/readme.md index 7df96cf..1536b8d 100644 --- a/readme.md +++ b/readme.md @@ -66,15 +66,15 @@ matched is documented and its contribution bounded. ## Performance -Measured against `nyx-space`, `astrolabe` and Orekit on the same benchmarks with -matched force models, on the same hardware. None of the three publishes usable -figures, so the references are measured here rather than cited. +Measured against `nyx-space` and Orekit on the same benchmarks with matched force +models, on the same hardware. Neither publishes usable figures, so the references +are measured here rather than cited. -| Benchmark | astrokit | nyx-space | astrolabe | Orekit | -|---|---|---|---|---| -| Two-body throughput (state-steps/s) | not yet measured | — | — | — | -| Full-force LEO, 1 day | not yet measured | — | — | — | -| Ensemble of N states, scaling vs. cores | not yet measured | — | — | — | +| Benchmark | astrokit | nyx-space | Orekit | +|---|---|---|---| +| Two-body throughput (state-steps/s) | not yet measured | — | — | +| Full-force LEO, 1 day | not yet measured | — | — | +| Ensemble of N states, scaling vs. cores | not yet measured | — | — | ## Development @@ -85,8 +85,9 @@ git config core.hooksPath .githooks ``` It runs `cargo fmt --check`, `cargo clippy --all-targets --all-features -- -D -warnings`, `cargo test`, `cargo doc` with warnings denied, and a US English -spelling check. `git commit --no-verify` skips it. +warnings`, and a US English 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