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.46.6 #7471

Merged
merged 1 commit into from
Jul 15, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Jul 15, 2024

🤖 I have created a release beep boop

aztec-package: 0.46.6

0.46.6 (2024-07-15)

Features

barretenberg.js: 0.46.6

0.46.6 (2024-07-15)

Features

Miscellaneous

  • ci: Recover from earthly bug with --no-cache, build images from registry (#7462) (09299e3)

Documentation

aztec-packages: 0.46.6

0.46.6 (2024-07-15)

Features

Bug Fixes

  • Add trailing extra arguments for backend in gates_flamegraph (#7472) (66d257b)
  • Aws secrets in docs CI (#7470) (3b2acc7)

Miscellaneous

  • ci: Recover from earthly bug with --no-cache, build images from registry (#7462) (09299e3)
  • Minor link fix (#7469) (fcbc399)

Documentation

barretenberg: 0.46.6

0.46.6 (2024-07-15)

Features

Miscellaneous

  • ci: Recover from earthly bug with --no-cache, build images from registry (#7462) (09299e3)

This PR was generated with Release Please. See documentation.

@rahul-kothari rahul-kothari enabled auto-merge (squash) July 15, 2024 10:40
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 37d5693 to 6a17bac Compare July 15, 2024 10:50
@AztecBot
Copy link
Collaborator Author

AztecBot commented Jul 15, 2024

Benchmark results

Metrics with a significant change:

  • proof_construction_time_sha256_100_ms (16): 6,669 (+22%)
  • batch_insert_into_append_only_tree_32_depth_ms (512): 291 (+18%)
  • avm_simulation_time_ms (GasToken:set_portal): 16.4 (+40%)
  • avm_simulation_time_ms (Token:mint_public): 89.6 (+60%)
  • avm_simulation_time_ms (Token:_increase_public_balance): 153 (+878%)
  • avm_simulation_time_ms (FPC:pay_refund_with_shielded_rebate): 111 (-39%)
  • node_history_sync_time_in_ms (5): 11,599 (+17%)
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,732 1,542 706 758 (+2%) 765 (-1%)
proof_construction_time_sha256_30_ms 11,754 (-1%) 3,147 1,413 1,445 (+1%) 1,466
proof_construction_time_sha256_100_ms 43,793 11,842 (-1%) ⚠️ 6,669 (+22%) 5,435 5,368
proof_construction_time_poseidon_hash_ms 78.0 34.0 34.0 58.0 87.0 (-1%)
proof_construction_time_poseidon_hash_30_ms 1,517 414 200 222 269 (+1%)
proof_construction_time_poseidon_hash_100_ms 5,616 1,517 678 734 744

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 708 708 708
l1_rollup_calldata_gas 6,600 6,594 6,588
l1_rollup_execution_gas 583,062 583,207 583,352
l2_block_processing_time_in_ms 772 (+3%) 1,603 (+13%) 2,720 (+1%)
l2_block_building_time_in_ms 13,300 (+2%) 26,409 (+1%) 50,720 (+1%)
l2_block_rollup_simulation_time_in_ms 13,299 (+2%) 26,409 (+1%) 50,719 (+1%)
l2_block_public_tx_process_time_in_ms 11,175 (+2%) 24,039 (+2%) 48,270

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 7,040 (-2%) ⚠️ 11,599 (+17%)
node_database_size_in_bytes 12,415,056 16,416,848
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 proof_size_in_bytes num_public_inputs size_in_gates
private-kernel-init 119 (+3%) 396 (+1%) 21,732 54,085 N/A N/A N/A N/A
private-kernel-inner 232 (+2%) 708 81,199 54,264 N/A N/A N/A N/A
private-kernel-tail 1,117 (-3%) 2,435 (-1%) 61,808 61,554 N/A N/A N/A N/A
base-parity 6.42 (-3%) 810 (+2%) 160 96.0 1,406 (-3%) 12,676 3.00 131,072
root-parity 107 (-2%) 122 (+6%) 64,860 96.0 31,256 (-2%) 12,676 3.00 4,194,304
base-rollup 4,227 (+1%) 4,825 (-1%) 180,315 632 43,566 (-1%) 13,476 28.0 4,194,304
root-rollup 151 (-1%) 126 (+10%) 51,261 652 29,045 13,412 26.0 4,194,304
public-kernel-setup 192 (-3%) 2,344 (-3%) 112,536 80,310 17,644 (-3%) 118,916 3,323 2,097,152
public-kernel-app-logic 152 (+1%) 3,373 (+2%) 112,536 80,310 10,358 (-1%) 118,916 3,323 1,048,576
public-kernel-tail 895 25,104 (-9%) 409,413 10,046 65,957 (-2%) 24,868 384 8,388,608
private-kernel-reset-tiny 301 (+1%) 993 (-1%) 77,007 53,954 N/A N/A N/A N/A
private-kernel-tail-to-public 6,655 (-1%) 2,879 (+2%) 777,415 1,632 N/A N/A N/A N/A
public-kernel-teardown 138 3,368 (+2%) 112,536 80,310 19,253 118,916 3,323 2,097,152
merge-rollup 58.3 (+2%) N/A 33,566 632 N/A N/A N/A N/A
undefined N/A N/A N/A N/A 164,672 (-3%) N/A N/A N/A

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
ContractClassRegisterer:register 1,312 9,344 397 (+1%) N/A N/A
ContractInstanceDeployer:deploy 1,376 9,344 24.8 (-1%) N/A N/A
MultiCallEntrypoint:entrypoint 1,888 9,344 626 (+1%) N/A N/A
GasToken:deploy 1,344 9,344 566 N/A N/A
SchnorrAccount:constructor 1,280 9,344 424 (-1%) N/A N/A
SchnorrAccount:entrypoint 2,272 9,344 774 (+1%) N/A N/A
Token:privately_mint_private_note 1,248 9,344 486 (-2%) N/A N/A
FPC:fee_entrypoint_public 1,312 9,344 98.7 N/A N/A
Token:transfer 1,280 9,344 1,454 (-1%) N/A N/A
AuthRegistry:set_authorized (avm) 19,222 N/A N/A 95,392 2,101 (-2%)
FPC:prepare_fee (avm) 26,664 N/A N/A 95,456 2,808 (-1%)
Token:transfer_public (avm) 42,914 N/A N/A 95,456 3,184 (-1%)
AuthRegistry:consume (avm) 33,100 N/A N/A 95,424 2,726 (-3%)
FPC:pay_refund (avm) 36,829 N/A N/A 95,424 10,809 (-2%)
Benchmarking:create_note 1,312 9,344 437 (+3%) N/A N/A
SchnorrAccount:verify_private_authwit 1,248 9,344 41.2 (-1%) N/A N/A
Token:unshield 1,344 9,344 1,186 N/A N/A
FPC:fee_entrypoint_private 1,344 9,344 1,542 (-1%) 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 96.5 (-3%) 13,790
GasToken:set_portal ⚠️ 16.4 (+40%) 3,339
Token:constructor 123 (-5%) 23,692
FPC:constructor 92.9 13,592
GasToken:mint_public 80.4 (-3%) 10,158
Token:mint_public ⚠️ 89.6 (+60%) 19,034
Token:assert_minter_and_mint 71.0 (+4%) 12,925
AuthRegistry:set_authorized 44.6 7,812
FPC:prepare_fee 121 (+10%) 15,062
Token:transfer_public 34.6 (-19%) 31,218
FPC:pay_refund 123 (-10%) 25,260
Benchmarking:increment_balance 1,364 (+2%) 15,267
Token:_increase_public_balance ⚠️ 153 (+878%) 15,006
FPC:pay_refund_with_shielded_rebate ⚠️ 111 (-39%) 26,347

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.159 (+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 10.5 (+2%) 16.9 (+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.611 (+2%) 0.520 (+1%) 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.4 131 (+1%) ⚠️ 291 (+18%) 466
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.491 0.463 0.448 0.528 (+19%) 0.437
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 60.7 (+2%) 111 182 396 (+12%) 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.513 (+2%) 0.498 0.481 0.536 (+12%) 0.474
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 75.6 (+4%) 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.537 (+4%) 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 76,847 667,838

Transaction size based on fee payment method

| Metric | |
| - | |

@AztecBot AztecBot force-pushed the release-please--branches--master branch 3 times, most recently from cc15a49 to 8b841fa Compare July 15, 2024 14:27
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 8b841fa to ed15cb4 Compare July 15, 2024 15:00
Copy link
Contributor

Changes to circuit sizes

Generated at commit: 91bfe51042ff2c0e144100ff15b12487e47b8280, compared to commit: cca2a9b393f781a2518e7fb6cbb376e4ae6fbd4e

🧾 Summary (100% most significant diffs)

Program ACIR opcodes (+/-) % Circuit size (+/-) %
private_kernel_empty_simulated 0 ➖ 0.00% +31 ❌ +7.97%
private_kernel_tail_simulated 0 ➖ 0.00% +31 ❌ +7.97%
public_kernel_tail_simulated 0 ➖ 0.00% +31 ❌ +7.97%
rollup_base +1,769 ❌ +0.52% +75,084 ❌ +2.00%
private_kernel_tail_to_public_simulated 0 ➖ 0.00% +16 ❌ +0.48%
public_kernel_app_logic_simulated 0 ➖ 0.00% +16 ❌ +0.48%
public_kernel_setup_simulated 0 ➖ 0.00% +16 ❌ +0.48%
public_kernel_teardown_simulated 0 ➖ 0.00% +16 ❌ +0.48%
private_kernel_empty +31 ❌ +1.74% +62 ❌ +0.01%
public_kernel_tail +367 ❌ +0.04% -17,564 ✅ -0.38%
public_kernel_teardown -226 ✅ -0.09% -26,997 ✅ -1.64%
public_kernel_setup -342 ✅ -0.19% -27,113 ✅ -1.71%
public_kernel_app_logic -226 ✅ -0.09% -27,093 ✅ -4.61%
private_kernel_tail_to_public -1,168 ✅ -1.88% -55,442 ✅ -11.17%
private_kernel_tail -1,694 ✅ -8.09% -74,828 ✅ -12.25%

Full diff report 👇
Program ACIR opcodes (+/-) % Circuit size (+/-) %
private_kernel_empty_simulated 1 (0) 0.00% 420 (+31) +7.97%
private_kernel_tail_simulated 1 (0) 0.00% 420 (+31) +7.97%
public_kernel_tail_simulated 1 (0) 0.00% 420 (+31) +7.97%
rollup_base 341,542 (+1,769) +0.52% 3,836,142 (+75,084) +2.00%
private_kernel_tail_to_public_simulated 1 (0) 0.00% 3,344 (+16) +0.48%
public_kernel_app_logic_simulated 1 (0) 0.00% 3,344 (+16) +0.48%
public_kernel_setup_simulated 1 (0) 0.00% 3,344 (+16) +0.48%
public_kernel_teardown_simulated 1 (0) 0.00% 3,344 (+16) +0.48%
private_kernel_empty 1,811 (+31) +1.74% 1,041,821 (+62) +0.01%
public_kernel_tail 965,693 (+367) +0.04% 4,645,487 (-17,564) -0.38%
public_kernel_teardown 241,730 (-226) -0.09% 1,618,002 (-26,997) -1.64%
public_kernel_setup 183,195 (-342) -0.19% 1,554,056 (-27,113) -1.71%
public_kernel_app_logic 240,368 (-226) -0.09% 560,162 (-27,093) -4.61%
private_kernel_tail_to_public 61,119 (-1,168) -1.88% 441,060 (-55,442) -11.17%
private_kernel_tail 19,234 (-1,694) -8.09% 536,096 (-74,828) -12.25%

@rahul-kothari rahul-kothari merged commit dcfb464 into master Jul 15, 2024
93 checks passed
@rahul-kothari rahul-kothari deleted the release-please--branches--master branch July 15, 2024 15:57
@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