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.0 #7345

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Jul 4, 2024

🤖 I have created a release beep boop

aztec-package: 0.46.0

0.46.0 (2024-07-09)

Features

barretenberg.js: 0.46.0

0.46.0 (2024-07-09)

Miscellaneous

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

0.46.0 (2024-07-09)

⚠ BREAKING CHANGES

  • constant inputs for blackbox (#7222)

Features

Bug Fixes

Miscellaneous

Documentation

barretenberg: 0.46.0

0.46.0 (2024-07-09)

⚠ BREAKING CHANGES

  • constant inputs for blackbox (#7222)

Features

Miscellaneous


This PR was generated with Release Please. See documentation.

@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 4, 2024

Benchmark results

Metrics with a significant change:

  • avm_simulation_time_ms (Token:mint_public): 339 (+563%)
  • avm_simulation_time_ms (Token:assert_minter_and_mint): 42.0 (-39%)
  • avm_simulation_time_ms (Token:_increase_public_balance): 14.8 (-51%)
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,704 (-1%) 1,537 (-1%) 704 (-1%) 740 (-1%) 772 (+1%)
proof_construction_time_sha256_30_ms 11,692 (-1%) 3,125 (-2%) 1,396 (-1%) 1,425 (-2%) 1,466 (-1%)
proof_construction_time_sha256_100_ms 43,623 (-1%) 11,709 (-1%) 5,410 (-1%) 5,401 5,342
proof_construction_time_poseidon_hash_ms 78.0 34.0 34.0 59.0 88.0
proof_construction_time_poseidon_hash_30_ms 1,515 (-1%) 415 (-1%) 199 223 (-3%) 266
proof_construction_time_poseidon_hash_100_ms 5,606 (-1%) 1,513 (-1%) 675 722 742 (-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,452 9,464 9,476
l1_rollup_execution_gas 613,480 613,643 613,806
l2_block_processing_time_in_ms 752 (-1%) 1,430 (+1%) 2,736
l2_block_building_time_in_ms 12,832 25,561 50,003 (+1%)
l2_block_rollup_simulation_time_in_ms 12,831 25,560 50,003 (+1%)
l2_block_public_tx_process_time_in_ms 10,798 23,335 47,760 (+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 7,101 (+1%) 10,139 (+1%)
node_database_size_in_bytes 12,476,496 16,187,472
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 108 (-1%) 410 (-6%) 14,087 20,002 55,022 74,208 2,252 524,288
private-kernel-inner 222 736 (-1%) 26,770 (-1%) 82,134 55,022 74,208 2,252 1,048,576
private-kernel-tail 1,054 2,547 (+1%) 49,685 (-1%) 62,409 62,089 14,944 400 2,097,152
base-parity 6.38 892 (-5%) 2,431 (-1%) 160 96.0 2,240 3.00 131,072
root-parity 74.6 (+5%) 61.4 (+2%) 33,962 (-1%) 27,868 96.0 2,752 19.0 2,097,152
base-rollup 4,157 5,076 78,864 (+1%) 172,028 632 3,552 44.0 4,194,304
root-rollup 129 (-1%) 75.6 (+1%) 19,462 (-2%) 25,053 652 3,488 42.0 1,048,576
public-kernel-setup 190 (+1%) 2,352 (+1%) 36,547 103,911 80,310 106,944 3,275 2,097,152
public-kernel-app-logic 145 3,330 (+2%) 36,854 (+1%) 103,911 80,310 106,944 3,275 2,097,152
public-kernel-tail 894 23,575 (+3%) 158,506 400,808 10,046 14,944 400 8,388,608
private-kernel-reset-small 291 1,176 (-7%) 26,687 (+1%) 79,273 55,022 74,208 2,252 1,048,576
public-kernel-teardown 135 (+1%) 3,325 36,475 (-1%) 103,911 80,310 106,944 3,275 2,097,152
merge-rollup 40.6 N/A N/A 16,094 632 N/A N/A N/A
private-kernel-tail-to-public N/A 8,745 53,938 N/A N/A 106,944 3,275 2,097,152

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,312 9,344 393 (-1%) N/A N/A N/A N/A
ContractInstanceDeployer:deploy 1,376 9,344 25.0 (-1%) N/A N/A N/A N/A
MultiCallEntrypoint:entrypoint 1,888 9,344 644 (-3%) N/A N/A N/A N/A
GasToken:deploy 1,344 9,344 562 N/A N/A N/A N/A
SchnorrAccount:constructor 1,280 9,344 486 N/A N/A N/A N/A
SchnorrAccount:entrypoint 2,272 9,344 826 (-1%) 15,840 4,734 (-8%) 131,072 428
Token:privately_mint_private_note 1,248 9,344 572 (+1%) N/A N/A N/A N/A
FPC:fee_entrypoint_public 1,312 9,344 107 15,840 1,886 (+3%) 65,536 428
Token:transfer 1,280 9,344 1,679 (+2%) 15,840 10,625 (-1%) 524,288 428
AuthRegistry:set_authorized (avm) 19,222 N/A N/A 91,232 1,849 (+3%) N/A N/A
FPC:prepare_fee (avm) 26,664 N/A N/A 91,296 2,997 (-1%) N/A N/A
Token:transfer_public (avm) 42,914 N/A N/A 91,296 3,695 N/A N/A
AuthRegistry:consume (avm) 33,100 N/A N/A 91,232 2,931 (+2%) N/A N/A
FPC:pay_refund (avm) 36,829 N/A N/A 91,264 17,805 N/A N/A
Benchmarking:create_note 1,312 9,344 468 (-1%) N/A N/A N/A N/A
SchnorrAccount:verify_private_authwit 1,248 9,344 41.7 (+1%) N/A N/A N/A N/A
Token:unshield 1,344 9,344 1,343 N/A N/A N/A N/A
FPC:fee_entrypoint_private 1,344 9,344 1,731 (-2%) 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 79.0 13,790
GasToken:set_portal 13.6 (+11%) 3,339
Token:constructor 103 23,692
FPC:constructor 74.0 13,592
GasToken:mint_public 61.8 (-2%) 10,158
Token:mint_public ⚠️ 339 (+563%) 19,034
Token:assert_minter_and_mint ⚠️ 42.0 (-39%) 12,925
AuthRegistry:set_authorized 35.2 (+6%) 7,812
FPC:prepare_fee 104 (+2%) 15,062
Token:transfer_public 34.2 (-17%) 31,218
FPC:pay_refund 126 (-2%) 25,260
Benchmarking:increment_balance 1,320 15,267
Token:_increase_public_balance ⚠️ 14.8 (-51%) 15,006
FPC:pay_refund_with_shielded_rebate 161 (+4%) 26,347

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.151 (-2%)

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.4 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.604 0.516 (-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 77.1 (+2%) 131 248 (+1%) 472
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 0.474 (+2%) 0.449 0.448 (+1%) 0.441
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 59.9 112 (+1%) 182 (-1%) 356 (+1%) 698
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.506 0.501 0.483 0.481 (+1%) 0.478
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 73.2 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.521 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 74,082 667,868

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 16 times, most recently from c43ba54 to cf12c4b Compare July 8, 2024 14:56
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: aed5591 Previous: 819f370 Ratio
nativeconstruct_proof_ultrahonk_power_of_2/20 5047.838197000005 ms/iter 4744.227811000002 ms/iter 1.06

This comment was automatically generated by workflow using github-action-benchmark.

CC: @ludamad @codygunton

@AztecBot AztecBot force-pushed the release-please--branches--master branch from cf12c4b to aed5591 Compare July 8, 2024 15:45
@AztecBot AztecBot changed the title chore(master): Release 0.45.2 chore(master): Release 0.46.0 Jul 8, 2024
@AztecBot AztecBot force-pushed the release-please--branches--master branch 2 times, most recently from 601570c to a70b52c Compare July 9, 2024 10:56
@rahul-kothari rahul-kothari enabled auto-merge (squash) July 9, 2024 10:58
@AztecBot AztecBot force-pushed the release-please--branches--master branch from a70b52c to 06ecd53 Compare July 9, 2024 11:32
@AztecBot AztecBot force-pushed the release-please--branches--master branch 2 times, most recently from 946c046 to e104d82 Compare July 9, 2024 12:39
@rahul-kothari rahul-kothari enabled auto-merge (squash) July 9, 2024 13:10
@AztecBot AztecBot force-pushed the release-please--branches--master branch 5 times, most recently from 7069c2e to ff82c6d Compare July 9, 2024 15:40
@AztecBot AztecBot force-pushed the release-please--branches--master branch from ff82c6d to a0ed616 Compare July 9, 2024 16:32
@rahul-kothari rahul-kothari merged commit 046af9b into master Jul 9, 2024
93 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch July 9, 2024 17:04
@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 9, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 9, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 9, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 9, 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.

leak(PartialNotes): use different randomness for sponsored user and fee recipient in PrivateToken
2 participants