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.3 #7423

Merged
merged 1 commit into from
Jul 11, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Jul 10, 2024

🤖 I have created a release beep boop

aztec-package: 0.46.3

0.46.3 (2024-07-11)

Miscellaneous

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

0.46.3 (2024-07-11)

Miscellaneous

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

0.46.3 (2024-07-11)

Features

Bug Fixes

Miscellaneous

barretenberg: 0.46.3

0.46.3 (2024-07-11)

Features

Bug Fixes

  • avm: Fixes AVM full tests and decrease timeout to 35 minutes (#7438) (2a7494b)
  • Memory init with no other ops gate counting (#7427) (e7177ba)

Miscellaneous


This PR was generated with Release Please. See documentation.

@AztecBot AztecBot force-pushed the release-please--branches--master branch 3 times, most recently from 388cb3c to b496080 Compare July 10, 2024 15:02
@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 10, 2024

Benchmark results

Metrics with a significant change:

  • avm_simulation_time_ms (Token:assert_minter_and_mint): 51.3 (-42%)
  • avm_simulation_time_ms (Token:transfer_public): 51.8 (+65%)
  • avm_simulation_time_ms (Token:_increase_public_balance): 22.0 (-74%)
  • avm_simulation_time_ms (FPC:pay_refund_with_shielded_rebate): 182 (+63%)
  • protocol_circuit_proving_time_in_ms (base-parity): 2,022 (+49%)
  • protocol_circuit_proving_time_in_ms (public-kernel-app-logic): 10,295 (+16%)
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,717 1,535 702 744 (-1%) 769
proof_construction_time_sha256_30_ms 11,690 3,123 (-1%) 1,400 1,425 1,461
proof_construction_time_sha256_100_ms 43,779 11,772 5,404 (-6%) 5,355 (-1%) 5,336 (-1%)
proof_construction_time_poseidon_hash_ms 78.0 34.0 34.0 61.0 (+3%) 89.0 (+1%)
proof_construction_time_poseidon_hash_30_ms 1,515 416 200 224 (+2%) 265 (-1%)
proof_construction_time_poseidon_hash_100_ms 5,615 1,511 675 737 (+2%) 754 (+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,592 6,600
l1_rollup_execution_gas 583,050 583,205 583,364
l2_block_processing_time_in_ms 757 (-1%) 1,417 2,694 (-1%)
l2_block_building_time_in_ms 13,296 (+1%) 26,030 50,883 (+1%)
l2_block_rollup_simulation_time_in_ms 13,296 (+1%) 26,029 50,883 (+1%)
l2_block_public_tx_process_time_in_ms 11,146 (+1%) 23,666 48,496 (+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,071 9,914
node_database_size_in_bytes 12,410,960 16,162,896
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 (+2%) 399 (-3%) 21,732 54,085 N/A N/A N/A N/A
private-kernel-inner 229 720 (-3%) 81,199 54,264 N/A N/A N/A N/A
private-kernel-tail 1,123 (+1%) 2,540 (+1%) 61,808 61,554 N/A N/A N/A N/A
base-parity 6.45 (-1%) 827 160 96.0 ⚠️ 2,022 (+49%) 12,676 3.00 131,072
root-parity 108 123 (+14%) 64,860 96.0 48,243 (+9%) 12,676 3.00 4,194,304
base-rollup 4,228 (-1%) 4,804 (-6%) 180,315 632 48,587 (+9%) 13,476 28.0 4,194,304
root-rollup 153 (-1%) 124 (+12%) 51,261 652 41,730 (+10%) 13,412 26.0 4,194,304
public-kernel-setup 195 2,417 (+2%) 112,536 80,310 22,275 (+12%) 118,916 3,323 2,097,152
public-kernel-app-logic 150 (-1%) 3,323 (+1%) 112,536 80,310 ⚠️ 10,295 (+16%) 118,916 3,323 1,048,576
public-kernel-tail 896 26,704 409,413 10,046 70,851 (+7%) 24,868 384 8,388,608
private-kernel-reset-tiny 1,294 (+1%) 1,008 (-3%) 77,007 53,954 N/A N/A N/A N/A
private-kernel-tail-to-public 6,885 (+3%) 2,897 (+1%) 777,415 1,632 N/A N/A N/A N/A
public-kernel-teardown 139 3,304 (-2%) 112,536 80,310 23,341 (+14%) 118,916 3,323 2,097,152
merge-rollup 59.0 (+3%) N/A 33,566 632 N/A N/A N/A N/A
undefined N/A N/A N/A N/A 165,786 (+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 400 (+2%) N/A N/A
ContractInstanceDeployer:deploy 1,376 9,344 25.1 (-1%) N/A N/A
MultiCallEntrypoint:entrypoint 1,888 9,344 632 (+1%) N/A N/A
GasToken:deploy 1,344 9,344 584 (+3%) N/A N/A
SchnorrAccount:constructor 1,280 9,344 430 (-1%) N/A N/A
SchnorrAccount:entrypoint 2,272 9,344 759 (-1%) N/A N/A
Token:privately_mint_private_note 1,248 9,344 507 (-3%) N/A N/A
FPC:fee_entrypoint_public 1,312 9,344 104 (-4%) N/A N/A
Token:transfer 1,280 9,344 1,463 (-2%) N/A N/A
AuthRegistry:set_authorized (avm) 19,222 N/A N/A 95,392 2,048 (-15%)
FPC:prepare_fee (avm) 26,664 N/A N/A 95,456 2,765 (-11%)
Token:transfer_public (avm) 42,914 N/A N/A 95,456 3,144 (-8%)
AuthRegistry:consume (avm) 33,100 N/A N/A 95,424 2,731 (-9%)
FPC:pay_refund (avm) 36,829 N/A N/A 95,424 10,810 (+4%)
Benchmarking:create_note 1,312 9,344 421 (-1%) N/A N/A
SchnorrAccount:verify_private_authwit 1,248 9,344 41.2 (-1%) N/A N/A
Token:unshield 1,344 9,344 1,176 (-1%) N/A N/A
FPC:fee_entrypoint_private 1,344 9,344 1,556 (+1%) 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 100 (+1%) 13,790
GasToken:set_portal 12.3 (-11%) 3,339
Token:constructor 130 (+7%) 23,692
FPC:constructor 92.5 13,592
GasToken:mint_public 81.1 (-1%) 10,158
Token:mint_public 370 (+9%) 19,034
Token:assert_minter_and_mint ⚠️ 51.3 (-42%) 12,925
AuthRegistry:set_authorized 47.5 (+3%) 7,812
FPC:prepare_fee 138 (+22%) 15,062
Token:transfer_public ⚠️ 51.8 (+65%) 31,218
FPC:pay_refund 131 (+2%) 25,260
Benchmarking:increment_balance 1,345 15,267
Token:_increase_public_balance ⚠️ 22.0 (-74%) 15,006
FPC:pay_refund_with_shielded_rebate ⚠️ 182 (+63%) 26,347

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.157 (+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.3 (-1%) 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.599 (-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.0 (-1%) 75.6 (-1%) 131 (-1%) 244 (-1%) 467 (-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 (-1%) 0.465 (-1%) 0.449 (-1%) 0.443 (-1%) 0.438 (-1%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 59.5 (-1%) 111 (-1%) 182 (-1%) 351 (-1%) 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 (-1%) 0.497 (-1%) 0.483 (-1%) 0.476 0.475
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 72.6 (-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.516 (-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 76,837 667,838

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch from b496080 to e0b348d Compare July 10, 2024 16:06
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: ec8fd8d Previous: 175e377 Ratio
Goblin::merge(t) 218972342 ns/iter 195067188 ns/iter 1.12

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

CC: @ludamad @codygunton

@AztecBot AztecBot force-pushed the release-please--branches--master branch 12 times, most recently from 175e377 to ec8fd8d Compare July 11, 2024 10:31
Copy link
Contributor

github-actions bot commented Jul 11, 2024

Changes to circuit sizes

Generated at commit: 074840801c9e75ca51e9e5d5a2ed1ace7af79d03, compared to commit: 399917b3e6916805bb55596b47183e44700fe8f5

🧾 Summary (100% most significant diffs)

Program ACIR opcodes (+/-) % Circuit size (+/-) %
rollup_base -93 ✅ -0.03% -283 ✅ -0.01%
private_kernel_init -36 ✅ -0.14% -45 ✅ -0.10%
public_kernel_tail -4,898 ✅ -0.50% -4,946 ✅ -0.11%

Full diff report 👇
Program ACIR opcodes (+/-) % Circuit size (+/-) %
rollup_base 339,773 (-93) -0.03% 3,761,058 (-283) -0.01%
private_kernel_init 26,090 (-36) -0.14% 45,262 (-45) -0.10%
public_kernel_tail 965,326 (-4,898) -0.50% 4,663,051 (-4,946) -0.11%

@AztecBot AztecBot force-pushed the release-please--branches--master branch from ec8fd8d to 66f9970 Compare July 11, 2024 11:43
@rahul-kothari rahul-kothari merged commit c92cf58 into master Jul 11, 2024
93 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch July 11, 2024 12:52
@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
2 participants