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.49.0 #7933

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Aug 13, 2024

πŸ€– I have created a release beep boop

aztec-package: 0.49.0

0.49.0 (2024-08-15)

⚠ BREAKING CHANGES

  • Sequencer no longer proves (#7860)

Miscellaneous

barretenberg.js: 0.49.0

0.49.0 (2024-08-15)

Miscellaneous

  • Pin yarn versions in noir-projects and bb/ts (#7988) (83f33a1)
aztec-packages: 0.49.0

0.49.0 (2024-08-15)

⚠ BREAKING CHANGES

  • alternative key registry contract (#7523)
  • Sequencer no longer proves (#7860)

Features

Bug Fixes

Miscellaneous

barretenberg: 0.49.0

0.49.0 (2024-08-15)

Features

  • avm: More no fake rows + virtual dyn gas (part 1) (#7942) (9e8ba96)
  • IVC integration tests using new accumulate model (#7946) (c527ae9)
  • Update honk ultra_recursive_verifier to do aggregation (#7582) (a96a5ad)

Miscellaneous


This PR was generated with Release Please. See documentation.

@AztecBot AztecBot force-pushed the release-please--branches--master branch 4 times, most recently from dc906fe to fcb100b Compare August 13, 2024 13:23
Copy link
Collaborator Author

@AztecBot AztecBot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'C++ Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.05.

Benchmark suite Current: 971d603 Previous: 902aa3d Ratio
commit(t) 3785146846 ns/iter 3599925211 ns/iter 1.05

This comment was automatically generated by workflow using github-action-benchmark.

CC: @ludamad @codygunton

@AztecBot AztecBot changed the title chore(master): Release 0.48.1 chore(master): Release 0.49.0 Aug 13, 2024
@AztecBot AztecBot force-pushed the release-please--branches--master branch 12 times, most recently from cd11c3f to e572b14 Compare August 13, 2024 18:43
@AztecBot
Copy link
Collaborator Author

AztecBot commented Aug 13, 2024

Benchmark results

Metrics with a significant change:

  • avm_simulation_time_ms (Token:mint_public): 74.1 (+72%)
  • avm_simulation_time_ms (Token:assert_minter_and_mint): 42.3 (-45%)
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,762 1,556 708 752 (-1%) 774 (+2%)
proof_construction_time_sha256_30_ms 11,845 3,175 (-1%) 1,406 (-1%) 1,429 (-2%) 1,476
proof_construction_time_sha256_100_ms 45,358 11,988 (-1%) 5,474 5,423 5,362 (-1%)
proof_construction_time_poseidon_hash_ms 78.0 35.0 (+3%) 34.0 59.0 (+2%) 89.0 (+2%)
proof_construction_time_poseidon_hash_30_ms 1,529 443 (+5%) 202 241 (+6%) 266 (-3%)
proof_construction_time_poseidon_hash_100_ms 5,653 1,515 677 725 (-1%) 743 (-1%)

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,324 7,844 14,852
l1_rollup_calldata_gas 49,744 92,468 177,692
l1_rollup_execution_gas 1,294,407 2,042,099 3,869,362
l2_block_processing_time_in_ms 249 (-2%) 442 (-1%) 798 (+2%)
l2_block_building_time_in_ms 9,328 (+1%) 18,187 36,270 (+1%)
l2_block_rollup_simulation_time_in_ms 9,328 (+1%) 18,186 36,269 (+1%)
l2_block_public_tx_process_time_in_ms 7,896 (+1%) 16,630 34,689 (+1%)

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,947 (-1%) 3,811 (-1%)
node_database_size_in_bytes 12,619,856 16,760,912
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 102 (+6%) 397 (+2%) 21,846 44,858 N/A
private-kernel-inner 168 (-2%) 707 (+1%) 72,545 45,005 N/A
private-kernel-reset-tiny 509 (+1%) 1,203 69,614 44,844 N/A
private-kernel-tail 271 195 (+1%) 50,760 52,256 N/A
base-parity 5.71 N/A 160 96.0 N/A
root-parity 34.9 (+6%) N/A 69,084 96.0 N/A
base-rollup 2,858 N/A 187,817 664 N/A
root-rollup 38.7 N/A 54,525 716 N/A
public-kernel-setup 106 (+7%) N/A 103,760 71,222 N/A
public-kernel-app-logic 107 (+1%) N/A 103,599 71,222 N/A
public-kernel-tail 576 (+1%) N/A 409,190 16,414 N/A
private-kernel-reset-small 482 (+1%) N/A 66,533 45,629 N/A
private-kernel-tail-to-public 1,496 (+13%) 707 507,554 1,697 N/A
public-kernel-teardown 97.9 (+4%) N/A 104,005 71,222 N/A
merge-rollup 19.1 (+1%) N/A 35,742 664 N/A
undefined N/A N/A N/A N/A 67,644 (+2%)

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 345 (+1%)
ContractInstanceDeployer:deploy 1,408 11,731 18.1
MultiCallEntrypoint:entrypoint 1,920 11,731 424 (+1%)
FeeJuice:deploy 1,376 11,731 390 (+2%)
SchnorrAccount:constructor 1,312 11,731 103 (-1%)
SchnorrAccount:entrypoint 2,304 11,731 432
Token:privately_mint_private_note 1,280 11,731 141 (+1%)
FPC:fee_entrypoint_public 1,344 11,731 30.6 (+14%)
Token:transfer 1,312 11,731 289
Benchmarking:create_note 1,344 11,731 105 (+3%)
SchnorrAccount:verify_private_authwit 1,280 11,731 27.5 (-1%)
Token:unshield 1,376 11,731 552 (-1%)
FPC:fee_entrypoint_private 1,376 11,731 762

AVM Simulation

Time to simulate various public functions in the AVM.

Function time_ms bytecode_size_in_bytes
FeeJuice:_increase_public_balance 53.2 8,139
FeeJuice:set_portal 9.99 (+8%) 2,362
Token:constructor 86.2 (+5%) 31,107
FPC:constructor 57.6 (+6%) 22,380
FeeJuice:mint_public 40.9 (+8%) 6,150
Token:mint_public ⚠️ 74.1 (+72%) 11,720
Token:assert_minter_and_mint ⚠️ 42.3 (-45%) 8,028
AuthRegistry:set_authorized 46.9 (+5%) 4,537
FPC:prepare_fee 248 (+2%) 8,812
Token:transfer_public 44.9 (+15%) 47,374
FPC:pay_refund 61.5 (+1%) 12,114
Benchmarking:increment_balance 971 7,450
Token:_increase_public_balance 40.8 8,960
FPC:pay_refund_with_shielded_rebate 65.0 (-1%) 12,663

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.169 (+3%)

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.21 (+3%) 3.92 (+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.114 (+3%) 0.111 (+1%) N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_32_depth_ms N/A N/A 11.5 (+1%) 17.8 (+1%) 31.6 (+5%) 58.6 (-1%) 112 (+3%)
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 (+1%) 0.103 (+1%) 0.103 (+4%) 0.101 (-1%) 0.101 (+2%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 14.3 25.6 (+1%) 44.3 (+3%) 82.6 161 (+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.108 0.103 (+1%) 0.107 (+3%) 0.102 (+1%) 0.102 (+1%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 16.3 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.104 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 10 times, most recently from 74d4bb2 to cce368e Compare August 14, 2024 14:30
@AztecBot AztecBot force-pushed the release-please--branches--master branch 16 times, most recently from dfbd1f3 to 076687a Compare August 14, 2024 20:18
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 076687a to 9febb58 Compare August 15, 2024 06:42
@rahul-kothari rahul-kothari merged commit 3d61bdf into master Aug 15, 2024
97 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch August 15, 2024 09:22
@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.

[archiver] Error "block number mismatch" brings down the node honk e2e: deploy solidity verifier
2 participants