feat: omit element size array for more array types#8257
Conversation
There was a problem hiding this comment.
ACVM Benchmarks
Details
| Benchmark suite | Current: d36e18c | Previous: c7e56be | Ratio |
|---|---|---|---|
purely_sequential_opcodes |
264387 ns/iter (± 832) |
272158 ns/iter (± 973) |
0.97 |
perfectly_parallel_opcodes |
246089 ns/iter (± 4726) |
247605 ns/iter (± 466) |
0.99 |
perfectly_parallel_batch_inversion_opcodes |
3584383 ns/iter (± 6348) |
3231499 ns/iter (± 2894) |
1.11 |
This comment was automatically generated by workflow using github-action-benchmark.
Changes to circuit sizes
🧾 Summary (10% most significant diffs)
Full diff report 👇
|
There was a problem hiding this comment.
Execution Time
Details
| Benchmark suite | Current: d36e18c | Previous: c7e56be | Ratio |
|---|---|---|---|
private-kernel-inner |
0.028 s |
0.028 s |
1 |
private-kernel-reset |
0.162 s |
0.161 s |
1.01 |
private-kernel-tail |
0.016 s |
0.016 s |
1 |
rollup-base-private |
0.33 s |
0.33 s |
1 |
rollup-base-public |
0.212 s |
0.217 s |
0.98 |
rollup-block-root |
12.3 s |
11.4 s |
1.08 |
rollup-merge |
0.004 s |
0.004 s |
1 |
rollup-root |
0.013 s |
0.013 s |
1 |
This comment was automatically generated by workflow using github-action-benchmark.
There was a problem hiding this comment.
Compilation Time
Details
| Benchmark suite | Current: d36e18c | Previous: c7e56be | Ratio |
|---|---|---|---|
regression_4709 |
0.66 s |
0.732 s |
0.90 |
ram_blowup_regression |
12.8 s |
13.6 s |
0.94 |
global_var_regression_entry_points |
0.477 s |
0.514 s |
0.93 |
private-kernel-inner |
2.22 s |
2.352 s |
0.94 |
private-kernel-reset |
6.524 s |
6.316 s |
1.03 |
private-kernel-tail |
1.104 s |
1.102 s |
1.00 |
rollup-base-private |
17.24 s |
17.4 s |
0.99 |
rollup-base-public |
13.04 s |
13.76 s |
0.95 |
rollup-block-root-empty |
1.238 s |
1.244 s |
1.00 |
rollup-block-root-single-tx |
123 s |
123 s |
1 |
rollup-block-root |
122 s |
127 s |
0.96 |
rollup-merge |
1.044 s |
1.07 s |
0.98 |
rollup-root |
1.638 s |
1.616 s |
1.01 |
This comment was automatically generated by workflow using github-action-benchmark.
There was a problem hiding this comment.
Test Suite Duration
Details
| Benchmark suite | Current: d36e18c | Previous: c7e56be | Ratio |
|---|---|---|---|
test_report_AztecProtocol_aztec-packages_noir-projects_aztec-nr |
54 s |
52 s |
1.04 |
test_report_AztecProtocol_aztec-packages_noir-projects_noir-contracts |
89 s |
95 s |
0.94 |
test_report_AztecProtocol_aztec-packages_noir-projects_noir-protocol-circuits_crates_blob |
44 s |
41 s |
1.07 |
test_report_AztecProtocol_aztec-packages_noir-projects_noir-protocol-circuits_crates_private-kernel-lib |
176 s |
172 s |
1.02 |
test_report_AztecProtocol_aztec-packages_noir-projects_noir-protocol-circuits_crates_rollup-lib |
173 s |
178 s |
0.97 |
test_report_AztecProtocol_aztec-packages_noir-projects_noir-protocol-circuits_crates_types |
53 s |
54 s |
0.98 |
test_report_noir-lang_noir-bignum_ |
400 s |
410 s |
0.98 |
test_report_noir-lang_noir_bigcurve_ |
223 s |
247 s |
0.90 |
test_report_noir-lang_sha512_ |
28 s |
26 s |
1.08 |
This comment was automatically generated by workflow using github-action-benchmark.
There was a problem hiding this comment.
Execution Memory
Details
| Benchmark suite | Current: d36e18c | Previous: c7e56be | Ratio |
|---|---|---|---|
private-kernel-inner |
231.63 MB |
231.63 MB |
1 |
private-kernel-reset |
255.24 MB |
255.24 MB |
1 |
private-kernel-tail |
209.65 MB |
209.65 MB |
1 |
rollup-base-private |
540.14 MB |
540.14 MB |
1 |
rollup-base-public |
532.31 MB |
532.32 MB |
1.00 |
rollup-block-root |
1440 MB |
1440 MB |
1 |
rollup-merge |
361.22 MB |
361.22 MB |
1 |
rollup-root |
367.14 MB |
367.16 MB |
1.00 |
This comment was automatically generated by workflow using github-action-benchmark.
There was a problem hiding this comment.
Compilation Memory
Details
| Benchmark suite | Current: d36e18c | Previous: c7e56be | Ratio |
|---|---|---|---|
private-kernel-inner |
296.4 MB |
296.36 MB |
1.00 |
private-kernel-reset |
563.5 MB |
563.5 MB |
1 |
private-kernel-tail |
225.78 MB |
225.74 MB |
1.00 |
rollup-base-private |
1440 MB |
1440 MB |
1 |
rollup-base-public |
1460 MB |
1460 MB |
1 |
rollup-block-root-empty |
393.5 MB |
393.51 MB |
1.00 |
rollup-block-root-single-tx |
7880 MB |
7880 MB |
1 |
rollup-block-root |
7890 MB |
7890 MB |
1 |
rollup-merge |
375.57 MB |
375.57 MB |
1 |
rollup-root |
436.47 MB |
436.49 MB |
1.00 |
This comment was automatically generated by workflow using github-action-benchmark.
Automated pull of nightly from the [noir](https://github.com/noir-lang/noir) programming language, a dependency of Aztec. BEGIN_COMMIT_OVERRIDE feat: add `--debug-compile-stdin` to read `main.nr` from `STDIN` for testing (noir-lang/noir#8253) feat: better error message on unicode whitespace that isn't ascii whitespace (noir-lang/noir#8295) chore: update `quicksort` from iterative `noir_sort` version (noir-lang/noir#7348) fix: use correct meta attribute names in contract custom attributes (noir-lang/noir#8273) feat: `nargo expand` to show code after macro expansions (noir-lang/noir#7613) feat: allow specifying fuzz-related dirs when invoking `nargo test` (noir-lang/noir#8293) chore: redo typo PR by ciaranightingale (noir-lang/noir#8292) chore: Extend the bug list with issues found by the AST fuzzer (noir-lang/noir#8285) fix: don't disallow writing to memory after passing it to brillig (noir-lang/noir#8276) chore: test against zkpassport rsa lib (noir-lang/noir#8278) feat: omit element size array for more array types (noir-lang/noir#8257) chore: refactor array handling in ACIRgen (noir-lang/noir#8256) chore: document cast (noir-lang/noir#8268) END_COMMIT_OVERRIDE --------- Co-authored-by: AztecBot <tech@aztecprotocol.com> Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com>
Description
Problem*
Resolves
Summary*
We're currently using an element sizes array for arrays for which the element type isn't of size 1. This is overly strict as we only require that they're a consistent size so that we can multiply the index by a constant when flattening it.
Additional Context
Documentation*
Check one:
PR Checklist*
cargo fmton default settings.