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.47.0 #7501

Merged
merged 1 commit into from
Jul 24, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Jul 16, 2024

🤖 I have created a release beep boop

aztec-package: 0.47.0

0.47.0 (2024-07-24)

Features

barretenberg.js: 0.47.0

0.47.0 (2024-07-24)

Miscellaneous

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

0.47.0 (2024-07-24)

⚠ BREAKING CHANGES

Features

Bug Fixes

Miscellaneous

barretenberg: 0.47.0

0.47.0 (2024-07-24)

Features

Bug Fixes

  • avm: One too many range check rows (#7499) (deb6918)
  • Do not load the BN254 CRS for verifying client ivc proofs (#7556) (e515b71)

Miscellaneous


This PR was generated with Release Please. See documentation.

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: 7838b00 Previous: c3be434 Ratio
nativeconstruct_proof_ultrahonk_power_of_2/20 5184.642231999987 ms/iter 4755.838161 ms/iter 1.09

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

CC: @ludamad @codygunton

@AztecBot AztecBot force-pushed the release-please--branches--master branch 25 times, most recently from 3b9104f to e890fa5 Compare July 22, 2024 20:06
@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 22, 2024

Benchmark results

Metrics with a significant change:

  • protocol_circuit_simulation_time_in_ms (private-kernel-tail-to-public): 4,969 (+17%)
  • avm_simulation_time_ms (Token:assert_minter_and_mint): 92.3 (+62%)
  • avm_simulation_time_ms (Token:transfer_public): 88.6 (+74%)
  • avm_simulation_time_ms (Token:_increase_public_balance): 92.4 (+398%)
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,759 (+1%) 1,554 711 754 (-1%) 782 (+1%)
proof_construction_time_sha256_30_ms 11,854 3,190 1,418 (-1%) 1,455 (+1%) 1,479
proof_construction_time_sha256_100_ms 44,165 11,852 (-2%) 5,498 (-2%) 5,443 (-4%) 5,403 (-1%)
proof_construction_time_poseidon_hash_ms 78.0 34.0 34.0 59.0 88.0 (-1%)
proof_construction_time_poseidon_hash_30_ms 1,528 (+1%) 417 202 226 (-2%) 267
proof_construction_time_poseidon_hash_100_ms 5,657 1,524 683 (-1%) 719 (-2%) 755 (+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,600 (+1%) 6,596 6,576
l1_rollup_execution_gas 583,062 583,209 583,340
l2_block_processing_time_in_ms 758 1,429 2,768 (-1%)
l2_block_building_time_in_ms 10,284 20,087 39,683
l2_block_rollup_simulation_time_in_ms 10,284 20,087 39,682
l2_block_public_tx_process_time_in_ms 8,570 (-1%) 18,183 37,653

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,162 (+1%) 9,880 (-1%)
node_database_size_in_bytes 12,718,160 16,904,272
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 94.9 (-6%) 389 (+4%) 21,744 54,085 N/A N/A N/A N/A
private-kernel-inner 172 (+1%) 663 (+2%) 81,209 54,264 N/A N/A N/A N/A
private-kernel-tail 371 (+1%) 839 (+4%) 61,565 62,127 N/A N/A N/A N/A
base-parity 6.49 665 160 96.0 2,017 12,676 3.00 131,072
root-parity 107 (+1%) 120 (+1%) 64,860 96.0 32,530 (+5%) 12,676 3.00 4,194,304
base-rollup 3,263 4,964 (+4%) 181,083 632 44,320 (+1%) 13,476 28.0 4,194,304
root-rollup 152 (+1%) 117 (+1%) 51,261 652 28,689 (+4%) 13,412 26.0 4,194,304
public-kernel-setup 101 2,424 (+2%) 113,048 80,822 17,835 (-1%) 119,428 3,339 2,097,152
public-kernel-app-logic 106 (+1%) 3,338 (+1%) 113,048 80,822 10,320 (+2%) 119,428 3,339 1,048,576
public-kernel-tail 625 27,515 (+3%) 410,181 10,814 68,786 (+3%) 25,860 415 8,388,608
private-kernel-reset-tiny 227 898 (+3%) 77,005 53,954 N/A N/A N/A N/A
private-kernel-tail-to-public ⚠️ 4,969 (+17%) 1,362 (+7%) 773,216 1,632 N/A N/A N/A N/A
public-kernel-teardown 90.5 (+1%) 3,387 (+4%) 113,048 80,822 18,843 (+3%) 119,428 3,339 2,097,152
merge-rollup 59.7 (+3%) N/A 33,566 632 N/A N/A N/A N/A
undefined N/A N/A N/A N/A 156,108 (-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 352 (-1%) N/A N/A
ContractInstanceDeployer:deploy 1,376 9,344 24.7 N/A N/A
MultiCallEntrypoint:entrypoint 1,888 9,344 560 N/A N/A
GasToken:deploy 1,344 9,344 482 (+2%) N/A N/A
SchnorrAccount:constructor 1,280 9,344 430 (+1%) N/A N/A
SchnorrAccount:entrypoint 2,272 9,344 726 N/A N/A
Token:privately_mint_private_note 1,248 9,344 510 (+2%) N/A N/A
FPC:fee_entrypoint_public 1,312 9,344 98.9 (+1%) N/A N/A
Token:transfer 1,280 9,344 1,308 (+1%) N/A N/A
AuthRegistry:set_authorized (avm) 19,222 N/A N/A 95,392 2,152 (-2%)
FPC:prepare_fee (avm) 22,670 N/A N/A 95,456 2,236 (+1%)
Token:transfer_public (avm) 55,708 N/A N/A 95,456 6,659 (+1%)
AuthRegistry:consume (avm) 33,100 N/A N/A 95,424 2,668 (+2%)
FPC:pay_refund (avm) 27,530 N/A N/A 95,424 3,579 (+1%)
Benchmarking:create_note 1,312 9,344 414 (-3%) N/A N/A
SchnorrAccount:verify_private_authwit 1,248 9,344 41.3 (-1%) N/A N/A
Token:unshield 1,344 9,344 1,149 (-1%) N/A N/A
FPC:fee_entrypoint_private 1,344 9,344 1,508 (-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 101 (+2%) 13,790
GasToken:set_portal 11.3 3,339
Token:constructor 122 (-1%) 23,692
FPC:constructor 93.2 (+3%) 13,592
GasToken:mint_public 83.4 (+3%) 10,158
Token:mint_public 55.7 (-8%) 19,034
Token:assert_minter_and_mint ⚠️ 92.3 (+62%) 12,925
AuthRegistry:set_authorized 49.5 7,812
FPC:prepare_fee 252 (-5%) 11,068
Token:transfer_public ⚠️ 88.6 (+74%) 44,012
FPC:pay_refund 74.1 (+1%) 15,961
Benchmarking:increment_balance 997 (+1%) 11,281
Token:_increase_public_balance ⚠️ 92.4 (+398%) 15,006
FPC:pay_refund_with_shielded_rebate 135 (+2%) 17,056

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.160 (+3%)

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.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.601 0.514 N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_32_depth_ms N/A N/A 48.3 76.1 (-1%) 131 245 (-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.493 0.467 (-1%) 0.450 0.444 (-1%) 0.437 (-2%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 59.9 111 (-3%) 182 (-1%) 353 (-1%) 692 (-4%)
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.499 (-2%) 0.479 (-2%) 0.478 (-1%) 0.476 (-3%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 73.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.519 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 77,362 668,542

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch from e890fa5 to 756f9fd Compare July 23, 2024 07:51
@AztecBot AztecBot force-pushed the release-please--branches--master branch 9 times, most recently from 7838b00 to a62e079 Compare July 23, 2024 18:58
@AztecBot AztecBot changed the title chore(master): Release 0.46.8 chore(master): Release 0.47.0 Jul 23, 2024
@AztecBot AztecBot force-pushed the release-please--branches--master branch 6 times, most recently from f9d1559 to 5476992 Compare July 24, 2024 15:13
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 5476992 to 75f9602 Compare July 24, 2024 15:27
@rahul-kothari rahul-kothari enabled auto-merge (squash) July 24, 2024 15:44
@rahul-kothari rahul-kothari merged commit 840486e into master Jul 24, 2024
93 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch July 24, 2024 15:54
@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.

[devnet] Call the faucet via the CLI [Epic]: ✂️ Sequencer-prover separation
2 participants