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.46.4 #7441

Merged
merged 1 commit into from
Jul 11, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Jul 11, 2024

🤖 I have created a release beep boop

aztec-package: 0.46.4

0.46.4 (2024-07-11)

Miscellaneous

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

0.46.4 (2024-07-11)

Miscellaneous

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

0.46.4 (2024-07-11)

Features

  • Configure world-state to follow the proven chain only (#7430) (2e41ac7)

Bug Fixes

Miscellaneous

barretenberg: 0.46.4

0.46.4 (2024-07-11)

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 2b1b87f to 75b2f73 Compare July 11, 2024 14:28
@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 11, 2024

Benchmark results

Metrics with a significant change:

  • proof_construction_time_sha256_100_ms (16): 5,475 (-16%)
  • avm_simulation_time_ms (Token:assert_minter_and_mint): 50.9 (-40%)
  • avm_simulation_time_ms (FPC:pay_refund_with_shielded_rebate): 178 (+60%)
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,711 1,540 705 744 (-4%) 769
proof_construction_time_sha256_30_ms 11,726 3,133 (-1%) 1,402 1,423 (-3%) 1,469
proof_construction_time_sha256_100_ms 43,827 (-1%) 11,728 (-1%) ⚠️ 5,475 (-16%) 5,449 (-1%) 5,386
proof_construction_time_poseidon_hash_ms 78.0 34.0 34.0 59.0 (+2%) 89.0 (+2%)
proof_construction_time_poseidon_hash_30_ms 1,514 415 201 (+1%) 223 265 (-1%)
proof_construction_time_poseidon_hash_100_ms 5,604 1,509 692 (+3%) 726 (-2%) 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 708 708 708
l1_rollup_calldata_gas 6,588 6,584 6,600
l1_rollup_execution_gas 583,050 583,197 583,364
l2_block_processing_time_in_ms 771 (-1%) 1,414 2,706 (-1%)
l2_block_building_time_in_ms 13,206 26,209 (+1%) 50,994
l2_block_rollup_simulation_time_in_ms 13,206 26,209 (+1%) 50,994
l2_block_public_tx_process_time_in_ms 11,102 (+1%) 23,843 (+1%) 48,535

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 7,111 (+1%) 9,839
node_database_size_in_bytes 12,443,728 16,408,656
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 proof_size_in_bytes num_public_inputs size_in_gates
private-kernel-init 116 406 (+3%) 21,732 54,085 N/A N/A N/A N/A
private-kernel-inner 230 (+1%) 724 (+2%) 81,199 54,264 N/A N/A N/A N/A
private-kernel-tail 1,123 (+1%) 2,491 (+2%) 61,808 61,554 N/A N/A N/A N/A
base-parity 6.58 (+2%) 816 (+5%) 160 96.0 1,433 (+3%) 12,676 3.00 131,072
root-parity 109 (+1%) 128 (+10%) 64,860 96.0 48,510 (-4%) 12,676 3.00 4,194,304
base-rollup 4,266 (+1%) 4,894 180,315 632 48,499 (+1%) 13,476 28.0 4,194,304
root-rollup 152 121 (+1%) 51,261 652 42,050 (-2%) 13,412 26.0 4,194,304
public-kernel-setup 200 (+4%) 2,452 (+2%) 112,536 80,310 22,744 (+2%) 118,916 3,323 2,097,152
public-kernel-app-logic 152 (+1%) 3,335 (+2%) 112,536 80,310 10,241 (+1%) 118,916 3,323 1,048,576
public-kernel-tail 903 (+1%) 27,740 (+6%) 409,413 10,046 71,639 (-1%) 24,868 384 8,388,608
private-kernel-reset-tiny 300 (+1%) 1,017 (+4%) 77,007 53,954 N/A N/A N/A N/A
private-kernel-tail-to-public 6,878 (+3%) 2,866 (+3%) 777,415 1,632 N/A N/A N/A N/A
public-kernel-teardown 140 (-2%) 3,353 (+2%) 112,536 80,310 23,546 (+3%) 118,916 3,323 2,097,152
merge-rollup 57.6 N/A 33,566 632 N/A N/A N/A N/A
undefined N/A N/A N/A N/A 163,845 (-2%) N/A N/A N/A

Stats on running time collected for app circuits

Function input_size_in_bytes output_size_in_bytes witness_generation_time_in_ms proof_size_in_bytes proving_time_in_ms
ContractClassRegisterer:register 1,312 9,344 404 (+3%) N/A N/A
ContractInstanceDeployer:deploy 1,376 9,344 25.1 (+1%) N/A N/A
MultiCallEntrypoint:entrypoint 1,888 9,344 634 (+2%) N/A N/A
GasToken:deploy 1,344 9,344 584 (+5%) N/A N/A
SchnorrAccount:constructor 1,280 9,344 430 (+1%) N/A N/A
SchnorrAccount:entrypoint 2,272 9,344 764 N/A N/A
Token:privately_mint_private_note 1,248 9,344 500 (+2%) N/A N/A
FPC:fee_entrypoint_public 1,312 9,344 100 N/A N/A
Token:transfer 1,280 9,344 1,464 N/A N/A
AuthRegistry:set_authorized (avm) 19,222 N/A N/A 95,392 2,130 (+3%)
FPC:prepare_fee (avm) 26,664 N/A N/A 95,456 2,875 (+3%)
Token:transfer_public (avm) 42,914 N/A N/A 95,456 3,267 (+3%)
AuthRegistry:consume (avm) 33,100 N/A N/A 95,424 2,836 (+3%)
FPC:pay_refund (avm) 36,829 N/A N/A 95,424 11,264 (+2%)
Benchmarking:create_note 1,312 9,344 424 N/A N/A
SchnorrAccount:verify_private_authwit 1,248 9,344 41.5 (-9%) N/A N/A
Token:unshield 1,344 9,344 1,179 (-1%) N/A N/A
FPC:fee_entrypoint_private 1,344 9,344 1,547 N/A N/A

AVM Simulation

Time to simulate various public functions in the AVM.

Function time_ms bytecode_size_in_bytes
GasToken:_increase_public_balance 103 (+4%) 13,790
GasToken:set_portal 10.9 (+5%) 3,339
Token:constructor 134 (+2%) 23,692
FPC:constructor 93.3 (-1%) 13,592
GasToken:mint_public 84.1 (+5%) 10,158
Token:mint_public 390 (+10%) 19,034
Token:assert_minter_and_mint ⚠️ 50.9 (-40%) 12,925
AuthRegistry:set_authorized 47.9 (-2%) 7,812
FPC:prepare_fee 108 (-20%) 15,062
Token:transfer_public 41.9 (-11%) 31,218
FPC:pay_refund 126 (-13%) 25,260
Benchmarking:increment_balance 1,350 (+1%) 15,267
Token:_increase_public_balance 83.5 (-1%) 15,006
FPC:pay_refund_with_shielded_rebate ⚠️ 178 (+60%) 26,347

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.159 (+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 10.3 16.7 (+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.598 0.514 (+1%) N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_32_depth_ms N/A N/A 48.0 76.1 136 (+4%) 244 468 (-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.491 0.468 0.466 (+4%) 0.443 0.438 (-1%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 59.5 111 (-1%) 182 (-1%) 352 690 (-1%)
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.502 0.499 0.482 (+1%) 0.477 0.473 (-1%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 72.7 N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_count N/A N/A 133 N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_ms N/A N/A 0.517 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 76,837 667,838

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 2 times, most recently from ac04475 to bf440a3 Compare July 11, 2024 15:28
@rahul-kothari rahul-kothari enabled auto-merge (squash) July 11, 2024 15:29
@AztecBot AztecBot force-pushed the release-please--branches--master branch from bf440a3 to 39cb8ed Compare July 11, 2024 16:17
@rahul-kothari rahul-kothari merged commit 598c91c into master Jul 11, 2024
91 of 96 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch July 11, 2024 17:03
@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