Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add benchmarks for proving & verification processes #44

Merged
merged 4 commits into from
Nov 29, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add criterion and bench profile in Cargo.toml
  • Loading branch information
CPerezz committed Nov 29, 2021
commit 23ae1d76273fd43a43ba5a98703a79c5f919b09d
15 changes: 15 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ hashbrown = {version = "0.11.2", default-features=false, features = ["ahash"]}
num-traits = "0.2.14"

[dev-dependencies]
criterion = "0.3"
tempdir = "0.3"
ark-bls12-381 = "0.3"
ark-bls12-377 = "0.3"
Expand All @@ -62,3 +63,17 @@ asm = [
]
trace = []
trace-print = ["trace"]

[[bench]]
name = "plonk"
harness = false

[profile.bench]
opt-level = 3
debug = false
debug-assertions = false
overflow-checks = false
rpath = false
lto = "thin"
incremental = false
codegen-units = 1