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.5 #7449

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Jul 11, 2024

🤖 I have created a release beep boop

aztec-package: 0.46.5

0.46.5 (2024-07-14)

Miscellaneous

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

0.46.5 (2024-07-14)

Miscellaneous

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

0.46.5 (2024-07-14)

Features

Bug Fixes

Miscellaneous

Documentation

  • Minor comments for private refunds/partial notes (#7447) (9bcbb6c)
barretenberg: 0.46.5

0.46.5 (2024-07-14)

Features

  • Added barrett_reduction implementation into uintx (#6768) (abced57)
  • Databus allows arbitrarily many reads per index (#6524) (f07200c)
  • Multiple trace structuring configurations (#7408) (e4abe1d)
  • Verify ClientIVC proofs through Bb binary (#7407) (3760c64)

Bug Fixes


This PR was generated with Release Please. See documentation.

@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 11, 2024

Benchmark results

Metrics with a significant change:

  • protocol_circuit_witness_generation_time_in_ms (private-kernel-inner): 821 (+16%)
  • protocol_circuit_witness_generation_time_in_ms (private-kernel-tail-to-public): 3,552 (+25%)
  • protocol_circuit_witness_generation_time_in_ms (private-kernel-tail): 3,178 (+27%)
  • protocol_circuit_proving_time_in_ms (root-parity): 30,952 (-39%)
  • protocol_circuit_proving_time_in_ms (public-kernel-setup): 18,149 (-18%)
  • protocol_circuit_proving_time_in_ms (public-kernel-teardown): 18,920 (-16%)
  • protocol_circuit_proving_time_in_ms (root-rollup): 28,603 (-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,720 (+6%) 1,535 (+4%) 702 (+6%) 747 (+3%) 772 (+6%)
proof_construction_time_sha256_30_ms 11,711 (+8%) 3,146 (+6%) 1,401 (+8%) 1,433 (+4%) 1,468 (+5%)
proof_construction_time_sha256_100_ms 43,812 (+5%) 11,720 (+3%) 5,784 (+14%) 5,407 (-5%) 5,351 (+5%)
proof_construction_time_poseidon_hash_ms 78.0 (+4%) 34.0 34.0 59.0 (+4%) 89.0
proof_construction_time_poseidon_hash_30_ms 1,521 (+5%) 416 (+3%) 200 (+3%) 227 (+6%) 274 (+5%)
proof_construction_time_poseidon_hash_100_ms 5,620 (+5%) 1,512 (+4%) 676 (+5%) 736 (+7%) 750 (+6%)

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,594 6,600
l1_rollup_execution_gas 583,050 583,207 583,364
l2_block_processing_time_in_ms 767 (-5%) 1,420 (-5%) 2,726 (-6%)
l2_block_building_time_in_ms 13,292 (-4%) 26,028 (-4%) 51,255 (-3%)
l2_block_rollup_simulation_time_in_ms 13,292 (-4%) 26,028 (-4%) 51,255 (-3%)
l2_block_public_tx_process_time_in_ms 11,124 (-4%) 23,680 (-4%) 48,866 (-3%)

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,108 (-5%) 9,970 (-5%)
node_database_size_in_bytes 12,435,536 16,490,576
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 117 (-3%) 454 (+14%) 21,732 54,085 N/A N/A N/A N/A
private-kernel-inner 232 (-2%) ⚠️ 821 (+16%) 81,199 54,264 N/A N/A N/A N/A
private-kernel-tail 1,134 ⚠️ 3,178 (+27%) 61,808 61,554 N/A N/A N/A N/A
base-parity 6.47 (-4%) 832 (-4%) 160 96.0 1,989 12,676 3.00 131,072
root-parity 108 (-3%) 123 (+5%) 64,860 96.0 ⚠️ 30,952 (-39%) 12,676 3.00 4,194,304
base-rollup 4,222 (-3%) 5,068 (+3%) 180,315 632 44,366 (-9%) 13,476 28.0 4,194,304
root-rollup 153 (-5%) 125 (+3%) 51,261 652 ⚠️ 28,603 (-30%) 13,412 26.0 4,194,304
public-kernel-setup 196 (-4%) 2,419 (-1%) 112,536 80,310 ⚠️ 18,149 (-18%) 118,916 3,323 2,097,152
public-kernel-app-logic 151 (-3%) 3,339 (+2%) 112,536 80,310 10,142 (+1%) 118,916 3,323 1,048,576
public-kernel-tail 899 (-2%) 27,810 (+2%) 409,413 10,046 67,272 (-8%) 24,868 384 8,388,608
private-kernel-reset-tiny 301 (-3%) 1,147 (+15%) 77,007 53,954 N/A N/A N/A N/A
private-kernel-tail-to-public 7,647 (+12%) ⚠️ 3,552 (+25%) 777,415 1,632 N/A N/A N/A N/A
public-kernel-teardown 139 (-4%) 3,296 (+1%) 112,536 80,310 ⚠️ 18,920 (-16%) 118,916 3,323 2,097,152
merge-rollup 57.7 (-5%) N/A 33,566 632 N/A N/A N/A N/A
undefined N/A N/A N/A N/A 165,730 (+3%) 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 398 (-3%) N/A N/A
ContractInstanceDeployer:deploy 1,376 9,344 25.1 (-4%) N/A N/A
MultiCallEntrypoint:entrypoint 1,888 9,344 628 (-4%) N/A N/A
GasToken:deploy 1,344 9,344 572 (-3%) N/A N/A
SchnorrAccount:constructor 1,280 9,344 431 (-6%) N/A N/A
SchnorrAccount:entrypoint 2,272 9,344 765 (-6%) N/A N/A
Token:privately_mint_private_note 1,248 9,344 516 (-2%) N/A N/A
FPC:fee_entrypoint_public 1,312 9,344 100 (-3%) N/A N/A
Token:transfer 1,280 9,344 1,464 (-5%) N/A N/A
AuthRegistry:set_authorized (avm) 19,222 N/A N/A 95,392 2,132
FPC:prepare_fee (avm) 26,664 N/A N/A 95,456 2,864 (+1%)
Token:transfer_public (avm) 42,914 N/A N/A 95,456 3,273 (+2%)
AuthRegistry:consume (avm) 33,100 N/A N/A 95,424 2,808
FPC:pay_refund (avm) 36,829 N/A N/A 95,424 11,344 (+3%)
Benchmarking:create_note 1,312 9,344 427 (-9%) N/A N/A
SchnorrAccount:verify_private_authwit 1,248 9,344 41.5 (-10%) N/A N/A
Token:unshield 1,344 9,344 1,191 (-7%) N/A N/A
FPC:fee_entrypoint_private 1,344 9,344 1,542 (-8%) 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 99.1 13,790
GasToken:set_portal 12.0 (-7%) 3,339
Token:constructor 126 (-2%) 23,692
FPC:constructor 93.3 (+2%) 13,592
GasToken:mint_public 81.9 (-1%) 10,158
Token:mint_public 349 19,034
Token:assert_minter_and_mint 51.5 (+5%) 12,925
AuthRegistry:set_authorized 46.0 (-5%) 7,812
FPC:prepare_fee 114 (-6%) 15,062
Token:transfer_public 41.1 (-5%) 31,218
FPC:pay_refund 125 (-2%) 25,260
Benchmarking:increment_balance 1,346 (-3%) 15,267
Token:_increase_public_balance 17.7 (-4%) 15,006
FPC:pay_refund_with_shielded_rebate 178 (-12%) 26,347

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.164 (+8%)

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 (-4%) 16.8 (-4%) 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 (-4%) 0.515 (-4%) 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 (-4%) 76.1 (-6%) 131 (-6%) 246 (-6%) 473 (-6%)
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 (-4%) 0.468 (-6%) 0.450 (-6%) 0.445 (-6%) 0.441 (-6%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 60.0 (-4%) 111 (-7%) 183 (-7%) 353 (-6%) 695 (-7%)
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 (-4%) 0.500 (-6%) 0.485 (-5%) 0.478 (-6%) 0.476 (-6%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 73.0 (-5%) 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 (-5%) 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,847 667,838

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 4 times, most recently from 413baec to 5113a3b Compare July 12, 2024 16:23
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 5113a3b to 5dda7ae Compare July 14, 2024 14:50
@rahul-kothari rahul-kothari merged commit 531b6e1 into master Jul 15, 2024
93 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch July 15, 2024 09:34
@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.

2 participants