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.52.0 #8289

Merged
merged 1 commit into from
Sep 2, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Aug 30, 2024

🤖 I have created a release beep boop

aztec-package: 0.52.0

0.52.0 (2024-09-01)

Miscellaneous

  • aztec-package: Synchronize aztec-packages versions
barretenberg.js: 0.52.0

0.52.0 (2024-09-01)

Miscellaneous

  • barretenberg.js: Synchronize aztec-packages versions
aztec-packages: 0.52.0

0.52.0 (2024-09-01)

⚠ BREAKING CHANGES

Features

Bug Fixes

Miscellaneous

Documentation

barretenberg: 0.52.0

0.52.0 (2024-09-01)

Features

Bug Fixes

  • Prevent honk proof from getting stale inputs on syncs (#8293) (2598108)

Miscellaneous

Documentation


This PR was generated with Release Please. See documentation.

@AztecBot
Copy link
Collaborator Author

AztecBot commented Aug 30, 2024

Benchmark results

No metrics with a significant change found.

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,754 1,563 714 762 771
proof_construction_time_sha256_30_ms 11,474 3,093 1,389 1,434 1,473 (+1%)
proof_construction_time_sha256_100_ms 44,107 11,826 (-1%) 5,478 (-1%) 5,616 (+1%) 5,505 (-3%)
proof_construction_time_poseidon_hash_ms 78.0 34.0 34.0 57.0 88.0 (-1%)
proof_construction_time_poseidon_hash_30_ms 1,531 421 203 226 (-2%) 269 (+1%)
proof_construction_time_poseidon_hash_100_ms 5,636 1,513 678 730 (-1%) 745 (-1%)

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,256 92,918 177,988
l1_rollup_execution_gas 843,075 1,576,633 3,361,759
l2_block_processing_time_in_ms 258 (-1%) 446 829
l2_block_building_time_in_ms 11,381 22,519 (+1%) 44,543 (+1%)
l2_block_rollup_simulation_time_in_ms 11,381 22,518 (+1%) 44,543 (+1%)
l2_block_public_tx_process_time_in_ms 9,719 20,826 (+1%) 42,818 (+1%)

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,003 (+2%) 3,887
node_database_size_in_bytes 12,623,952 16,781,392 (+1%)
pxe_database_size_in_bytes 16,254 26,813

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 95.5 (+1%) 381 (-1%) 21,446 44,898 N/A
private-kernel-inner 174 (+1%) 681 72,411 45,020 N/A
private-kernel-reset-tiny 311 (+2%) 691 (-1%) 65,114 44,886 N/A
private-kernel-tail 170 (+1%) 135 (-1%) 50,608 52,921 N/A
base-parity 5.57 N/A 160 96.0 N/A
root-parity 35.4 (+1%) N/A 73,948 96.0 N/A
base-rollup 3,190 (+2%) N/A 189,207 664 N/A
block-root-rollup 41.1 (-1%) N/A 58,205 2,448 N/A
public-kernel-setup 84.9 (+2%) N/A 105,085 71,222 N/A
public-kernel-app-logic 97.6 N/A 104,899 71,222 N/A
public-kernel-tail 853 N/A 390,582 16,414 N/A
private-kernel-reset-small 305 N/A 66,341 45,629 N/A
private-kernel-tail-to-public 1,372 (-2%) 591 (-1%) 455,400 1,825 N/A
public-kernel-teardown 83.7 N/A 105,349 71,222 N/A
merge-rollup 20.2 (-1%) N/A 38,174 664 N/A
undefined N/A N/A N/A N/A 81,648

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 344 (+1%)
ContractInstanceDeployer:deploy 1,408 11,731 18.5 (+2%)
MultiCallEntrypoint:entrypoint 1,920 11,731 407 (+1%)
FeeJuice:deploy 1,376 11,731 392
SchnorrAccount:constructor 1,312 11,731 73.3
SchnorrAccount:entrypoint 2,336 11,731 385
FeeJuice:claim 1,344 11,731 35.0 (-7%)
Token:privately_mint_private_note 1,280 11,731 99.7 (+3%)
FPC:fee_entrypoint_public 1,344 11,731 27.5 (+11%)
Token:transfer 1,312 11,731 219
Benchmarking:create_note 1,344 11,731 85.9 (-1%)
SchnorrAccount:verify_private_authwit 1,280 11,731 26.3 (-11%)
Token:unshield 1,376 11,731 528 (+1%)
FPC:fee_entrypoint_private 1,376 11,731 702 (+1%)

AVM Simulation

Time to simulate various public functions in the AVM.

Function time_ms bytecode_size_in_bytes
FeeJuice:_increase_public_balance 51.3 8,174
FeeJuice:set_portal 12.0 (+2%) 4,055
Token:constructor 77.3 (-2%) 23,253
FPC:constructor 51.7 (+1%) 13,111
FeeJuice:check_balance 38.0 (-3%) 5,978
Token:mint_public 482 (+1%) 12,704
Token:assert_minter_and_mint 50.1 (+4%) 8,467
AuthRegistry:set_authorized 38.7 (+2%) 4,194
FPC:prepare_fee 207 (-8%) 6,747
Token:transfer_public 23.4 (+6%) 32,272
FPC:pay_refund 49.7 (+2%) 9,398
Benchmarking:increment_balance 1,221 7,263
Token:_increase_public_balance 41.8 (-1%) 8,686
FPC:pay_refund_with_shielded_rebate 59.4 (-1%) 9,881

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.150

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.18 (+2%) 3.84 N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_count 16.8 31.7 N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_ms 0.113 (+2%) 0.108 (-1%) 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 18.5 (+5%) 31.4 (+2%) 59.6 115 (+2%)
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 0.108 (+5%) 0.102 (+1%) 0.102 0.103 (+1%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 14.5 (+2%) 25.7 44.1 (+1%) 81.9 (-1%) 163 (+1%)
batch_insert_into_indexed_tree_20_depth_hash_count N/A N/A 107 (-1%) 207 355 691 1,363
batch_insert_into_indexed_tree_20_depth_hash_ms N/A N/A 0.112 (+2%) 0.103 (-1%) 0.107 (+1%) 0.101 (-1%) 0.103 (+1%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 16.6 (+1%) N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_count N/A N/A 132 N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_ms N/A N/A 0.106 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 64,838 668,997

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 18 times, most recently from d61f046 to 7daac1c Compare August 31, 2024 15:44
@AztecBot AztecBot changed the title chore(master): Release 0.51.2 chore(master): Release 0.52.0 Sep 1, 2024
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 7daac1c to 27673bc Compare September 1, 2024 21:22
Copy link
Contributor

github-actions bot commented Sep 1, 2024

Changes to circuit sizes

Generated at commit: 32ccd174f25c745c204151ff138c57ce10f4d35e, compared to commit: 2d3e0b672c11eddf0e4e50f00a42a662bdd67c0c

🧾 Summary (100% most significant diffs)

Program ACIR opcodes (+/-) % Circuit size (+/-) %
rollup_base -38 ✅ -0.01% -41 ✅ -0.00%
public_kernel_setup -1,776 ✅ -0.83% -2,394 ✅ -0.13%
public_kernel_teardown -4,756 ✅ -2.19% -5,839 ✅ -0.31%
public_kernel_app_logic -4,362 ✅ -2.02% -5,901 ✅ -0.31%

Full diff report 👇
Program ACIR opcodes (+/-) % Circuit size (+/-) %
rollup_base 347,688 (-38) -0.01% 3,607,503 (-41) -0.00%
public_kernel_setup 212,017 (-1,776) -0.83% 1,879,749 (-2,394) -0.13%
public_kernel_teardown 212,176 (-4,756) -2.19% 1,877,315 (-5,839) -0.31%
public_kernel_app_logic 211,545 (-4,362) -2.02% 1,876,531 (-5,901) -0.31%

@PhilWindle PhilWindle enabled auto-merge (squash) September 2, 2024 08:51
@PhilWindle PhilWindle merged commit 4dd51eb into master Sep 2, 2024
102 checks passed
@PhilWindle PhilWindle deleted the release-please--branches--master branch September 2, 2024 08:52
@AztecBot
Copy link
Collaborator Author

AztecBot commented Sep 2, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Sep 2, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Sep 2, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Sep 2, 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