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.50.0 #8032

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Aug 15, 2024

🤖 I have created a release beep boop

aztec-package: 0.50.0

0.50.0 (2024-08-22)

Features

Bug Fixes

  • Port option & extracting correct namespaced options (#8097) (e74c83e)
  • Txe port and aztec start options (#8071) (23778c5)

Miscellaneous

barretenberg.js: 0.50.0

0.50.0 (2024-08-22)

Miscellaneous

aztec-packages: 0.50.0

0.50.0 (2024-08-22)

⚠ BREAKING CHANGES

  • replace public key fetching API (#7996)

Features

Bug Fixes

Miscellaneous

Documentation

barretenberg: 0.50.0

0.50.0 (2024-08-22)

Features

Bug Fixes

Miscellaneous

Documentation

  • Update installation info for bb and noir (#8119) (a744321)

This PR was generated with Release Please. See documentation.

@AztecBot AztecBot force-pushed the release-please--branches--master branch from 8ed4065 to a18bfa4 Compare August 15, 2024 23:45
@AztecBot
Copy link
Collaborator Author

AztecBot commented Aug 16, 2024

Benchmark results

Metrics with a significant change:

  • proof_construction_time_sha256_30_ms (16): 1,747 (+24%)
  • avm_simulation_time_ms (Token:mint_public): 44.8 (-39%)
  • avm_simulation_time_ms (Token:assert_minter_and_mint): 65.5 (+48%)
  • avm_simulation_time_ms (FPC:pay_refund): 54.9 (-34%)
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,762 1,568 720 (+1%) 734 (-4%) 774
proof_construction_time_sha256_30_ms 11,588 (-1%) 3,117 (-1%) ⚠️ 1,747 (+24%) 1,568 (+10%) 1,540 (+5%)
proof_construction_time_sha256_100_ms 44,267 (-1%) 11,900 (-2%) 5,456 (-4%) 5,633 5,926 (+1%)
proof_construction_time_poseidon_hash_ms 79.0 34.0 34.0 57.0 (-2%) 88.0
proof_construction_time_poseidon_hash_30_ms 1,533 425 203 235 (+5%) 266 (-4%)
proof_construction_time_poseidon_hash_100_ms 5,659 1,519 674 750 (+2%) 742 (-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,324 7,844 14,852
l1_rollup_calldata_gas 49,696 92,464 177,608
l1_rollup_execution_gas 1,373,724 2,107,388 3,892,588
l2_block_processing_time_in_ms 252 (-1%) 445 (-2%) 800
l2_block_building_time_in_ms 8,977 (+1%) 17,550 (+1%) 34,843
l2_block_rollup_simulation_time_in_ms 8,977 (+1%) 17,550 (+1%) 34,843
l2_block_public_tx_process_time_in_ms 7,572 (+1%) 16,021 (+1%) 33,303

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,940 (-2%) 3,795 (-1%)
node_database_size_in_bytes 12,664,912 16,719,952
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 88.3 397 21,755 44,860 N/A
private-kernel-inner 166 (-1%) 706 72,566 45,007 N/A
private-kernel-reset-tiny 458 865 (-1%) 65,675 44,846 N/A
private-kernel-tail 196 (+1%) 156 (-2%) 50,686 52,257 N/A
base-parity 5.64 N/A 160 96.0 N/A
root-parity 35.4 (-2%) N/A 73,948 96.0 N/A
base-rollup 2,754 N/A 189,136 664 N/A
root-rollup 40.5 (-1%) N/A 58,173 716 N/A
public-kernel-setup 84.8 (-2%) N/A 105,085 71,222 N/A
public-kernel-app-logic 95.5 N/A 104,911 71,222 N/A
public-kernel-tail 556 (+1%) N/A 410,534 16,414 N/A
private-kernel-reset-small 462 (+1%) N/A 66,341 45,629 N/A
private-kernel-tail-to-public 1,379 647 (-1%) 460,796 1,825 N/A
public-kernel-teardown 83.6 N/A 105,349 71,222 N/A
merge-rollup 20.6 (+2%) N/A 38,174 664 N/A
undefined N/A N/A N/A N/A 78,213 (-1%)

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 343
ContractInstanceDeployer:deploy 1,408 11,731 18.4
MultiCallEntrypoint:entrypoint 1,920 11,731 407
FeeJuice:deploy 1,376 11,731 394
SchnorrAccount:constructor 1,312 11,731 75.3
SchnorrAccount:entrypoint 2,304 11,731 413
Token:privately_mint_private_note 1,280 11,731 103 (-2%)
FPC:fee_entrypoint_public 1,344 11,731 29.2
Token:transfer 1,312 11,731 231 (-1%)
Benchmarking:create_note 1,344 11,731 86.6 (-1%)
SchnorrAccount:verify_private_authwit 1,280 11,731 27.6
Token:unshield 1,376 11,731 529 (+1%)
FPC:fee_entrypoint_private 1,376 11,731 704

AVM Simulation

Time to simulate various public functions in the AVM.

Function time_ms bytecode_size_in_bytes
FeeJuice:_increase_public_balance 55.2 (-12%) 7,739
FeeJuice:set_portal 12.3 (+3%) 2,354
Token:constructor 79.4 (-1%) 26,051
FPC:constructor 52.3 (-7%) 18,001
FeeJuice:mint_public 39.7 (-2%) 5,877
Token:mint_public ⚠️ 44.8 (-39%) 10,917
Token:assert_minter_and_mint ⚠️ 65.5 (+48%) 7,512
AuthRegistry:set_authorized 37.1 (-20%) 4,391
FPC:prepare_fee 227 (-8%) 7,043
Token:transfer_public 23.7 (+24%) 39,426
FPC:pay_refund ⚠️ 54.9 (-34%) 10,234
Benchmarking:increment_balance 935 (+1%) 6,563
Token:_increase_public_balance 40.1 (-1%) 8,433
FPC:pay_refund_with_shielded_rebate 63.1 (-1%) 10,783

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.155 (-1%)

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.22 (-2%) 4.00 (+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.115 (-3%) 0.114 (+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.6 (+1%) 17.8 31.2 (+3%) 58.7 (-2%) 114
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.112 (+1%) 0.103 0.102 (+3%) 0.102 (-1%) 0.102 (+1%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 14.6 (+1%) 25.7 44.4 (+4%) 82.4 (-2%) 163 (+3%)
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.112 (+1%) 0.104 0.107 (+4%) 0.103 (-2%) 0.104 (+4%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 16.5 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,779 668,997

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch from a18bfa4 to b51ce52 Compare August 16, 2024 07:46
@AztecBot AztecBot changed the title chore(master): Release 0.49.3 chore(master): Release 0.50.0 Aug 16, 2024
@AztecBot AztecBot force-pushed the release-please--branches--master branch 11 times, most recently from 6a1d845 to e24ac15 Compare August 18, 2024 09:17
Copy link
Collaborator Author

@AztecBot AztecBot left a comment

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'C++ Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.05.

Benchmark suite Current: e24ac15 Previous: 4615e6a Ratio
nativeconstruct_proof_ultrahonk_power_of_2/20 5201.806273000003 ms/iter 4834.973486999999 ms/iter 1.08

This comment was automatically generated by workflow using github-action-benchmark.

CC: @ludamad @codygunton

@AztecBot AztecBot force-pushed the release-please--branches--master branch 13 times, most recently from 27d7116 to 5f4c342 Compare August 19, 2024 15:52
@AztecBot AztecBot force-pushed the release-please--branches--master branch 18 times, most recently from 75aca7d to da99446 Compare August 22, 2024 15:21
@AztecBot AztecBot force-pushed the release-please--branches--master branch from da99446 to b80bb08 Compare August 22, 2024 15:33
@PhilWindle PhilWindle enabled auto-merge (squash) August 22, 2024 15:38
@PhilWindle PhilWindle merged commit 0b50480 into master Aug 22, 2024
98 checks passed
@PhilWindle PhilWindle deleted the release-please--branches--master branch August 22, 2024 16:15
@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
2 participants