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.1 #7605

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Jul 25, 2024

🤖 I have created a release beep boop

aztec-package: 0.47.1

0.47.1 (2024-07-30)

Features

Bug Fixes

Miscellaneous

barretenberg.js: 0.47.1

0.47.1 (2024-07-30)

Miscellaneous

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

0.47.1 (2024-07-30)

Features

Bug Fixes

Miscellaneous

  • Add tx bot to terraform (#7609) (6caa914)
  • bb readme: Add installation instructions and TODOs (#7601) (1a97698)
  • bb readme: Update versioning instructions and add Honk Solidity verifier commands (#7608) (9dd9195)
  • Bench client ivc proof verification (#7553) (b060309)
  • Call requests (#7483) (ffedf39)
  • Constant inputs for most blackboxes (#7613) (3247058)
  • docs: Fix links (#7602) (f2029be)
  • Merge Devnet back to Master (#7611) (112961c)
  • p2p: Tx serialization cleanup (#7620) (022a899)
  • Replace relative paths to noir-protocol-circuits (ebaafc7)
  • Replace relative paths to noir-protocol-circuits (d3b818d)
  • Replace relative paths to noir-protocol-circuits (4a26a19)
barretenberg: 0.47.1

0.47.1 (2024-07-30)

Features

  • Add recursive aggregation object to proving/verification keys (#6770) (f48b069)
  • Adding aggregation to honk and rollup (#7466) (2633aa9)
  • avm: Pedersen commit in avm (#7634) (45e7867)
  • avm: Pedersen commitment sim (#7632) (cc420a0)
  • sol-honk: Integrate solidity honk verifier with bb and acir tests (#7573) (344ca6f)
  • sol-honk: Test verifying recursive proof (#7576) (26408c1)

Bug Fixes

Miscellaneous

  • bb readme: Add installation instructions and TODOs (#7601) (1a97698)
  • bb readme: Update versioning instructions and add Honk Solidity verifier commands (#7608) (9dd9195)
  • Call requests (#7483) (ffedf39)
  • Constant inputs for most blackboxes (#7613) (3247058)
  • Merge Devnet back to Master (#7611) (112961c)

This PR was generated with Release Please. See documentation.

@AztecBot AztecBot force-pushed the release-please--branches--master branch from 4b40d49 to 5f85773 Compare July 25, 2024 11:51
@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 25, 2024

Benchmark results

Metrics with a significant change:

  • proof_construction_time_sha256_100_ms (16): 7,038 (+24%)
  • proof_construction_time_sha256_30_ms (16): 1,801 (+28%)
  • avm_simulation_time_ms (Token:mint_public): 298 (+420%)
  • avm_simulation_time_ms (Token:_increase_public_balance): 61.0 (+304%)
  • protocol_circuit_witness_generation_time_in_ms (root-rollup): 127 (-36%)
  • protocol_circuit_proving_time_in_ms (base-parity): 1,368 (-30%)
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,706 (-1%) 1,538 (-2%) 704 733 (-1%) 768 (-1%)
proof_construction_time_sha256_30_ms 12,078 (+3%) 3,212 (+1%) ⚠️ 1,801 (+28%) 1,631 (+14%) 1,549 (+5%)
proof_construction_time_sha256_100_ms 43,730 (-1%) 12,747 (+4%) ⚠️ 7,038 (+24%) 6,173 (+10%) 5,848 (+6%)
proof_construction_time_poseidon_hash_ms 78.0 34.0 34.0 (-23%) 59.0 (-9%) 88.0 (-2%)
proof_construction_time_poseidon_hash_30_ms 1,514 (-1%) 415 (-1%) 200 (-1%) 222 (-4%) 264 (-1%)
proof_construction_time_poseidon_hash_100_ms 5,592 (-1%) 1,511 (-1%) 678 726 (-1%) 747

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 6,598 6,600
l1_rollup_execution_gas 584,280 584,429 584,582
l2_block_processing_time_in_ms 766 (-1%) 1,414 (-1%) 2,704 (-2%)
l2_block_building_time_in_ms 10,885 21,056 42,008
l2_block_rollup_simulation_time_in_ms 10,885 21,055 42,008
l2_block_public_tx_process_time_in_ms 9,122 19,090 39,872

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,056 9,877 (-1%)
node_database_size_in_bytes 12,734,544 16,908,368
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 104 (+1%) 412 (+1%) 21,845 53,090 N/A N/A N/A N/A
private-kernel-inner 188 716 (+1%) 81,005 53,266 N/A N/A N/A N/A
private-kernel-tail 456 (+2%) 917 (+4%) 61,240 57,447 N/A N/A N/A N/A
base-parity 6.39 (-1%) 680 (-2%) 160 96.0 ⚠️ 1,368 (-30%) 13,188 19.0 131,072
root-parity 111 132 (+2%) 69,084 96.0 34,019 (+11%) 13,188 19.0 4,194,304
base-rollup 3,400 4,897 (+2%) 182,192 632 44,396 (+1%) 13,988 44.0 4,194,304
root-rollup 154 (-1%) ⚠️ 127 (-36%) 54,429 652 28,182 (+2%) 13,924 42.0 4,194,304
public-kernel-setup 126 (+11%) 2,678 112,985 80,246 18,009 (-2%) 141,444 4,027 2,097,152
public-kernel-app-logic 121 (+1%) 4,059 (+4%) 112,985 80,246 11,094 (+2%) 141,444 4,027 1,048,576
public-kernel-tail 637 26,017 (+3%) 410,726 10,814 66,796 (+1%) 26,372 431 8,388,608
private-kernel-reset-tiny 233 885 (+1%) 76,596 52,961 N/A N/A N/A N/A
private-kernel-tail-to-public 5,279 (+2%) 1,616 (-2%) 900,419 1,697 N/A N/A N/A N/A
public-kernel-teardown 105 (+5%) 4,014 (+3%) 112,985 80,246 19,989 (+4%) 141,444 4,027 2,097,152
merge-rollup 61.0 (+1%) N/A 35,678 632 N/A N/A N/A N/A
undefined N/A N/A N/A N/A 155,814 (-1%) 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 11,699 343 (-1%) N/A N/A
ContractInstanceDeployer:deploy 1,376 11,699 27.2 N/A N/A
MultiCallEntrypoint:entrypoint 1,888 11,699 601 N/A N/A
GasToken:deploy 1,344 11,699 437 N/A N/A
SchnorrAccount:constructor 1,280 11,699 426 N/A N/A
SchnorrAccount:entrypoint 2,272 11,699 815 N/A N/A
Token:privately_mint_private_note 1,248 11,699 504 (+2%) N/A N/A
FPC:fee_entrypoint_public 1,312 11,699 87.1 (+1%) N/A N/A
Token:transfer 1,280 11,699 1,325 (+2%) N/A N/A
AuthRegistry:set_authorized (avm) 21,702 N/A N/A 102,048 2,124 (-2%)
FPC:prepare_fee (avm) 25,150 N/A N/A 102,112 2,190 (+2%)
Token:transfer_public (avm) 58,188 N/A N/A 102,112 6,518
AuthRegistry:consume (avm) 35,580 N/A N/A 102,080 2,577
FPC:pay_refund (avm) 30,010 N/A N/A 102,080 3,515 (+2%)
Benchmarking:create_note 1,312 11,699 419 N/A N/A
SchnorrAccount:verify_private_authwit 1,248 11,699 43.6 N/A N/A
Token:unshield 1,344 11,699 1,137 N/A N/A
FPC:fee_entrypoint_private 1,344 11,699 1,408 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 17.3 (-2%) 3,339
Token:constructor 121 (+27%) 23,692
FPC:constructor 93.1 (+2%) 13,592
GasToken:mint_public 84.4 (+3%) 10,158
Token:mint_public ⚠️ 298 (+420%) 19,034
Token:assert_minter_and_mint 49.9 (-23%) 12,925
AuthRegistry:set_authorized 47.0 7,812
FPC:prepare_fee 245 (-3%) 11,068
Token:transfer_public 60.3 (+15%) 44,012
FPC:pay_refund 78.5 (+6%) 15,961
Benchmarking:increment_balance 1,061 11,281
Token:_increase_public_balance ⚠️ 61.0 (+304%) 15,006
FPC:pay_refund_with_shielded_rebate 137 (+3%) 17,056

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.159 (-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.596 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.1 76.5 (+1%) 131 (-1%) 245 474
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 0.470 (+1%) 0.451 0.444 0.441
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 59.3 111 (-1%) 182 (-1%) 351 (-1%) 691 (-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.501 0.497 (-1%) 0.483 (-1%) 0.475 (-1%) 0.476 (-1%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 72.4 (-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 72,017 666,910

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 23 times, most recently from 5dec63b to 38418ce Compare July 30, 2024 10:43
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 38418ce to 1b6eb41 Compare July 30, 2024 10:44
@vezenovm vezenovm merged commit bc3689f into master Jul 30, 2024
97 checks passed
@vezenovm vezenovm deleted the release-please--branches--master branch July 30, 2024 13:43
@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] Create load testing bot
2 participants