Skip to content

chore(master): Release 0.50.1#8151

Merged
spypsy merged 1 commit intomasterfrom
release-please--branches--master
Aug 23, 2024
Merged

chore(master): Release 0.50.1#8151
spypsy merged 1 commit intomasterfrom
release-please--branches--master

Conversation

@AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Aug 22, 2024

🤖 I have created a release beep boop

aztec-package: 0.50.1

0.50.1 (2024-08-23)

Miscellaneous

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

0.50.1 (2024-08-23)

Miscellaneous

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

0.50.1 (2024-08-23)

Features

  • Free instances and circuits earlier to reduce max memory usage (#8118) (32a04c1)
  • Prepare protocol circuits for batch rollup (#7727) (a126e22)
  • Share the commitment key between instances to reduce mem (#8154) (c3dddf8)

Bug Fixes

Miscellaneous

  • Replace relative paths to noir-protocol-circuits (5372ac4)
  • Requiring only 1 sig from user (#8146) (f0b564b)
barretenberg: 0.50.1

0.50.1 (2024-08-23)

Features

  • Free instances and circuits earlier to reduce max memory usage (#8118) (32a04c1)
  • Share the commitment key between instances to reduce mem (#8154) (c3dddf8)

This PR was generated with Release Please. See documentation.

@AztecBot AztecBot force-pushed the release-please--branches--master branch from e1616d3 to 8412613 Compare August 22, 2024 17:48
@AztecBot
Copy link
Collaborator Author

AztecBot commented Aug 22, 2024

Benchmark results

Metrics with a significant change:

  • protocol_circuit_simulation_time_in_ms (private-kernel-tail-to-public): 668 (-52%)
  • avm_simulation_time_ms (Token:mint_public): 69.3 (+53%)
  • avm_simulation_time_ms (Token:assert_minter_and_mint): 42.2 (-37%)
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,749 1,559 (-1%) 709 (-1%) 751 (-3%) 775
proof_construction_time_sha256_30_ms 11,457 (-1%) 3,079 (-1%) 1,381 (-1%) 1,422 (-2%) 1,461
proof_construction_time_sha256_100_ms 43,995 (-1%) 11,774 (-1%) 5,424 (-1%) 5,417 (-4%) 5,819 (+1%)
proof_construction_time_poseidon_hash_ms 78.0 (-1%) 34.0 34.0 57.0 89.0 (+2%)
proof_construction_time_poseidon_hash_30_ms 1,527 (-1%) 421 202 229 (+2%) 270 (-1%)
proof_construction_time_poseidon_hash_100_ms 5,638 (-1%) 1,514 678 724 (-1%) 746

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 4,356 (+1%) 7,876 14,884
l1_rollup_calldata_gas 50,268 (+1%) 92,984 (+1%) 178,204
l1_rollup_execution_gas 1,396,519 (+2%) 2,130,131 (+1%) 3,915,407 (+1%)
l2_block_processing_time_in_ms 254 (-2%) 441 (+1%) 816 (+1%)
l2_block_building_time_in_ms 9,047 (+1%) 17,529 35,009
l2_block_rollup_simulation_time_in_ms 9,047 (+1%) 17,529 35,009
l2_block_public_tx_process_time_in_ms 7,626 (+1%) 16,016 33,471

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 2,941 (+3%) 3,767 (-3%)
node_database_size_in_bytes 12,640,336 16,711,760
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
private-kernel-init 84.4 (-6%) 399 (+1%) 21,755 44,860 N/A
private-kernel-inner 171 (+4%) 705 72,566 45,007 N/A
private-kernel-reset-tiny 462 (+1%) 868 65,675 44,846 N/A
private-kernel-tail 196 (+1%) 159 (+1%) 50,686 52,257 N/A
base-parity 5.64 N/A 160 96.0 N/A
root-parity 35.6 (-1%) N/A 73,948 96.0 N/A
base-rollup 2,754 N/A 189,136 664 N/A
block-root-rollup 41.4 N/A 58,205 2,448 N/A
public-kernel-setup 83.5 (-2%) N/A 105,085 71,222 N/A
public-kernel-app-logic 95.8 N/A 104,911 71,222 N/A
public-kernel-tail 556 N/A 410,534 16,414 N/A
private-kernel-reset-small 453 (-1%) N/A 66,341 45,629 N/A
private-kernel-tail-to-public ⚠️ 668 (-52%) 648 460,796 1,825 N/A
public-kernel-teardown 82.3 (-2%) N/A 105,349 71,222 N/A
merge-rollup 20.1 (-3%) N/A 38,174 664 N/A
undefined N/A N/A N/A N/A 78,074 (-1%)

Stats on running time collected for app circuits

Function input_size_in_bytes output_size_in_bytes witness_generation_time_in_ms
ContractClassRegisterer:register 1,344 11,731 343
ContractInstanceDeployer:deploy 1,408 11,731 18.4
MultiCallEntrypoint:entrypoint 1,920 11,731 409
FeeJuice:deploy 1,376 11,731 389
SchnorrAccount:constructor 1,312 11,731 75.5
SchnorrAccount:entrypoint 2,304 11,731 400
Token:privately_mint_private_note 1,280 11,731 107 (+5%)
FPC:fee_entrypoint_public 1,344 11,731 29.4 (+6%)
Token:transfer 1,312 11,731 239 (+3%)
Benchmarking:create_note 1,344 11,731 87.6 (+1%)
SchnorrAccount:verify_private_authwit 1,280 11,731 27.3 (-2%)
Token:unshield 1,376 11,731 523 (-1%)
FPC:fee_entrypoint_private 1,376 11,731 700 (-1%)

AVM Simulation

Time to simulate various public functions in the AVM.

Function time_ms bytecode_size_in_bytes
FeeJuice:_increase_public_balance 55.2 (-1%) 7,739
FeeJuice:set_portal 9.73 (-13%) 2,354
Token:constructor 81.8 26,051
FPC:constructor 53.9 (+1%) 18,001
FeeJuice:mint_public 39.0 (-2%) 5,877
Token:mint_public ⚠️ 69.3 (+53%) 10,917
Token:assert_minter_and_mint ⚠️ 42.2 (-37%) 7,512
AuthRegistry:set_authorized 38.4 (+3%) 4,391
FPC:prepare_fee 235 (+3%) 7,043
Token:transfer_public 20.4 (+7%) 39,426
FPC:pay_refund 53.0 (-1%) 10,234
Benchmarking:increment_balance 937 6,563
Token:_increase_public_balance 42.2 (-19%) 8,433
FPC:pay_refund_with_shielded_rebate 62.4 (-22%) 10,783

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.158 (-4%)

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 2.17 (-1%) 3.92 (-2%) 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.113 (-1%) 0.111 (-2%) N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_32_depth_ms N/A N/A 11.4 (-2%) 17.4 (-2%) 30.4 (-3%) 59.3 (+2%) 111 (-2%)
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.110 (-2%) 0.101 (-1%) 0.0990 (-3%) 0.102 (+1%) 0.0999 (-2%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 14.5 (-2%) 25.9 43.1 (-2%) 82.2 160 (-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.110 (-2%) 0.104 0.104 (-2%) 0.102 0.100 (-1%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 16.4 N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_count N/A N/A 132 N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_ms N/A N/A 0.105 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 64,779 668,997

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 2 times, most recently from 8f45338 to 1b1df38 Compare August 23, 2024 08:13
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 1b1df38 to 748fc44 Compare August 23, 2024 08:39
@spypsy spypsy enabled auto-merge (squash) August 23, 2024 08:51
@github-actions
Copy link
Contributor

Changes to circuit sizes

Generated at commit: b6b2859795b91ae7f9d2f04663d9eb66cb64010e, compared to commit: c3dddf83941fd7411f2faefff43552aa174e1401

🧾 Summary (100% most significant diffs)

Program ACIR opcodes (+/-) % Circuit size (+/-) %
rollup_root +17,444 ❌ +2344.62% -1,309,633 ✅ -32.33%

Full diff report 👇
Program ACIR opcodes (+/-) % Circuit size (+/-) %
rollup_root 18,188 (+17,444) +2344.62% 2,741,553 (-1,309,633) -32.33%

@spypsy spypsy merged commit 5ac5788 into master Aug 23, 2024
@spypsy spypsy deleted the release-please--branches--master branch August 23, 2024 09:25
@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