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(master): Release 0.53.0 #8317

Merged
merged 1 commit into from
Sep 9, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Sep 2, 2024

🤖 I have created a release beep boop

aztec-package: 0.53.0

0.53.0 (2024-09-09)

Bug Fixes

  • Do not reuse anvil admin key (#8304) (6863fe5)
  • Split stores per component and split merkle tree operations (#8299) (4ee69ac)

Miscellaneous

barretenberg.js: 0.53.0

0.53.0 (2024-09-09)

Bug Fixes

aztec-packages: 0.53.0

0.53.0 (2024-09-09)

⚠ BREAKING CHANGES

Features

Bug Fixes

Miscellaneous

barretenberg: 0.53.0

0.53.0 (2024-09-09)

⚠ BREAKING CHANGES

  • avm/brillig: take addresses in calldatacopy (#8388)
  • remove coinbase and unimplemented block gas limit opcodes from AVM (#8408)

Features

  • Add poseidon relations to UltraKeccak flavor and Solidity verifier (#8243) (f7e4bfb)
  • avm/brillig: Take addresses in calldatacopy (#8388) (eab944c)
  • ci: Tracy gate counter preset (#8382) (882af1e)
  • Replace arithmetic equalities with assert equal (#8386) (0d8e835)
  • Ultra keccak honk verifier (#8261) (7f02900)
  • Update AztecIvc interface to facilitate acir-ivc (#8230) (665750a)
  • Verify public validation requests (#8150) (2be1415)

Bug Fixes

Miscellaneous


This PR was generated with Release Please. See documentation.

@AztecBot AztecBot force-pushed the release-please--branches--master branch from b1ca083 to e02b606 Compare September 2, 2024 10:10
@AztecBot
Copy link
Collaborator Author

AztecBot commented Sep 2, 2024

Benchmark results

Metrics with a significant change:

  • avm_simulation_time_ms (FeeJuice:_increase_public_balance): 48.6 (-70%)
  • avm_simulation_time_ms (Token:assert_minter_and_mint): 391 (+526%)
  • avm_simulation_time_ms (Token:transfer_public): 18.7 (-31%)
  • l2_block_processing_time_in_ms (8): 435 (-20%)
  • node_history_sync_time_in_ms (5): 4,132 (-19%)
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.

Proof generation

Each column represents the number of threads used in proof generation.

Metric 1 threads 4 threads 16 threads 32 threads 64 threads
proof_construction_time_sha256_ms 5,763 (-1%) 1,546 695 746 (-2%) 768 (-1%)
proof_construction_time_sha256_30_ms 11,491 3,060 1,363 1,424 1,455
proof_construction_time_sha256_100_ms 45,255 11,733 5,404 (-3%) 5,960 (+4%) 5,346 (-2%)
proof_construction_time_poseidon_hash_ms 78.0 34.0 34.0 58.0 88.0 (+1%)
proof_construction_time_poseidon_hash_30_ms 1,528 416 198 228 (+1%) 268 (-1%)
proof_construction_time_poseidon_hash_100_ms 5,655 1,498 669 (+1%) 737 (+2%) 747

L2 block published to L1

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

Metric 4 txs 8 txs 16 txs
l1_rollup_calldata_size_in_bytes 4,356 7,876 14,884
l1_rollup_calldata_gas 50,220 92,968 178,144
l1_rollup_execution_gas 843,061 1,576,705 3,361,937
l2_block_processing_time_in_ms 250 (+2%) ⚠️ 435 (-20%) 778 (-4%)
l2_block_building_time_in_ms 11,574 22,850 45,309
l2_block_rollup_simulation_time_in_ms 11,573 22,850 45,309
l2_block_public_tx_process_time_in_ms 9,893 21,127 43,567

L2 chain processing

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

Metric 3 blocks 5 blocks
node_history_sync_time_in_ms 3,353 (-13%) ⚠️ 4,132 (-19%)
node_database_size_in_bytes 14,221,552 18,194,672
pxe_database_size_in_bytes 16,258 26,818

Circuits stats

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

Circuit simulation_time_in_ms witness_generation_time_in_ms input_size_in_bytes output_size_in_bytes proving_time_in_ms
private-kernel-init 71.3 (-1%) 382 (+1%) 21,104 44,933 N/A
private-kernel-inner 138 685 (+2%) 71,856 45,067 N/A
private-kernel-reset-tiny 292 672 (+1%) 64,693 44,922 N/A
private-kernel-tail 149 (+1%) 131 (+4%) 50,558 56,996 N/A
base-parity 5.55 (+1%) N/A 160 96.0 N/A
root-parity 35.1 N/A 73,964 96.0 N/A
base-rollup 2,641 N/A 189,128 664 N/A
block-root-rollup 41.0 N/A 58,217 2,448 N/A
public-kernel-setup 83.0 (-1%) N/A 114,177 79,414 N/A
public-kernel-app-logic 96.5 N/A 113,995 79,414 N/A
public-kernel-tail 854 N/A 497,082 16,414 N/A
private-kernel-reset-small 277 (+3%) N/A 66,345 45,629 N/A
private-kernel-tail-to-public 777 (+1%) 600 (+3%) 448,267 1,825 N/A
public-kernel-teardown 81.8 (-1%) N/A 114,441 79,414 N/A
merge-rollup 20.2 (+2%) N/A 38,182 664 N/A
undefined N/A N/A N/A N/A 82,968

Stats on running time collected for app circuits

Function input_size_in_bytes output_size_in_bytes witness_generation_time_in_ms
ContractClassRegisterer:register 1,344 11,731 341 (+1%)
ContractInstanceDeployer:deploy 1,408 11,731 18.1
MultiCallEntrypoint:entrypoint 1,920 11,731 420 (+1%)
FeeJuice:deploy 1,376 11,731 392 (+3%)
SchnorrAccount:constructor 1,312 11,731 59.7 (-1%)
SchnorrAccount:entrypoint 2,336 11,731 367
FeeJuice:claim 1,344 11,731 34.4 (-6%)
Token:privately_mint_private_note 1,280 11,731 72.3 (+2%)
FPC:fee_entrypoint_public 1,344 11,731 24.4 (-2%)
Token:transfer 1,312 11,731 208
Benchmarking:create_note 1,344 11,731 72.6
SchnorrAccount:verify_private_authwit 1,280 11,731 26.3
Token:unshield 1,376 11,731 481 (-1%)
FPC:fee_entrypoint_private 1,376 11,731 644 (+1%)

AVM Simulation

Time to simulate various public functions in the AVM.

Function time_ms bytecode_size_in_bytes
FeeJuice:_increase_public_balance ⚠️ 48.6 (-70%) 2,283
FeeJuice:set_portal 13.1 (+23%) 2,610
Token:constructor 72.1 (-6%) 12,960
FPC:constructor 48.8 (+8%) 7,766
FeeJuice:check_balance 36.9 2,002
Token:mint_public 319 (+1%) 4,441
Token:assert_minter_and_mint ⚠️ 391 (+526%) 2,921
AuthRegistry:set_authorized 37.7 (-29%) 945
FPC:prepare_fee 69.3 (+7%) 3,947
Token:transfer_public ⚠️ 18.7 (-31%) 8,909
FPC:pay_refund 42.3 (-4%) 4,873
Benchmarking:increment_balance 1,241 3,146
Token:_increase_public_balance 40.3 (+5%) 2,260
FPC:pay_refund_with_shielded_rebate 54.2 (+7%) 4,873

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.163 (-2%)

Tree insertion stats

The duration to insert a fixed batch of leaves into each tree type.

Metric 1 leaves 16 leaves 64 leaves 128 leaves 256 leaves 512 leaves 1024 leaves
batch_insert_into_append_only_tree_16_depth_ms 2.16 3.86 (+1%) N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_count 16.7 31.8 N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_ms 0.113 0.108 N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_32_depth_ms N/A N/A 11.3 (+1%) 18.0 (+1%) 30.8 (-1%) 60.0 115 (+1%)
batch_insert_into_append_only_tree_32_depth_hash_count N/A N/A 95.9 159 287 543 1,055
batch_insert_into_append_only_tree_32_depth_hash_ms N/A N/A 0.108 (+1%) 0.104 (+1%) 0.100 (-1%) 0.103 0.102
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 14.5 25.8 (+1%) 43.5 (-2%) 82.9 (+1%) 162 (-1%)
batch_insert_into_indexed_tree_20_depth_hash_count N/A N/A 109 207 357 691 1,363
batch_insert_into_indexed_tree_20_depth_hash_ms N/A N/A 0.110 (-1%) 0.103 0.105 (-2%) 0.103 (+1%) 0.102 (-1%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 16.0 N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_count N/A N/A 129 N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_ms N/A N/A 0.105 (+1%) N/A N/A N/A N/A

Miscellaneous

Transaction sizes based on how many contract classes are registered in the tx.

Metric 0 registered classes 1 registered classes
tx_size_in_bytes 72,168 668,252

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 5 times, most recently from d9734ce to 1f12c15 Compare September 2, 2024 14:25
@AztecBot AztecBot changed the title chore(master): Release 0.52.1 chore(master): Release 0.53.0 Sep 2, 2024
@AztecBot AztecBot force-pushed the release-please--branches--master branch 21 times, most recently from 95a00b1 to 40c6769 Compare September 4, 2024 17:11
@AztecBot AztecBot force-pushed the release-please--branches--master branch 18 times, most recently from 42fcbc9 to eb784df Compare September 9, 2024 11:47
@AztecBot AztecBot force-pushed the release-please--branches--master branch from eb784df to e42ce5d Compare September 9, 2024 12:19
@TomAFrench TomAFrench enabled auto-merge (squash) September 9, 2024 12:27
@TomAFrench TomAFrench merged commit 9fe2c07 into master Sep 9, 2024
100 checks passed
@TomAFrench TomAFrench deleted the release-please--branches--master branch September 9, 2024 13:00
@AztecBot
Copy link
Collaborator Author

AztecBot commented Sep 9, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Sep 9, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Sep 9, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Sep 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants