Skip to content

Commit

Permalink
Remove non-Maud benchmarks (#252)
Browse files Browse the repository at this point in the history
There's already [template-benchmarks-rs](https://github.com/djc/template-benchmarks-rs), so we don't need to maintain a separate set here.

The Maud-specific benchmarks are kept, as they're still useful for testing future optimizations.
  • Loading branch information
lambda-fairy authored Jan 7, 2021
1 parent 605cb86 commit 37e11fc
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 1,293 deletions.
22 changes: 1 addition & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
components: clippy

- name: Run tests
run: cargo test --workspace
run: cargo test --workspace --all-targets

- name: Check Clippy
run: cargo clippy --workspace --all-targets -- -D warnings
Expand All @@ -53,25 +53,6 @@ jobs:
- name: Check build
run: cargo check --workspace --all-features --all-targets

benchmarks:
name: Benchmarks
runs-on: ubuntu-latest

steps:

- name: Check out repository
uses: actions/checkout@v2

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true

- name: Run benchmarks
run: cd benchmarks && cargo test --benches --locked

# Please keep this in sync with `publish-docs.yml`
documentation:
name: Documentation
Expand Down Expand Up @@ -117,7 +98,6 @@ jobs:
- name: Check formatting
run: |
cargo fmt -- --check
(cd benchmarks && cargo fmt -- --check)
(cd docs && cargo fmt -- --check)
# trybuild harnesses are technically not part of the Cargo project, so
# need to be checked separately
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ members = [
"maud",
]
exclude = [
"benchmarks",
"docs",
]
2 changes: 0 additions & 2 deletions benchmarks/.gitignore

This file was deleted.

Loading

0 comments on commit 37e11fc

Please sign in to comment.