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.54.0 #8449

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Sep 9, 2024

🤖 I have created a release beep boop

aztec-package: 0.54.0

0.54.0 (2024-09-10)

Features

Miscellaneous

barretenberg.js: 0.54.0

0.54.0 (2024-09-10)

Miscellaneous

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

0.54.0 (2024-09-10)

⚠ BREAKING CHANGES

  • avm: variants for binary operations (#8473)
  • avm: make JUMP(I) 16-bit (#8443)
  • avm: variants for SET opcode (#8441)
  • avm: variants for MOV opcode (#8440)

Features

Bug Fixes

Miscellaneous

barretenberg: 0.54.0

0.54.0 (2024-09-10)

⚠ BREAKING CHANGES

  • avm: variants for binary operations (#8473)
  • avm: make JUMP(I) 16-bit (#8443)
  • avm: variants for SET opcode (#8441)
  • avm: variants for MOV opcode (#8440)

Features

Bug Fixes

Miscellaneous

  • bb: Remove poly downsizing, other fast-follow from structured polys (#8475) (ac88f30)
  • Rename files relating to what were "instances" (#8383) (a934e85)

This PR was generated with Release Please. See documentation.

@AztecBot
Copy link
Collaborator Author

AztecBot commented Sep 9, 2024

Benchmark results

Metrics with a significant change:

  • protocol_circuit_simulation_time_in_ms (private-kernel-tail-to-public): 799 (-40%)
  • public_db_access_time_ms (get-nullifier-index): 0.312 (+97%)
  • avm_simulation_time_ms (FeeJuice:_increase_public_balance): 162 (+252%)
  • avm_simulation_time_ms (Token:mint_public): 311 (+544%)
  • avm_simulation_time_ms (Token:assert_minter_and_mint): 60.1 (-91%)
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,751 1,548 715 (+1%) 747 (-2%) 778
proof_construction_time_sha256_30_ms 11,834 3,144 1,404 1,433 (+1%) 1,472
proof_construction_time_sha256_100_ms 44,384 (+1%) 11,929 (+1%) 5,508 (+1%) 6,065 (+6%) 5,358 (-1%)
proof_construction_time_poseidon_hash_ms 78.0 34.0 34.0 57.0 (-2%) 87.0 (-1%)
proof_construction_time_poseidon_hash_30_ms 1,529 418 201 221 (-3%) 269 (+1%)
proof_construction_time_poseidon_hash_100_ms 5,652 1,517 673 741 (-1%) 744 (-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,420 7,940 14,948
l1_rollup_calldata_gas 50,500 93,242 178,316
l1_rollup_execution_gas 843,633 1,577,271 3,362,402
l2_block_processing_time_in_ms 259 (+2%) 461 (+6%) 836 (+1%)
l2_block_building_time_in_ms 11,522 (+1%) 22,414 (-1%) 44,802
l2_block_rollup_simulation_time_in_ms 11,521 (+1%) 22,413 (-1%) 44,802
l2_block_public_tx_process_time_in_ms 9,841 (+1%) 20,701 (-1%) 43,068

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,456 (+5%) 4,481 (+8%)
node_database_size_in_bytes 14,233,840 18,231,536
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 (-4%) 379 (-4%) 21,027 44,933 N/A
private-kernel-inner 139 (-1%) 680 (-3%) 71,803 45,067 N/A
private-kernel-reset-tiny 295 (+3%) 682 (-1%) 64,669 44,922 N/A
private-kernel-tail 151 (+1%) 127 (-3%) 50,553 57,178 N/A
base-parity 5.56 N/A 160 96.0 N/A
root-parity 35.0 (-1%) N/A 73,964 96.0 N/A
base-rollup 2,583 N/A 189,128 664 N/A
block-root-rollup 41.1 (-1%) N/A 58,217 2,448 N/A
public-kernel-setup 84.2 (-1%) N/A 114,433 79,670 N/A
public-kernel-app-logic 97.5 N/A 114,251 79,670 N/A
public-kernel-tail 841 (-1%) N/A 487,098 16,414 N/A
private-kernel-reset-small 275 (+2%) N/A 66,345 45,629 N/A
private-kernel-tail-to-public ⚠️ 799 (-40%) 591 (-4%) 449,631 1,825 N/A
public-kernel-teardown 85.1 (+2%) N/A 114,697 79,670 N/A
merge-rollup 20.1 (+1%) N/A 38,182 664 N/A
undefined N/A N/A N/A N/A 104,349 (+6%)

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.2 (-1%)
MultiCallEntrypoint:entrypoint 1,920 11,731 419
FeeJuice:deploy 1,376 11,731 383 (-1%)
SchnorrAccount:constructor 1,312 11,731 60.4
SchnorrAccount:entrypoint 2,336 11,731 370
FeeJuice:claim 1,344 11,731 40.1 (+6%)
Token:privately_mint_private_note 1,280 11,731 71.8 (+1%)
FPC:fee_entrypoint_public 1,344 11,731 25.6 (-3%)
Token:transfer 1,312 11,731 208 (-2%)
Benchmarking:create_note 1,344 11,731 75.0 (+1%)
SchnorrAccount:verify_private_authwit 1,280 11,731 26.5
Token:unshield 1,376 11,731 488
FPC:fee_entrypoint_private 1,376 11,731 651 (-1%)

AVM Simulation

Time to simulate various public functions in the AVM.

Function time_ms bytecode_size_in_bytes
FeeJuice:_increase_public_balance ⚠️ 162 (+252%) 1,322
FeeJuice:set_portal 8.72 (+13%) 1,332
Token:constructor 266 (-1%) 13,702
FPC:constructor 83.9 (+7%) 10,797
FeeJuice:check_balance 35.8 (-1%) 1,153
Token:mint_public ⚠️ 311 (+544%) 2,487
Token:assert_minter_and_mint ⚠️ 60.1 (-91%) 1,687
AuthRegistry:set_authorized 35.7 (-15%) 531
FPC:prepare_fee 111 (+18%) 1,822
Token:transfer_public 16.2 (-1%) 11,517
FPC:pay_refund 39.7 (+8%) 2,314
Benchmarking:increment_balance 1,219 1,573
Token:_increase_public_balance 37.0 (-4%) 1,299
FPC:pay_refund_with_shielded_rebate 48.9 (-4%) 2,314

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index ⚠️ 0.312 (+97%)

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 (+2%) 3.87 (+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 (+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.1 (-1%) 18.4 (+5%) 31.1 (-1%) 60.6 (+2%) 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.107 (-1%) 0.107 (+4%) 0.101 (-1%) 0.104 (+2%) 0.102
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 14.2 (-1%) 26.4 (+3%) 44.6 (+3%) 83.8 (+2%) 166 (+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.108 (-2%) 0.106 (+3%) 0.106 (+7%) 0.103 (+2%) 0.105 (+1%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 16.4 (+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.107 (+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,416 668,302

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 11 times, most recently from a2db654 to 9879b79 Compare September 9, 2024 20:08
@AztecBot AztecBot changed the title chore(master): Release 0.53.1 chore(master): Release 0.54.0 Sep 9, 2024
@AztecBot AztecBot force-pushed the release-please--branches--master branch 7 times, most recently from 4e9cc61 to 7eb40c1 Compare September 10, 2024 16:02
@AztecBot AztecBot force-pushed the release-please--branches--master branch 4 times, most recently from e051bac to fdcbaab Compare September 10, 2024 19:11
@AztecBot AztecBot force-pushed the release-please--branches--master branch from fdcbaab to aeb832f Compare September 10, 2024 20:03
@PhilWindle PhilWindle merged commit 64e7cf3 into master Sep 10, 2024
101 checks passed
@PhilWindle PhilWindle deleted the release-please--branches--master branch September 10, 2024 21:32
@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.

Avm recursive verifier: integrate in DSL acir_format
2 participants