Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
alon-dotan-starkware committed Jan 15, 2025
1 parent 5ae425a commit dcee70f
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 33 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ jobs:
with:
toolchain: nightly-2025-01-02
- name: Run benchmark
run: ./scripts/bench.sh | tee output.txt
run: |
apt update && apt install -y gnuplot
./scripts/bench.sh | tee output.txt
pwd
ls -l
- name: Download previous benchmark data
uses: actions/cache@v4
Expand Down Expand Up @@ -146,7 +150,9 @@ jobs:
with:
toolchain: nightly-2025-01-02
- name: Run benchmark
run: ./scripts/bench.sh --features="parallel" | tee output.txt
run: |
apt update && apt install -y gnuplot
./scripts/bench.sh --features="parallel" | tee output.txt
- name: Download previous benchmark data
uses: actions/cache@v4
with:
Expand Down
60 changes: 30 additions & 30 deletions crates/prover/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,42 +66,42 @@ name = "bit_rev"
harness = false
name = "eval_at_point"

[[bench]]
harness = false
name = "fft"
# [[bench]]
# harness = false
# name = "fft"

[[bench]]
harness = false
name = "field"
# [[bench]]
# harness = false
# name = "field"

[[bench]]
harness = false
name = "fri"
# [[bench]]
# harness = false
# name = "fri"

[[bench]]
harness = false
name = "lookups"
# [[bench]]
# harness = false
# name = "lookups"

[[bench]]
harness = false
name = "matrix"
# [[bench]]
# harness = false
# name = "matrix"

[[bench]]
harness = false
name = "merkle"
# [[bench]]
# harness = false
# name = "merkle"

[[bench]]
harness = false
name = "poseidon"
# [[bench]]
# harness = false
# name = "poseidon"

[[bench]]
harness = false
name = "prefix_sum"
# [[bench]]
# harness = false
# name = "prefix_sum"

[[bench]]
harness = false
name = "quotients"
# [[bench]]
# harness = false
# name = "quotients"

[[bench]]
harness = false
name = "pcs"
# [[bench]]
# harness = false
# name = "pcs"
2 changes: 1 addition & 1 deletion scripts/bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Can be used as a drop in replacement for `cargo bench`.
# For example, `./scripts/bench.sh` will run all benchmarks.
# or `./scripts/bench.sh M31` will run only the M31 benchmarks.
RUSTFLAGS="-Awarnings -C target-cpu=native -C target-feature=+avx512f -C opt-level=3" cargo bench $@
RUSTFLAGS="-Awarnings -C target-cpu=native -C opt-level=3" cargo bench $@

0 comments on commit dcee70f

Please sign in to comment.