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.55.0 #8478

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Sep 10, 2024

🤖 I have created a release beep boop

aztec-package: 0.55.0

0.55.0 (2024-09-13)

Bug Fixes

Miscellaneous

barretenberg.js: 0.55.0

0.55.0 (2024-09-13)

Features

aztec-packages: 0.55.0

0.55.0 (2024-09-13)

⚠ BREAKING CHANGES

  • Add Not instruction in brillig (#8488)
  • refactor NoteGetterOptions::select API (#8504)
  • avm: variants for CAST/NOT opcode (#8497)
  • avm: variants for REVERT opcode (#8487)

Features

Bug Fixes

Miscellaneous

barretenberg: 0.55.0

0.55.0 (2024-09-13)

⚠ BREAKING CHANGES

  • Add Not instruction in brillig (#8488)
  • avm: variants for CAST/NOT opcode (#8497)
  • avm: variants for REVERT opcode (#8487)

Features

Miscellaneous


This PR was generated with Release Please. See documentation.

@AztecBot AztecBot force-pushed the release-please--branches--master branch 2 times, most recently from a924489 to 95c1b3b Compare September 11, 2024 10:15
@AztecBot
Copy link
Collaborator Author

AztecBot commented Sep 11, 2024

Benchmark results

Metrics with a significant change:

  • protocol_circuit_simulation_time_in_ms (private-kernel-tail-to-public): 788 (-47%)
  • avm_simulation_time_ms (FeeJuice:_increase_public_balance): 42.9 (-68%)
  • avm_simulation_time_ms (Token:transfer_public): 18.0 (+48%)
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,760 1,547 702 773 (+2%) 769 (-1%)
proof_construction_time_sha256_30_ms 11,537 3,067 1,370 1,441 (+1%) 1,453
proof_construction_time_sha256_100_ms 45,494 11,820 5,396 5,367 (-1%) 5,364
proof_construction_time_poseidon_hash_ms 78.0 34.0 34.0 57.0 (-3%) 88.0 (-1%)
proof_construction_time_poseidon_hash_30_ms 1,533 418 199 229 (-2%) 267 (-1%)
proof_construction_time_poseidon_hash_100_ms 5,659 1,508 675 735 (+1%) 749 (-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,612 8,260 15,524
l1_rollup_calldata_gas 52,768 97,624 186,536
l1_rollup_execution_gas 819,454 1,555,718 3,346,065
l2_block_processing_time_in_ms 249 (-3%) 445 (+2%) 821 (+3%)
l2_block_building_time_in_ms 9,312 18,054 (-1%) 36,156 (-2%)
l2_block_rollup_simulation_time_in_ms 9,312 18,054 (-1%) 36,156 (-2%)
l2_block_public_tx_process_time_in_ms 7,941 (+1%) 16,663 (-1%) 34,712 (-2%)

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,155 (+6%) 3,994
node_database_size_in_bytes 14,201,072 18,211,056
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 70.2 (-6%) 375 (-1%) 20,971 44,933 N/A
private-kernel-inner 138 (-1%) 680 (-2%) 71,782 45,067 N/A
private-kernel-reset-tiny 319 (+1%) 685 (-1%) 64,268 44,922 N/A
private-kernel-tail 149 (-1%) 129 (-4%) 50,548 57,178 N/A
base-parity 6.03 N/A 160 96.0 N/A
root-parity 35.4 (-1%) N/A 73,964 96.0 N/A
base-rollup 2,076 (-2%) N/A 189,128 664 N/A
block-root-rollup 42.3 N/A 58,217 2,448 N/A
public-kernel-setup 85.0 N/A 114,433 79,670 N/A
public-kernel-app-logic 97.7 (-1%) N/A 114,251 79,670 N/A
public-kernel-tail 566 (-1%) N/A 487,098 16,414 N/A
private-kernel-reset-small 288 N/A 66,345 45,629 N/A
private-kernel-tail-to-public ⚠️ 788 (-47%) 594 (-1%) 447,469 1,825 N/A
public-kernel-teardown 84.9 (+1%) N/A 114,697 79,670 N/A
merge-rollup 20.3 (-3%) N/A 38,182 664 N/A
undefined N/A N/A N/A N/A 104,611

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 345
ContractInstanceDeployer:deploy 1,408 11,731 19.0 (-1%)
MultiCallEntrypoint:entrypoint 1,920 11,731 424
FeeJuice:deploy 1,376 11,731 388 (-2%)
SchnorrAccount:constructor 1,312 11,731 63.6
SchnorrAccount:entrypoint 2,336 11,731 371
FeeJuice:claim 1,344 11,731 38.2
Token:privately_mint_private_note 1,280 11,731 69.7 (-7%)
FPC:fee_entrypoint_public 1,344 11,731 25.4 (-3%)
Token:transfer 1,312 11,731 208
Benchmarking:create_note 1,344 11,731 78.0 (-1%)
SchnorrAccount:verify_private_authwit 1,280 11,731 27.1 (+2%)
Token:unshield 1,376 11,731 498 (+2%)
FPC:fee_entrypoint_private 1,376 11,731 655 (+1%)

AVM Simulation

Time to simulate various public functions in the AVM.

Function time_ms bytecode_size_in_bytes
FeeJuice:_increase_public_balance ⚠️ 42.9 (-68%) 1,197
FeeJuice:set_portal 12.0 (+9%) 1,179
Token:constructor 284 (+1%) 10,585
FPC:constructor 72.0 (-4%) 7,987
FeeJuice:check_balance 36.7 1,004
Token:mint_public 241 (-2%) 2,122
Token:assert_minter_and_mint 42.5 (-21%) 1,434
AuthRegistry:set_authorized 46.1 (+10%) 501
FPC:prepare_fee 90.1 (-3%) 1,379
Token:transfer_public ⚠️ 18.0 (+48%) 8,730
FPC:pay_refund 40.6 (+9%) 1,915
Benchmarking:increment_balance 981 (-1%) 1,575
Token:_increase_public_balance 38.0 (-15%) 1,168
FPC:pay_refund_with_shielded_rebate 50.1 (+1%) 1,915

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.164 (+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.17 (+1%) 3.86 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 (+1%) 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.0 (-1%) 17.4 (-4%) 30.6 (-3%) 59.5 113 (+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.105 (-1%) 0.101 (-4%) 0.0997 (-2%) 0.102 0.101 (+1%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 14.2 25.6 (-2%) 43.6 (-3%) 82.3 (-3%) 165 (+2%)
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.109 (+1%) 0.104 (-2%) 0.102 (-6%) 0.102 (-3%) 0.102
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 16.2 (+1%) 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.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 72,419 668,302

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 5 times, most recently from 1f33690 to f6d6f68 Compare September 11, 2024 14:58
@AztecBot AztecBot changed the title chore(master): Release 0.54.1 chore(master): Release 0.55.0 Sep 11, 2024
@AztecBot AztecBot force-pushed the release-please--branches--master branch 20 times, most recently from 4dfda25 to 9d03c19 Compare September 12, 2024 23:11
@AztecBot AztecBot force-pushed the release-please--branches--master branch 2 times, most recently from c791f1a to c62fa80 Compare September 13, 2024 09:16
@AztecBot AztecBot force-pushed the release-please--branches--master branch from c62fa80 to cbbcac3 Compare September 13, 2024 10:59
@TomAFrench TomAFrench enabled auto-merge (squash) September 13, 2024 11:00
@TomAFrench TomAFrench merged commit bcec12d into master Sep 13, 2024
99 checks passed
@TomAFrench TomAFrench deleted the release-please--branches--master branch September 13, 2024 11:37
@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.

Nightly release failed
2 participants