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

chore: update acir_tests reference branch #2993

Merged
merged 7 commits into from
Oct 24, 2023
Merged

chore: update acir_tests reference branch #2993

merged 7 commits into from
Oct 24, 2023

Conversation

kevaundray
Copy link
Contributor

Please provide a paragraph or two giving a summary of the change, including relevant motivation and context.

Checklist:

Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

  • If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
  • I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
  • Every change is related to the PR description.
  • I have linked this pull request to relevant issues (if any exist).

@socket-security
Copy link

socket-security bot commented Oct 24, 2023

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@kevaundray/acvm_js 0.28.0-kw-branched-off-of-last-aztec-tag-5b563c08c...0.29.0-kw-switch-backend-e9641725f None +0/-0 3.34 MB

@kevaundray kevaundray marked this pull request as ready for review October 24, 2023 12:52
@AztecBot
Copy link
Collaborator

Benchmark results

Metrics with a significant change:

  • note_history_successful_decrypting_time_in_ms (5): 2,575 (-66%)
  • note_history_successful_decrypting_time_in_ms (10): 5,026 (-67%)
  • l2_block_public_tx_process_time_in_ms (8): 1,352 (-46%)
  • l2_block_public_tx_process_time_in_ms (32): 5,392 (-46%)
  • l2_block_public_tx_process_time_in_ms (128): 21,774 (-46%)
  • note_successful_decrypting_time_in_ms (8): 351 (-50%)
  • note_successful_decrypting_time_in_ms (32): 1,131 (-55%)
  • note_successful_decrypting_time_in_ms (128): 4,064 (-58%)
  • note_trial_decrypting_time_in_ms (8): 53.0 (+960%)
Detailed results

All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.

This benchmark source data is available in JSON format on S3 here.

Values are compared against data from master at commit 6c4e26cf and shown if the difference exceeds 1%.

L2 block published to L1

Each column represents the number of txs on an L2 block published to L1.

Metric 8 txs 32 txs 128 txs
l1_rollup_calldata_size_in_bytes 45,444 179,588 716,132
l1_rollup_calldata_gas 222,864 868,232 3,449,708
l1_rollup_execution_gas 841,951 3,595,340 22,205,077
l2_block_processing_time_in_ms 2,301 8,985 (+3%) 34,488 (+1%)
note_successful_decrypting_time_in_ms ⚠️ 351 (-50%) ⚠️ 1,131 (-55%) ⚠️ 4,064 (-58%)
note_trial_decrypting_time_in_ms ⚠️ 53.0 (+960%) 108 136
l2_block_building_time_in_ms 14,599 (-7%) 58,018 (-7%) 232,350 (-7%)
l2_block_rollup_simulation_time_in_ms 13,206 (+1%) 52,494 (+1%) 210,116 (+1%)
l2_block_public_tx_process_time_in_ms ⚠️ 1,352 (-46%) ⚠️ 5,392 (-46%) ⚠️ 21,774 (-46%)

L2 chain processing

Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric 5 blocks 10 blocks
node_history_sync_time_in_ms 24,752 (-13%) 48,276 (-14%)
note_history_successful_decrypting_time_in_ms ⚠️ 2,575 (-66%) ⚠️ 5,026 (-67%)
note_history_trial_decrypting_time_in_ms 122 (-3%) 145 (-6%)
node_database_size_in_bytes 1,628,980 1,097,908
pxe_database_size_in_bytes 27,188 54,187

Circuits stats

Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit circuit_simulation_time_in_ms circuit_input_size_in_bytes circuit_output_size_in_bytes
private-kernel-init 82.7 (-7%) 61,697 18,841
private-kernel-ordering 50.9 (-7%) 24,233 8,089
base-rollup 2,071 (-7%) 639,797 811
root-rollup 90.1 (-8%) 4,072 1,097
private-kernel-inner 59.6 (-7%) 81,504 18,841
public-kernel-private-input 47.1 (-7%) 41,455 18,841
public-kernel-non-first-iteration 29.4 (-7%) 41,497 18,841
merge-rollup 0.855 (-12%) 2,592 873

Miscellaneous

Transaction sizes based on how many contracts are deployed in the tx.

Metric 0 deployed contracts 1 deployed contracts
tx_size_in_bytes 8,723 29,393

Copy link
Collaborator

@sirasistant sirasistant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update!

@kevaundray kevaundray merged commit 91813a5 into master Oct 24, 2023
2 checks passed
@kevaundray kevaundray deleted the kw/update-dep branch October 24, 2023 13:02
kevaundray pushed a commit that referenced this pull request Oct 24, 2023
🤖 I have created a release *beep* *boop*
---


<details><summary>aztec-packages: 0.11.0</summary>

##
[0.11.0](aztec-packages-v0.10.1...aztec-packages-v0.11.0)
(2023-10-24)


### ⚠ BREAKING CHANGES

