Skip to content

Commit

Permalink
Merge branch 'master' into tf/remove_in_contract
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Jun 25, 2024
2 parents d276fbd + 64dd48a commit b7511db
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[package]
name = "abi_attribute"
type = "contract"
authors = [""]

[dependencies]
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
contract Foo {
#[abi(foo)]
global foo: Field = 42;

#[abi(bar)]
struct Bar {
inner: Field
}
}
8 changes: 1 addition & 7 deletions tooling/nargo_cli/benches/criterion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,10 @@ macro_rules! criterion_command {
};
}
criterion_command!(execution, "execute");
criterion_command!(prove, "prove");

criterion_group! {
name = execution_benches;
config = Criterion::default().sample_size(20).measurement_time(Duration::from_secs(20)).with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
targets = criterion_selected_tests_execution
}
criterion_group! {
name = prove_benches;
config = Criterion::default().sample_size(10).measurement_time(Duration::from_secs(20)).with_profiler(PProfProfiler::new(100, Output::Flamegraph(None)));
targets = criterion_selected_tests_prove
}
criterion_main!(execution_benches, prove_benches);
criterion_main!(execution_benches);

0 comments on commit b7511db

Please sign in to comment.