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.43.0 #6872

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Jun 4, 2024

πŸ€– I have created a release beep boop

aztec-package: 0.43.0

0.43.0 (2024-06-18)

Features

Miscellaneous

barretenberg.js: 0.43.0

0.43.0 (2024-06-18)

Miscellaneous

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

0.43.0 (2024-06-18)

⚠ BREAKING CHANGES

Features

Bug Fixes

Miscellaneous

Documentation

barretenberg: 0.43.0

0.43.0 (2024-06-18)

Features

Bug Fixes

Miscellaneous

Documentation

  • avm: Comments in pil file related to range checks of addresses (#6837) (66f1c87)

This PR was generated with Release Please. See documentation.

@AztecBot AztecBot force-pushed the release-please--branches--master branch 5 times, most recently from 5ca532b to 8092e4e Compare June 4, 2024 16:27
@AztecBot
Copy link
Collaborator Author

AztecBot commented Jun 4, 2024

Benchmark results

Metrics with a significant change:

  • avm_simulation_time_ms (Token:transfer_public): 35.0 (-43%)
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_30_ms 11,595 (+1%) 3,177 (+3%) 1,445 (+4%) 1,468 (-14%) 1,506 (+3%)
proof_construction_time_sha256_100_ms 46,219 (+2%) 12,860 (+5%) 6,425 (+14%) 6,159 (+11%) 5,994 (+9%)
proof_construction_time_poseidon_hash_ms 79.0 34.0 34.0 58.0 (+2%) 87.0
proof_construction_time_poseidon_hash_30_ms 1,522 (-1%) 419 (-1%) 202 230 (+1%) 269 (+1%)
proof_construction_time_poseidon_hash_100_ms 5,790 1,594 758 (+4%) 807 (+1%) 820 (+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 1,412 1,412 1,412
l1_rollup_calldata_gas 9,476 9,460 9,464
l1_rollup_execution_gas 610,297 610,281 610,285
l2_block_processing_time_in_ms 762 (+3%) 1,402 2,709 (+1%)
l2_block_building_time_in_ms 25,335 52,070 (+2%) 99,581 (-1%)
l2_block_rollup_simulation_time_in_ms 25,238 51,770 (+2%) 99,218 (-1%)
l2_block_public_tx_process_time_in_ms 21,687 48,001 (+3%) 95,513 (-1%)

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 6,930 (-1%) 9,778
node_database_size_in_bytes 12,148,816 16,097,360
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 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 133 (+3%) 478 (+4%) 12,810 20,634 67,190 92,352 2,819 524,288
private-kernel-inner 400 (+2%) 957 (+2%) 49,932 (+1%) 94,902 67,190 92,352 2,819 2,097,152
private-kernel-tail 372 1,861 (+5%) 50,390 (-6%) 99,121 71,733 14,912 399 2,097,152
base-parity 6.43 (-2%) 1,847 (+1%) 2,837 (+5%) 128 64.0 2,208 2.00 131,072
root-parity 49.3 (+1%) 67.8 (+9%) 42,212 27,100 64.0 2,720 18.0 2,097,152
base-rollup 7,942 (+1%) 4,402 (+4%) 85,098 (+4%) 170,330 756 3,648 47.0 4,194,304
root-rollup 111 (+1%) 81.0 (+7%) 22,464 (-1%) 25,309 620 3,456 41.0 1,048,576
public-kernel-setup 722 (+1%) 3,294 (+3%) 45,511 (+4%) 116,905 93,334 125,344 3,850 2,097,152
public-kernel-app-logic 623 (+2%) 4,231 (+6%) 46,144 116,905 93,334 125,344 3,850 2,097,152
public-kernel-tail 1,422 (+1%) 32,550 (-11%) 183,165 (-4%) 511,910 10,014 14,912 399 8,388,608
private-kernel-reset-small 596 (+1%) 2,174 (+14%) 45,660 (+2%) 123,313 67,190 92,352 2,819 2,097,152
public-kernel-teardown 620 (+1%) 4,191 (+3%) 47,367 116,905 93,334 125,344 3,850 2,097,152
merge-rollup 28.7 (+1%) N/A N/A 16,542 756 N/A N/A N/A
private-kernel-tail-to-public N/A 6,839 (-2%) 99,973 N/A N/A 125,344 3,850 4,194,304
avm-circuit N/A N/A 4,070 (+6%) N/A N/A 87,734 0.00 0.00

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 443 (+8%) N/A N/A N/A N/A
ContractInstanceDeployer:deploy 1,408 9,944 44.3 (+11%) N/A N/A N/A N/A
MultiCallEntrypoint:entrypoint 1,920 9,944 1,936 (+9%) N/A N/A N/A N/A
GasToken:deploy 1,376 9,944 962 N/A N/A N/A N/A
SchnorrAccount:constructor 1,312 9,944 1,443 (+1%) N/A N/A N/A N/A
SchnorrAccount:entrypoint 2,304 9,944 2,969 (+4%) 16,768 54,728 (+1%) 2,097,152 457
Token:privately_mint_private_note 1,280 9,944 1,677 (+1%) N/A N/A N/A N/A
FPC:fee_entrypoint_public 1,344 9,944 356 (+2%) 16,768 11,441 (+5%) 524,288 457
Token:transfer 1,312 9,944 4,966 (+2%) 16,768 52,207 (+5%) 2,097,152 457
Benchmarking:create_note 1,344 9,944 1,472 (+6%) N/A N/A N/A N/A
SchnorrAccount:spend_private_authwit 1,280 9,944 79.7 (+4%) N/A N/A N/A N/A
Token:unshield 1,376 9,944 4,338 (+5%) N/A N/A N/A N/A
FPC:fee_entrypoint_private 1,376 9,944 5,312 (+4%) N/A N/A 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 70.4 13,873
GasToken:set_portal 16.8 (-12%) 3,495
Token:constructor 95.0 (-6%) 24,207
FPC:constructor 62.1 (-1%) 13,893
GasToken:mint_public 55.2 10,241
Token:mint_public 613 (+3%) 19,216
Token:assert_minter_and_mint 62.9 (-16%) 13,034
AuthRegistry:set_authorized 33.2 (-3%) 7,869
FPC:prepare_fee 84.6 (-11%) 15,187
Token:transfer_public ⚠️ 35.0 (-43%) 31,425
FPC:pay_refund 67.3 (-5%) 20,080
Benchmarking:increment_balance 2,684 15,465
Token:_increase_public_balance 59.3 (-16%) 15,089
FPC:pay_refund_with_shielded_rebate 52.4 (-17%) 21,167

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.184 (-5%)

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 (+1%) 16.8 (+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.596 (+1%) 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.4 (+1%) 75.8 (+1%) 132 (+2%) 244 472 (+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.495 (+1%) 0.466 0.454 (+1%) 0.442 0.441 (+1%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 59.4 112 (+1%) 184 (+2%) 350 696 (+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.503 0.501 (+1%) 0.487 (+2%) 0.475 0.478 (+1%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 72.7 (+1%) 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.518 (+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 85,672 670,983

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 9 times, most recently from b6fd5e5 to 34d04c5 Compare June 5, 2024 10:43
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: 9830d3a Previous: a36612d Ratio
wasmClientIVCBench/Full/6 50828.310097 ms/iter 48254.97588 ms/iter 1.05

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 144cf80 to cd79056 Compare June 5, 2024 15:17
@AztecBot AztecBot force-pushed the release-please--branches--master branch 16 times, most recently from 9830d3a to 5fe9569 Compare June 17, 2024 17:34
@AztecBot AztecBot force-pushed the release-please--branches--master branch 2 times, most recently from 8ce88dc to 691a67a Compare June 18, 2024 09:25
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 691a67a to e3e34d7 Compare June 18, 2024 10:06
@rahul-kothari rahul-kothari enabled auto-merge (squash) June 18, 2024 10:14
@rahul-kothari rahul-kothari merged commit 6b3d04a into master Jun 18, 2024
91 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch June 18, 2024 11:46
@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