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.45.0 #7199

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Jun 26, 2024

🤖 I have created a release beep boop

aztec-package: 0.45.0

0.45.0 (2024-07-02)

Bug Fixes

barretenberg.js: 0.45.0

0.45.0 (2024-07-02)

Miscellaneous

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

0.45.0 (2024-07-02)

⚠ BREAKING CHANGES

Features

Bug Fixes

Miscellaneous

barretenberg: 0.45.0

0.45.0 (2024-07-02)

Features

Bug Fixes

  • Benchmark prover e2e test with proving (#7175) (431c14c)
  • Reran pil->cpp codegen & encode_and_encrypt_event_with_randomness fix (#7247) (fa15a45)

Miscellaneous

  • avm: Remove trailing minus zero in codegen (#7185) (f3c8166)
  • Fix negative tests in AVM circuit for context input lookups (#7261) (ad2f654)
  • Generate PIL constants from via constants gen (#7258) (244ef7e)
  • Reduce note and nullifier constants (#7255) (4637304)
  • Use prefix op_ for every instruction in avm_trace.hpp (#7214) (7ed7558)

This PR was generated with Release Please. See documentation.

@AztecBot AztecBot force-pushed the release-please--branches--master branch from b4fd851 to ba675fc Compare June 26, 2024 17:17
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: fabd6a1 Previous: dde47e9 Ratio
nativeClientIVCBench/Full/6 15174.120439999995 ms/iter 14120.47733899999 ms/iter 1.07
Goblin::merge(t) 216198761 ns/iter 198748828 ns/iter 1.09

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

CC: @ludamad @codygunton

@AztecBot AztecBot force-pushed the release-please--branches--master branch 2 times, most recently from c4ee2f7 to 52d22f7 Compare June 26, 2024 19:48
@AztecBot
Copy link
Collaborator Author

AztecBot commented Jun 26, 2024

Benchmark results

Metrics with a significant change:

  • proof_construction_time_sha256_30_ms (16): 1,409 (-22%)
  • avm_simulation_time_ms (Token:mint_public): 64.1 (-87%)
  • avm_simulation_time_ms (Token:assert_minter_and_mint): 173 (+201%)
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,761 (+1%) 1,568 (+1%) 711 762 (+1%) 778 (+1%)
proof_construction_time_sha256_30_ms 11,895 (+1%) 3,168 ⚠️ 1,409 (-22%) 1,432 (-11%) 1,472 (-5%)
proof_construction_time_sha256_100_ms 44,154 (+2%) 11,794 5,436 5,405 5,369
proof_construction_time_poseidon_hash_ms 79.0 (+1%) 34.0 34.0 58.0 (+2%) 87.0
proof_construction_time_poseidon_hash_30_ms 1,526 (+1%) 417 202 (+1%) 227 271 (+1%)
proof_construction_time_poseidon_hash_100_ms 5,771 (+1%) 1,574 (+1%) 723 773 (-3%) 792 (-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 1,412 1,412 1,412
l1_rollup_calldata_gas 9,464 9,474 9,476
l1_rollup_execution_gas 611,203 611,364 611,517
l2_block_processing_time_in_ms 774 (+3%) 1,406 (-1%) 2,700
l2_block_building_time_in_ms 20,870 (-1%) 42,363 (+1%) 81,931
l2_block_rollup_simulation_time_in_ms 20,869 (-1%) 42,362 (+1%) 81,930
l2_block_public_tx_process_time_in_ms 17,864 (-1%) 39,120 (+1%) 78,736

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 6,989 (-1%) 9,759 (-1%)
node_database_size_in_bytes 12,292,176 16,171,088
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 proving_time_in_ms input_size_in_bytes output_size_in_bytes proof_size_in_bytes num_public_inputs size_in_gates
private-kernel-init 103 (+1%) 402 (+1%) 12,667 19,482 54,134 73,920 2,243 524,288
private-kernel-inner 307 789 50,016 (+1%) 80,694 54,134 73,920 2,243 2,097,152
private-kernel-tail 1,089 2,529 (-3%) 48,263 (-3%) 61,457 62,057 14,912 399 2,097,152
base-parity 6.18 1,512 (-4%) 2,649 (-3%) 128 64.0 2,208 2.00 131,072
root-parity 48.8 66.0 (-3%) 39,882 (+1%) 27,100 64.0 2,720 18.0 2,097,152
base-rollup 6,638 (+1%) 4,843 (-2%) 87,608 (-5%) 170,330 728 3,648 47.0 4,194,304
root-rollup 110 81.1 (-5%) 23,435 (-6%) 25,253 620 3,456 41.0 1,048,576
public-kernel-setup 539 (-1%) 2,394 (-3%) 42,548 102,121 80,278 106,912 3,274 2,097,152
public-kernel-app-logic 503 3,365 (-2%) 43,095 (-8%) 102,121 80,278 106,912 3,274 2,097,152
public-kernel-tail 1,155 (+1%) 25,716 (-7%) 179,172 399,014 10,014 14,912 399 8,388,608
private-kernel-reset-small 468 1,120 (+3%) 31,147 (+7%) 109,233 54,134 73,920 2,243 1,048,576
public-kernel-teardown 493 3,363 (-3%) 43,166 (-1%) 102,121 80,278 106,912 3,274 2,097,152
merge-rollup 29.2 (+1%) N/A N/A 16,486 728 N/A N/A N/A
private-kernel-tail-to-public N/A 8,886 (+5%) 51,163 (-4%) N/A N/A 106,912 3,274 2,097,152

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 size_in_gates num_public_inputs
ContractClassRegisterer:register 1,344 8,792 402 (-2%) N/A N/A N/A N/A
ContractInstanceDeployer:deploy 1,408 8,792 38.5 (-2%) N/A N/A N/A N/A
MultiCallEntrypoint:entrypoint 1,920 8,792 1,179 (-1%) N/A N/A N/A N/A
GasToken:deploy 1,376 8,792 892 (-2%) N/A N/A N/A N/A
SchnorrAccount:constructor 1,312 8,792 486 (-1%) N/A N/A N/A N/A
SchnorrAccount:entrypoint 2,304 8,792 1,630 14,720 53,193 (-3%) 2,097,152 393
Token:privately_mint_private_note 1,280 8,792 643 (+3%) N/A N/A N/A N/A
FPC:fee_entrypoint_public 1,344 8,792 271 14,720 11,297 524,288 393
Token:transfer 1,312 8,792 1,772 (-1%) 14,720 12,800 (+2%) 524,288 393
AuthRegistry:set_authorized (avm) 19,226 N/A N/A 91,264 1,344 (-3%) N/A N/A
FPC:prepare_fee (avm) 26,668 N/A N/A 91,328 2,979 (-9%) N/A N/A
Token:transfer_public (avm) 42,918 N/A N/A 91,328 3,878 (-6%) N/A N/A
AuthRegistry:consume (avm) 33,104 N/A N/A 91,264 2,893 (-6%) N/A N/A
FPC:pay_refund (avm) 36,833 N/A N/A 91,296 23,541 (-2%) N/A N/A
Benchmarking:create_note 1,344 8,792 485 (+1%) N/A N/A N/A N/A
SchnorrAccount:verify_private_authwit 1,280 8,792 71.8 N/A N/A N/A N/A
Token:unshield 1,376 8,792 1,533 N/A N/A N/A N/A
FPC:fee_entrypoint_private 1,376 8,792 2,127 N/A N/A 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 69.9 (-19%) 13,790
GasToken:set_portal 17.6 (-5%) 3,339
Token:constructor 91.3 (-1%) 23,692
FPC:constructor 61.8 13,592
GasToken:mint_public 51.7 10,158
Token:mint_public ⚠️ 64.1 (-87%) 19,034
Token:assert_minter_and_mint ⚠️ 173 (+201%) 12,925
AuthRegistry:set_authorized 38.4 (+16%) 7,812
FPC:prepare_fee 110 (-4%) 15,062
Token:transfer_public 44.9 (-24%) 31,218
FPC:pay_refund 133 (+4%) 25,260
Benchmarking:increment_balance 2,212 15,267
Token:_increase_public_balance 54.6 (-4%) 15,006
FPC:pay_refund_with_shielded_rebate 119 (+3%) 26,347

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.152 (-2%)

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.3 16.6 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.597 0.512 N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_32_depth_ms N/A N/A 48.1 75.3 131 243 (-1%) 471
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.492 0.463 0.450 0.441 (-1%) 0.440
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 59.4 111 182 (-1%) 351 691
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.502 0.499 0.483 0.476 0.474
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 72.6 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.517 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 74,057 667,850

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 12 times, most recently from 22b03bb to aa326b1 Compare June 27, 2024 14:11
@AztecBot AztecBot changed the title chore(master): Release 0.44.1 chore(master): Release 0.45.0 Jun 27, 2024
@AztecBot AztecBot force-pushed the release-please--branches--master branch 11 times, most recently from 9556c26 to 0924e6d Compare June 28, 2024 19:03
@AztecBot AztecBot force-pushed the release-please--branches--master branch 13 times, most recently from 927538b to 0e00afb Compare July 2, 2024 14:28
@rahul-kothari rahul-kothari enabled auto-merge (squash) July 2, 2024 14:32
@AztecBot AztecBot force-pushed the release-please--branches--master branch 5 times, most recently from b75a193 to 8be7429 Compare July 2, 2024 16:09
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 8be7429 to 711cc04 Compare July 2, 2024 17:29
@rahul-kothari rahul-kothari merged commit d127338 into master Jul 2, 2024
94 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch July 2, 2024 18:32
@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 2, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 2, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 2, 2024

@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 2, 2024

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