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.51.0 #8158

Merged
merged 1 commit into from
Aug 27, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Aug 23, 2024

🤖 I have created a release beep boop

aztec-package: 0.51.0

0.51.0 (2024-08-27)

Bug Fixes

barretenberg.js: 0.51.0

0.51.0 (2024-08-27)

Miscellaneous

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

0.51.0 (2024-08-27)

⚠ BREAKING CHANGES

  • wallet authwit management (#8128)

Features

Bug Fixes

Miscellaneous

barretenberg: 0.51.0

0.51.0 (2024-08-27)

Features

Bug Fixes

Miscellaneous

  • Oink takes directly populates an instance (#8170) (6e46b45)
  • Protogalaxy: Isolate some state and clarify skipped zero computation (#8173) (7395b95)
  • Protogalaxy: Move state out of Instances (#8177) (cd5d2df)

This PR was generated with Release Please. See documentation.

@AztecBot
Copy link
Collaborator Author

AztecBot commented Aug 23, 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,755 1,558 709 753 777
proof_construction_time_sha256_30_ms 11,455 3,093 1,386 1,424 (-1%) 1,464
proof_construction_time_sha256_100_ms 44,038 11,824 (-1%) 5,417 (-2%) 5,401 (-2%) 5,742
proof_construction_time_poseidon_hash_ms 78.0 (-1%) 34.0 34.0 57.0 (-2%) 88.0
proof_construction_time_poseidon_hash_30_ms 1,527 421 202 233 (+3%) 271 (+1%)
proof_construction_time_poseidon_hash_100_ms 5,641 1,514 671 (-1%) 724 (-2%) 746

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,244 92,962 178,144
l1_rollup_execution_gas 843,029 1,576,643 3,361,881
l2_block_processing_time_in_ms 258 445 (-1%) 817 (-3%)
l2_block_building_time_in_ms 11,395 22,331 44,426
l2_block_rollup_simulation_time_in_ms 11,395 22,331 44,425
l2_block_public_tx_process_time_in_ms 9,648 20,523 42,581

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 2,973 (-1%) 3,842 (-2%)
node_database_size_in_bytes 12,611,664 16,691,280
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 91.5 (+1%) 397 (+1%) 21,735 44,860 N/A
private-kernel-inner 176 704 72,544 45,007 N/A
private-kernel-reset-tiny 312 716 (+1%) 65,593 44,846 N/A
private-kernel-tail 167 136 (+1%) 50,644 52,257 N/A
base-parity 5.66 N/A 160 96.0 N/A
root-parity 35.7 (+1%) N/A 73,948 96.0 N/A
base-rollup 3,455 N/A 189,136 664 N/A
block-root-rollup 41.4 N/A 58,205 2,448 N/A
public-kernel-setup 85.3 (-1%) N/A 105,085 71,222 N/A
public-kernel-app-logic 97.1 N/A 104,911 71,222 N/A
public-kernel-tail 862 N/A 390,582 16,414 N/A
private-kernel-reset-small 311 (+1%) N/A 66,341 45,629 N/A
private-kernel-tail-to-public 663 (-1%) 614 455,400 1,825 N/A
public-kernel-teardown 86.2 (+3%) N/A 105,349 71,222 N/A
merge-rollup 20.6 (+1%) N/A 38,174 664 N/A
undefined N/A N/A N/A N/A 78,956 (+2%)

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.3
MultiCallEntrypoint:entrypoint 1,920 11,731 406
FeeJuice:deploy 1,376 11,731 396 (+2%)
SchnorrAccount:constructor 1,312 11,731 73.6
SchnorrAccount:entrypoint 2,304 11,731 393 (-2%)
Token:privately_mint_private_note 1,280 11,731 105 (+6%)
FPC:fee_entrypoint_public 1,344 11,731 26.9 (+6%)
Token:transfer 1,312 11,731 228
Benchmarking:create_note 1,344 11,731 86.1 (-1%)
SchnorrAccount:verify_private_authwit 1,280 11,731 27.8 (+1%)
Token:unshield 1,376 11,731 517
FPC:fee_entrypoint_private 1,376 11,731 703 (+1%)

AVM Simulation

Time to simulate various public functions in the AVM.

Function time_ms bytecode_size_in_bytes
FeeJuice:_increase_public_balance 59.3 (+7%) 7,101
FeeJuice:set_portal 13.8 (+26%) 2,128
Token:constructor 82.7 (+4%) 25,285
FPC:constructor 54.3 (+1%) 17,853
FeeJuice:mint_public 39.9 (+1%) 5,415
Token:mint_public 71.2 (+1%) 10,101
Token:assert_minter_and_mint 41.2 6,844
AuthRegistry:set_authorized 37.8 (+1%) 3,969
FPC:prepare_fee 229 (-2%) 6,747
Token:transfer_public 25.5 (-16%) 38,126
FPC:pay_refund 53.5 (+5%) 9,398
Benchmarking:increment_balance 1,200 6,179
Token:_increase_public_balance 40.4 (+3%) 7,705
FPC:pay_refund_with_shielded_rebate 59.4 (-3%) 9,881

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.163 (+4%)

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.17 (-1%) 3.98 (+1%) 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.113 (+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.2 (-2%) 17.8 (-4%) 31.9 58.6 (-3%) 113 (-4%)
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.107 (-2%) 0.103 (-4%) 0.103 0.101 (-3%) 0.101 (-4%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 14.2 (-2%) 25.4 (-2%) 44.9 82.3 160 (-4%)
batch_insert_into_indexed_tree_20_depth_hash_count N/A N/A 109 207 355 691 1,363
batch_insert_into_indexed_tree_20_depth_hash_ms N/A N/A 0.108 (-3%) 0.102 (-3%) 0.109 0.102 0.102 (-3%)
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 (-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 64,779 668,997

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 16 times, most recently from 58c1da9 to 182b86e Compare August 26, 2024 21:38
@AztecBot AztecBot changed the title chore(master): Release 0.50.2 chore(master): Release 0.51.0 Aug 27, 2024
@AztecBot AztecBot force-pushed the release-please--branches--master branch 7 times, most recently from 123dc7b to c1a00ee Compare August 27, 2024 13:16
@AztecBot AztecBot force-pushed the release-please--branches--master branch from c1a00ee to bd29749 Compare August 27, 2024 13:16
@TomAFrench TomAFrench enabled auto-merge (squash) August 27, 2024 13:27
@TomAFrench TomAFrench merged commit a7887d7 into master Aug 27, 2024
99 checks passed
@TomAFrench TomAFrench deleted the release-please--branches--master branch August 27, 2024 13:53
@AztecBot
Copy link
Collaborator Author

@AztecBot
Copy link
Collaborator Author

@AztecBot
Copy link
Collaborator Author

@AztecBot
Copy link
Collaborator Author

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