* consistent `deploy` method params
([#2975](#2975))

### Features

* Consistent `deploy` method params
([#2975](#2975))
([c50aefb](c50aefb))
* Pedersen hash in acir format
([#2990](#2990))
([2a4c548](2a4c548))


### Bug Fixes

* TokenBox
([#3003](#3003))
([1ad6647](1ad6647))


### Miscellaneous

* Update acir_tests reference branch
([#2993](#2993))
([91813a5](91813a5))
</details>

<details><summary>barretenberg.js: 0.11.0</summary>

##
[0.11.0](barretenberg.js-v0.10.1...barretenberg.js-v0.11.0)
(2023-10-24)


### Features

* Pedersen hash in acir format
([#2990](#2990))
([2a4c548](2a4c548))
</details>

<details><summary>barretenberg: 0.11.0</summary>

##
[0.11.0](barretenberg-v0.10.1...barretenberg-v0.11.0)
(2023-10-24)


### Features

* Pedersen hash in acir format
([#2990](#2990))
([2a4c548](2a4c548))


### Miscellaneous

* Update acir_tests reference branch
([#2993](#2993))
([91813a5](91813a5))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Maddiaa0 pushed a commit that referenced this pull request Oct 25, 2023
Please provide a paragraph or two giving a summary of the change,
including relevant motivation and context.

# Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if
the PR is ready to merge.
- [ ] If the pull request requires a cryptography review (e.g.
cryptographic algorithm implementations) I have added the 'crypto' tag.
- [ ] I have reviewed my diff in github, line by line and removed
unexpected formatting changes, testing logs, or commented-out code.
- [ ] Every change is related to the PR description.
- [ ] I have
[linked](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
this pull request to relevant issues (if any exist).
Maddiaa0 pushed a commit that referenced this pull request Oct 25, 2023
🤖 I have created a release *beep* *boop*
---


<details><summary>aztec-packages: 0.11.0</summary>

##
[0.11.0](aztec-packages-v0.10.1...aztec-packages-v0.11.0)
(2023-10-24)


### ⚠ BREAKING CHANGES

* consistent `deploy` method params
([#2975](#2975))

### Features

* Consistent `deploy` method params
([#2975](#2975))
([c50aefb](c50aefb))
* Pedersen hash in acir format
([#2990](#2990))
([2a4c548](2a4c548))


### Bug Fixes

* TokenBox
([#3003](#3003))
([1ad6647](1ad6647))


### Miscellaneous

* Update acir_tests reference branch
([#2993](#2993))
([91813a5](91813a5))
</details>

<details><summary>barretenberg.js: 0.11.0</summary>

##
[0.11.0](barretenberg.js-v0.10.1...barretenberg.js-v0.11.0)
(2023-10-24)


### Features

* Pedersen hash in acir format
([#2990](#2990))
([2a4c548](2a4c548))
</details>

<details><summary>barretenberg: 0.11.0</summary>

##
[0.11.0](barretenberg-v0.10.1...barretenberg-v0.11.0)
(2023-10-24)


### Features

* Pedersen hash in acir format
([#2990](#2990))
([2a4c548](2a4c548))


### Miscellaneous

* Update acir_tests reference branch
([#2993](#2993))
([91813a5](91813a5))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
AztecBot added a commit to AztecProtocol/barretenberg that referenced this pull request Oct 27, 2023
🤖 I have created a release *beep* *boop*
---


<details><summary>aztec-packages: 0.11.0</summary>

##
[0.11.0](AztecProtocol/aztec-packages@aztec-packages-v0.10.1...aztec-packages-v0.11.0)
(2023-10-24)


### ⚠ BREAKING CHANGES

* consistent `deploy` method params
([#2975](AztecProtocol/aztec-packages#2975))

### Features

* Consistent `deploy` method params
([#2975](AztecProtocol/aztec-packages#2975))
([c50aefb](AztecProtocol/aztec-packages@c50aefb))
* Pedersen hash in acir format
([#2990](AztecProtocol/aztec-packages#2990))
([2a4c548](AztecProtocol/aztec-packages@2a4c548))


### Bug Fixes

* TokenBox
([#3003](AztecProtocol/aztec-packages#3003))
([1ad6647](AztecProtocol/aztec-packages@1ad6647))


### Miscellaneous

* Update acir_tests reference branch
([#2993](AztecProtocol/aztec-packages#2993))
([91813a5](AztecProtocol/aztec-packages@91813a5))
</details>

<details><summary>barretenberg.js: 0.11.0</summary>

##
[0.11.0](AztecProtocol/aztec-packages@barretenberg.js-v0.10.1...barretenberg.js-v0.11.0)
(2023-10-24)


### Features

* Pedersen hash in acir format
([#2990](AztecProtocol/aztec-packages#2990))
([2a4c548](AztecProtocol/aztec-packages@2a4c548))
</details>

<details><summary>barretenberg: 0.11.0</summary>

##
[0.11.0](AztecProtocol/aztec-packages@barretenberg-v0.10.1...barretenberg-v0.11.0)
(2023-10-24)


### Features

* Pedersen hash in acir format
([#2990](AztecProtocol/aztec-packages#2990))
([2a4c548](AztecProtocol/aztec-packages@2a4c548))


### Miscellaneous

* Update acir_tests reference branch
([#2993](AztecProtocol/aztec-packages#2993))
([91813a5](AztecProtocol/aztec-packages@91813a5))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants