-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1 changes] chore: fix alerts on rust msrv (noir-lang/noir#4817)
chore(ci): fix alerts on msrv issues (noir-lang/noir#4816) chore: run clippy (noir-lang/noir#4810) chore: optimize poseidon2 implementation (noir-lang/noir#4807) fix: catch panics from EC point creation (e.g. the point is at infinity) (noir-lang/noir#4790) feat: Sync from aztec-packages (noir-lang/noir#4792) feat: lalrpop lexer prototype (noir-lang/noir#4656) feat(nargo): Handle call stacks for multiple Acir calls (noir-lang/noir#4711) fix: proper field inversion for bigints (noir-lang/noir#4802) feat: add `NARGO_FOREIGN_CALL_TIMEOUT` environment variable (noir-lang/noir#4780) chore(debugger): Docs (noir-lang/noir#4145) feat: narrow ABI encoding errors down to target problem argument/field (noir-lang/noir#4798) chore: Rename 'global' to 'function' in the monomorphization pass (noir-lang/noir#4774) chore: Add Hir -> Ast conversion (noir-lang/noir#4788) fix: Fix panic when returning a zeroed unit value (noir-lang/noir#4797)
- Loading branch information
Showing
94 changed files
with
2,857 additions
and
1,271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1d96937a8e94a91c0c17c97102498d067fca76c3 | ||
053d5e8879865c25ac2bfcfd206a6b729d328b9c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ examples/**/target/ | |
examples/9 | ||
node_modules | ||
pkg/ | ||
.idea | ||
|
||
# Yarn | ||
.pnp.* | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
noir/noir-repo/acvm-repo/bn254_blackbox_solver/benches/criterion.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
use criterion::{criterion_group, criterion_main, Criterion}; | ||
use std::{hint::black_box, time::Duration}; | ||
|
||
use acir::FieldElement; | ||
use bn254_blackbox_solver::poseidon2_permutation; | ||
|
||
use pprof::criterion::{Output, PProfProfiler}; | ||
|
||
fn bench_poseidon2(c: &mut Criterion) { | ||
let inputs = [FieldElement::zero(); 4]; | ||
|
||
c.bench_function("poseidon2", |b| b.iter(|| poseidon2_permutation(black_box(&inputs), 4))); | ||
} | ||
|
||
criterion_group!( | ||
name = benches; | ||
config = Criterion::default().sample_size(40).measurement_time(Duration::from_secs(20)).with_profiler(PProfProfiler::new(100, Output::Flamegraph(None))); | ||
targets = bench_poseidon2 | ||
); | ||
|
||
criterion_main!(benches); |
Oops, something went wrong.