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.25.0 #4569

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Feb 13, 2024

🤖 I have created a release beep boop

aztec-packages: 0.25.0

0.25.0 (2024-03-05)

⚠ BREAKING CHANGES

  • nullifier read requests in private (#4764)
  • Use new deployment flow in ContractDeployer (#4497)
  • renamings of state var wrappers (#4739)
  • l1 to l2 message api takes sender as arg (#4648)
  • autogenerate compute_note_hash_and_nullifier (#4610)

Features

Bug Fixes

Miscellaneous

Documentation

barretenberg.js: 0.25.0

0.25.0 (2024-03-05)

Features

  • Parallel native/wasm bb builds. Better messaging around using ci cache. (#4766) (a924e55)

Miscellaneous

barretenberg: 0.25.0

0.25.0 (2024-03-05)

Features

Bug Fixes

Miscellaneous

Documentation

  • yellowpaper: AVM call instructions, split out sections, cleanup (#4594) (e63f022)

This PR was generated with Release Please. See documentation.

@AztecBot
Copy link
Collaborator Author

AztecBot commented Feb 13, 2024

Benchmark results

Metrics with a significant change:

  • note_trial_decrypting_time_in_ms (8): 110 (+912%)
  • note_trial_decrypting_time_in_ms (64): 121 (+251%)
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.

Values are compared against data from master at commit be5855cd and shown if the difference exceeds 1%.

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 5,700 18,884 36,452
l1_rollup_calldata_gas 66,168 238,940 469,844
l1_rollup_execution_gas 194,116 500,246 909,102
l2_block_processing_time_in_ms 1,185 (-1%) 4,463 (-1%) 8,882 (-1%)
note_successful_decrypting_time_in_ms 198 (-1%) 576 (-1%) 989 (-1%)
note_trial_decrypting_time_in_ms ⚠️ 110 (+912%) 94.5 (-11%) ⚠️ 121 (+251%)
l2_block_building_time_in_ms 15,987 63,484 127,324
l2_block_rollup_simulation_time_in_ms 12,179 48,430 (+1%) 97,210
l2_block_public_tx_process_time_in_ms 3,780 14,987 29,999

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 14,271 27,075 (-1%)
note_history_successful_decrypting_time_in_ms 1,240 (-10%) 2,400 (-3%)
note_history_trial_decrypting_time_in_ms 91.7 (-15%) 144 (-14%)
node_database_size_in_bytes 18,763,856 35,266,640 (-1%)
pxe_database_size_in_bytes 29,923 59,478

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 247 44,736 28,001
private-kernel-ordering 177 52,625 14,627
base-rollup 1,285 177,932 933
root-rollup 70.6 4,192 825
private-kernel-inner 312 73,715 28,001
public-kernel-app-logic 191 32,254 25,379
merge-rollup 6.86 (+18%) 2,712 933

Tree insertion stats

The duration to insert a fixed batch of leaves into each tree type.

Metric 1 leaves 2 leaves 8 leaves 16 leaves 32 leaves 64 leaves 128 leaves 512 leaves 1024 leaves 2048 leaves 4096 leaves
batch_insert_into_append_only_tree_16_depth_ms 9.86 (-1%) 10.1 (-5%) 12.5 (-10%) 16.4 (-3%) 22.1 (+1%) 35.4 (-1%) N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_count 16.9 17.5 23.0 31.6 47.0 79.0 N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_16_depth_hash_ms 0.571 (-1%) 0.565 (-5%) 0.530 (-10%) 0.508 (-3%) 0.463 (+1%) 0.442 (-1%) N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_32_depth_ms N/A N/A N/A N/A N/A 45.7 71.8 230 445 (-1%) 862 (-1%) 1,717 (-1%)
batch_insert_into_append_only_tree_32_depth_hash_count N/A N/A N/A N/A N/A 96.0 159 543 1,055 2,079 4,127
batch_insert_into_append_only_tree_32_depth_hash_ms N/A N/A N/A N/A N/A 0.469 0.444 0.420 0.417 0.411 0.412 (-1%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A N/A N/A N/A 53.8 (-1%) 107 338 (-1%) 661 (-1%) 1,307 (-1%) 2,610 (-1%)
batch_insert_into_indexed_tree_20_depth_hash_count N/A N/A N/A N/A N/A 104 207 691 1,363 2,707 5,395
batch_insert_into_indexed_tree_20_depth_hash_ms N/A N/A N/A N/A N/A 0.478 0.482 0.457 0.455 0.455 0.452 (-1%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A N/A N/A 61.0 (-1%) N/A N/A N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_count N/A N/A N/A N/A 109 N/A N/A N/A N/A N/A N/A
batch_insert_into_indexed_tree_40_depth_hash_ms N/A N/A N/A N/A 0.534 N/A N/A N/A N/A N/A N/A

Miscellaneous

Transaction sizes based on how many contracts are deployed in the tx.

Metric 0 deployed contracts
tx_size_in_bytes 19,179

Transaction processing duration by data writes.

Metric 0 new note hashes 1 new note hashes
tx_pxe_processing_time_ms 2,551 1,339 (-1%)
Metric 0 public data writes 1 public data writes
tx_sequencer_processing_time_ms 0.0324 (-5%) 466

@AztecBot AztecBot force-pushed the release-please--branches--master branch 27 times, most recently from feae728 to bbc966e Compare February 15, 2024 15:35
@AztecBot AztecBot force-pushed the release-please--branches--master branch 18 times, most recently from 8d04e62 to ea991d8 Compare March 5, 2024 11:09
@AztecBot AztecBot force-pushed the release-please--branches--master branch from ea991d8 to 50ae495 Compare March 5, 2024 12:44
@rahul-kothari rahul-kothari enabled auto-merge (squash) March 5, 2024 12:57
@rahul-kothari rahul-kothari merged commit 6535e88 into master Mar 5, 2024
63 of 64 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch March 5, 2024 13:01
@AztecBot
Copy link
Collaborator Author

AztecBot commented Mar 5, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Mar 5, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Mar 5, 2024

TomAFrench added a commit that referenced this pull request Mar 5, 2024
* master:
  chore: unused vars cleanup + updated TODOs (#4883)
  feat!: Internal as a macro (#4898)
  chore: update escrow to use PrivateImmutable (#4942)
  chore: fixed call nesting, tests and docs (#4932)
  chore(master): Release 0.25.0 (#4569)
  docs: add prelude note to migration (#4949)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment