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.35.0 #5650

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Apr 10, 2024

πŸ€– I have created a release beep boop

aztec-package: 0.35.0

0.35.0 (2024-04-16)

⚠ BREAKING CHANGES

  • pay fee for account init (#5601)

Features

barretenberg.js: 0.35.0

0.35.0 (2024-04-16)

Features

  • Export poseidon2_permutation and add to foundation/crypto (#5706) (6b91e27)

Miscellaneous

aztec-cli: 0.35.0

0.35.0 (2024-04-16)

⚠ BREAKING CHANGES

  • pay fee for account init (#5601)

Features

aztec-packages: 0.35.0

0.35.0 (2024-04-16)

⚠ BREAKING CHANGES

  • Use fixed size arrays in black box functions where sizes are known (#5620)
  • trap with revert data (#5732)
  • acir: BrilligCall opcode (#5709)
  • rename request_max_block_number (#5675)
  • pay fee for account init (#5601)

Features

Bug Fixes

Miscellaneous

Documentation

barretenberg: 0.35.0

0.35.0 (2024-04-16)

⚠ BREAKING CHANGES

  • Use fixed size arrays in black box functions where sizes are known (#5620)
  • trap with revert data (#5732)
  • acir: BrilligCall opcode (#5709)

Features

Bug Fixes

  • "feat: Changing finite field arithmetic in wasm to 29 bits for multiplications" (#5779) (bcfee97)
  • Avoid get row in databus (#5742) (d67b6c8)
  • ci: Bigger cache disk, cache+prune docker images, disable ClientIvcTests.Full (#5729) (5dcbd75)
  • Disable flakey vanilla recursion test (#5672) (f84f7b6)
  • Less earthly cache (#5690) (8190dc7)
  • Make earthly more parallel (#5747) (9734455)
  • Simplify ECCVM prover constructor and add a TODO (#5681) (8c151ea)

Miscellaneous


This PR was generated with Release Please. See documentation.

@AztecBot
Copy link
Collaborator Author

AztecBot commented Apr 10, 2024

Benchmark results

Metrics with a significant change:

  • note_trial_decrypting_time_in_ms (8): 81.8 (+330%)
  • note_trial_decrypting_time_in_ms (32): 62.7 (+134%)
  • note_trial_decrypting_time_in_ms (64): 99.8 (+324%)
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.

L2 block published to L1

Each column represents the number of txs on an L2 block published to L1.

Metric 8 txs 32 txs 64 txs
l1_rollup_calldata_size_in_bytes 772 772 772
l1_rollup_calldata_gas 6,784 6,808 6,808
l1_rollup_execution_gas 587,265 587,289 587,289
l2_block_processing_time_in_ms 1,424 (-1%) 5,287 (+2%) 10,267 (-15%)
note_successful_decrypting_time_in_ms 180 (-17%) 552 (+6%) 981 (+8%)
note_trial_decrypting_time_in_ms ⚠️ 81.8 (+330%) ⚠️ 62.7 (+134%) ⚠️ 99.8 (+324%)
l2_block_building_time_in_ms 9,829 (+2%) 38,716 (+2%) 77,818 (+2%)
l2_block_rollup_simulation_time_in_ms 9,635 (+2%) 37,991 (+2%) 76,417 (+2%)
l2_block_public_tx_process_time_in_ms 5,399 (+2%) 21,319 (+3%) 42,568 (+2%)

L2 chain processing

Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric 5 blocks 10 blocks
node_history_sync_time_in_ms 15,587 (+6%) 28,009 (-3%)
note_history_successful_decrypting_time_in_ms 1,204 (+7%) 2,200 (-1%)
note_history_trial_decrypting_time_in_ms 39.1 (-7%) 73.8 (-7%)
node_database_size_in_bytes 18,739,280 35,053,648
pxe_database_size_in_bytes 29,859 59,414

Circuits stats

Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit circuit_simulation_time_in_ms circuit_input_size_in_bytes circuit_output_size_in_bytes
private-kernel-init 151 (+1%) 44,561 26,424
private-kernel-inner 156 (+1%) 72,188 26,424
private-kernel-ordering 109 (+1%) 51,090 39,297
base-parity 52.0 128 311
root-parity 9.92 (-1%) 1,244 311
base-rollup 12,646 (+2%) 110,820 957
root-rollup 48.5 4,551 821
public-kernel-app-logic 82.7 (+2%) 48,151 40,933
public-kernel-tail 122 (+1%) 53,644 7,385
merge-rollup 10.5 (-23%) 2,760 957
public-kernel-teardown 78.1 48,151 40,933
public-kernel-setup 77.2 (-1%) 48,151 40,933

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 512 leaves 1024 leaves 2048 leaves 4096 leaves 32 leaves
batch_insert_into_append_only_tree_16_depth_ms 11.0 (-1%) 17.6 (-1%) N/A N/A N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_count 16.8 31.6 N/A N/A N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_ms 0.639 (-1%) 0.546 (-1%) N/A N/A N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_32_depth_ms N/A N/A 51.4 (-1%) 81.1 (-3%) 261 501 984 (+1%) 1,962 (-3%) N/A
batch_insert_into_append_only_tree_32_depth_hash_count N/A N/A 96.0 159 543 1,055 2,079 4,127 N/A
batch_insert_into_append_only_tree_32_depth_hash_ms N/A N/A 0.527 (-1%) 0.500 (-3%) 0.475 0.468 0.467 0.469 (-4%) N/A
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 60.2 120 (-1%) 375 737 1,472 (+1%) 2,932 N/A
batch_insert_into_indexed_tree_20_depth_hash_count N/A N/A 105 207 691 1,363 2,707 5,395 N/A
batch_insert_into_indexed_tree_20_depth_hash_ms N/A N/A 0.533 0.539 (-1%) 0.511 0.507 0.511 (+1%) 0.509 N/A
batch_insert_into_indexed_tree_40_depth_ms N/A N/A N/A N/A N/A N/A N/A N/A 67.4
batch_insert_into_indexed_tree_40_depth_hash_count N/A N/A N/A N/A N/A N/A N/A N/A 109
batch_insert_into_indexed_tree_40_depth_hash_ms N/A N/A N/A N/A N/A N/A N/A N/A 0.589

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 41,005 528,889

Transaction size based on fee payment method

Metric native fee payment method fpc_public fee payment method fpc_private fee payment method
tx_with_fee_size_in_bytes 905 1,161 1,377

Transaction processing duration by data writes.

Metric 0 new note hashes 1 new note hashes 2 new note hashes
tx_pxe_processing_time_ms 1,174 (+2%) 786 3,399
Metric 1 public data writes 2 public data writes 3 public data writes 4 public data writes 5 public data writes 8 public data writes
tx_sequencer_processing_time_ms 458 (+1%) 307 819 390 (-1%) 1,360 459 (-1%)

@AztecBot AztecBot force-pushed the release-please--branches--master branch 27 times, most recently from c1fa1cb to 18e0243 Compare April 11, 2024 14:01
@AztecBot AztecBot force-pushed the release-please--branches--master branch 17 times, most recently from 91c2a5d to 8302e63 Compare April 16, 2024 15:41
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 8302e63 to 7f4d2ac Compare April 16, 2024 16:13
@rahul-kothari rahul-kothari enabled auto-merge (squash) April 16, 2024 16:20
@rahul-kothari rahul-kothari merged commit 152fb90 into master Apr 16, 2024
61 of 64 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch April 16, 2024 16:30
@AztecBot
Copy link
Collaborator Author

@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