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.42.0 #6572

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented May 21, 2024

This release is too large to preview in the pull request body. View the full release notes here: https://github.com/AztecProtocol/aztec-packages/blob/release-please--branches--master--release-notes/release-notes.md

@AztecBot AztecBot force-pushed the release-please--branches--master branch 3 times, most recently from 988d41c to 18af200 Compare May 21, 2024 20:50
@AztecBot
Copy link
Collaborator Author

AztecBot commented May 21, 2024

Benchmark results

Metrics with a significant change:

  • protocol_circuit_witness_generation_time_in_ms (base-parity): 851 (-52%)
  • protocol_circuit_proving_time_in_ms (base-rollup): 82,265 (+26%)
  • protocol_circuit_proving_time_in_ms (root-parity): 40,649 (+19%)
  • protocol_circuit_proving_time_in_ms (public-kernel-setup): 44,589 (+19%)
  • protocol_circuit_proving_time_in_ms (public-kernel-app-logic): 47,434 (+23%)
  • protocol_circuit_proving_time_in_ms (public-kernel-teardown): 46,370 (+19%)
  • protocol_circuit_proving_time_in_ms (root-rollup): 24,025 (+23%)
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,733 1,546 708 764 (+1%) 772
proof_construction_time_sha256_30_ms 11,729 3,151 1,412 1,446 (+1%) 1,468
proof_construction_time_sha256_100_ms 44,977 11,814 5,472 5,422 5,370 (+1%)
proof_construction_time_poseidon_hash_ms 78.0 34.0 34.0 58.0 (+2%) 88.0 (+1%)
proof_construction_time_poseidon_hash_30_ms 1,521 418 205 (+1%) 220 (-5%) 271
proof_construction_time_poseidon_hash_100_ms 5,751 1,566 724 752 (-3%) 793

L2 block published to L1

Each column represents the number of txs on an L2 block published to L1.

Metric 4 txs 8 txs
l1_rollup_calldata_size_in_bytes 1,412 1,412
l1_rollup_calldata_gas 9,476 9,458
l1_rollup_execution_gas 608,012 607,994
l2_block_processing_time_in_ms 695 1,301
l2_block_building_time_in_ms 22,264 45,817
l2_block_rollup_simulation_time_in_ms 22,144 45,466
l2_block_public_tx_process_time_in_ms 19,011 (-1%) 42,057

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 5,959 8,635 (+1%)
node_database_size_in_bytes 9,482,320 12,755,024
pxe_database_size_in_bytes 7,774 15,127

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 proving_time_in_ms input_size_in_bytes output_size_in_bytes proof_size_in_bytes num_public_inputs size_in_gates
private-kernel-init 135 (-1%) 476 (-5%) 13,061 (+9%) 20,634 64,614 89,536 2,731 524,288
private-kernel-inner 407 964 (-4%) 49,628 (+9%) 92,326 64,614 89,536 2,731 2,097,152
private-kernel-tail 578 (-1%) 2,771 (-2%) 50,682 (+7%) 96,545 68,261 11,648 297 2,097,152
base-parity 6.46 (-2%) ⚠️ 851 (-52%) 2,741 (+6%) 128 64.0 2,208 2.00 131,072
root-parity 48.9 (-8%) 60.2 (+21%) ⚠️ 40,649 (+19%) 27,100 64.0 2,720 18.0 2,097,152
base-rollup 5,993 2,381 (+3%) ⚠️ 82,265 (+26%) 119,738 756 3,648 47.0 4,194,304
root-rollup 109 (-3%) 74.8 (+22%) ⚠️ 24,025 (+23%) 25,309 620 3,456 41.0 1,048,576
public-kernel-app-logic 568 3,623 (+3%) ⚠️ 47,434 (+23%) 108,073 86,550 116,768 3,582 2,097,152
public-kernel-tail 1,133 (-1%) 25,178 (+5%) 177,452 (+15%) 403,238 7,646 11,648 297 8,388,608
private-kernel-reset-small 586 1,977 (-7%) 45,528 (+12%) 120,737 64,614 89,536 2,731 2,097,152
public-kernel-setup 662 (-1%) 2,771 (+4%) ⚠️ 44,589 (+19%) 108,073 86,550 116,768 3,582 2,097,152
public-kernel-teardown 579 (+1%) 3,557 (+1%) ⚠️ 46,370 (+19%) 108,073 86,550 116,768 3,582 2,097,152
merge-rollup 34.7 (+15%) N/A N/A 16,542 756 N/A N/A N/A
private-kernel-tail-to-public N/A 8,736 98,767 (+14%) N/A N/A 116,768 3,582 4,194,304

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 size_in_gates num_public_inputs
ContractClassRegisterer:register 1,344 9,944 464 (-1%) N/A N/A N/A N/A
ContractInstanceDeployer:deploy 1,408 9,944 41.9 N/A N/A N/A N/A
MultiCallEntrypoint:entrypoint 1,920 9,944 1,757 (-2%) N/A N/A N/A N/A
SchnorrAccount:constructor 1,312 9,944 1,422 (-2%) N/A N/A N/A N/A
SchnorrAccount:entrypoint 2,304 9,944 2,806 (-1%) 16,768 53,897 (+7%) 2,097,152 457
Token:privately_mint_private_note 1,280 9,944 1,661 (+1%) N/A N/A N/A N/A
FPC:fee_entrypoint_public 1,344 9,944 1,037 (-8%) 16,768 10,793 (+7%) 524,288 457
Token:transfer 1,376 9,944 5,282 (-3%) 16,768 51,596 (+7%) 2,097,152 457
Benchmarking:create_note 1,344 9,944 1,389 N/A N/A N/A N/A
SchnorrAccount:spend_private_authwit 1,280 9,944 77.1 N/A N/A N/A N/A
Token:unshield 1,376 9,944 3,901 (-1%) N/A N/A N/A N/A
FPC:fee_entrypoint_private 1,376 9,944 4,786 (-1%) N/A N/A N/A N/A

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 32 leaves
batch_insert_into_append_only_tree_16_depth_ms 10.4 16.9 N/A N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_count 16.7 31.7 N/A N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_ms 0.604 (-1%) 0.519 (-1%) N/A N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_32_depth_ms N/A N/A 48.8 76.2 133 248 (+1%) 472 N/A
batch_insert_into_append_only_tree_32_depth_hash_count N/A N/A 95.9 159 288 543 1,055 N/A
batch_insert_into_append_only_tree_32_depth_hash_ms N/A N/A 0.498 0.470 0.455 0.449 (+1%) 0.441 N/A
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 58.2 (-1%) 113 (+1%) 184 353 (+1%) 627 N/A
batch_insert_into_indexed_tree_20_depth_hash_count N/A N/A 107 208 355 686 1,263 N/A
batch_insert_into_indexed_tree_20_depth_hash_ms N/A N/A 0.502 (-1%) 0.508 (+1%) 0.486 0.482 (+1%) 0.470 N/A
batch_insert_into_indexed_tree_40_depth_ms N/A N/A N/A N/A N/A N/A N/A 58.8
batch_insert_into_indexed_tree_40_depth_hash_count N/A N/A N/A N/A N/A N/A N/A 101
batch_insert_into_indexed_tree_40_depth_hash_ms N/A N/A N/A N/A N/A N/A N/A 0.549

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 79,470 665,267

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch from 18af200 to fdeb67d Compare May 21, 2024 23:30
@AztecBot AztecBot changed the title chore(master): Release 0.41.1 chore(master): Release 0.42.0 May 21, 2024
@AztecBot AztecBot force-pushed the release-please--branches--master branch 4 times, most recently from 9a13dfd to ec19efe Compare May 22, 2024 08:28
@rahul-kothari rahul-kothari self-requested a review May 22, 2024 09:26
@AztecBot AztecBot force-pushed the release-please--branches--master branch 17 times, most recently from ab0a4e5 to 6619681 Compare May 22, 2024 19:07
@AztecBot AztecBot force-pushed the release-please--branches--master branch 20 times, most recently from a63b5c2 to 252f301 Compare June 4, 2024 13:02
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 252f301 to dc39542 Compare June 4, 2024 13:51
@rahul-kothari rahul-kothari merged commit 4a5329c into master Jun 4, 2024
90 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch June 4, 2024 15:00
@AztecBot
Copy link
Collaborator Author

AztecBot commented Jun 4, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Jun 4, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Jun 4, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Jun 4, 2024

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.

None yet

2 participants