Skip to content

chore(master): Release 0.41.0#6412

Merged
rahul-kothari merged 1 commit intomasterfrom
release-please--branches--master
May 21, 2024
Merged

chore(master): Release 0.41.0#6412
rahul-kothari merged 1 commit intomasterfrom
release-please--branches--master

Conversation

@AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented May 15, 2024

🤖 I have created a release beep boop

aztec-package: 0.41.0

0.41.0 (2024-05-21)

Miscellaneous

  • aztec-package: Synchronize aztec-packages versions
barretenberg.js: 0.41.0

0.41.0 (2024-05-21)

Features

  • Vk_as_fields, proof_as_fields flows for honk (#6406) (a6100ad)

Miscellaneous

aztec-packages: 0.41.0

0.41.0 (2024-05-21)

⚠ BREAKING CHANGES

  • compile-time incorrect exec environment errors (#6442)
  • add is_infinite to curve addition opcode (#6384)
  • remove backend interactions from nargo (#6320)

Features

Bug Fixes

Miscellaneous

Documentation

barretenberg: 0.41.0

0.41.0 (2024-05-21)

⚠ BREAKING CHANGES

  • add is_infinite to curve addition opcode (#6384)

Features

Bug Fixes

Miscellaneous

  • Add c++ tests for generator derivation (#6528) (72931bd)
  • Bump maximum nullifier read requests (necessary for e2e tests in AVM) (#6462) (26eac62)
  • Bump maximum nullifier read requests (necessary for e2e tests in AVM) (#6495) (90d8092)
  • Copy subset of constants to cpp (#6544) (21dc72a)
  • Lower max public bytecode to 20k (#6477) (ce192f0)
  • Parameterise cycle_group by Builder rather than Composer (#6565) (ea36bf9)
  • Private call validation (#6510) (07dc072)
  • Share decider with ultra_prover (#5467) (b3b7376)

Documentation


This PR was generated with Release Please. See documentation.

@AztecBot AztecBot force-pushed the release-please--branches--master branch 3 times, most recently from 91b1386 to 10e6eb4 Compare May 15, 2024 11:49
@AztecBot
Copy link
Collaborator Author

AztecBot commented May 15, 2024

Benchmark results

No base data found for comparison.

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 5,709 1,572 712 766 776

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,808 6,844 6,856
l1_rollup_execution_gas 587,348 587,384 587,396
l2_block_processing_time_in_ms 1,325 5,067 10,016
l2_block_building_time_in_ms 33,795 136,381 272,399
l2_block_rollup_simulation_time_in_ms 33,610 135,737 271,120
l2_block_public_tx_process_time_in_ms 20,669 85,704 171,288

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,258 28,532
node_database_size_in_bytes 21,344,336 38,064,208
pxe_database_size_in_bytes 29,868 59,425

Circuits stats

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

Circuit protocol_circuit_simulation_time_in_ms protocol_circuit_witness_generation_time_in_ms protocol_circuit_proving_time_in_ms protocol_circuit_input_size_in_bytes protocol_circuit_output_size_in_bytes protocol_circuit_proof_size_in_bytes protocol_circuit_num_public_inputs protocol_circuit_size_in_gates
private-kernel-init 161 3,627 22,391 19,960 61,343 86,720 2,643 1,048,576
private-kernel-inner 603 4,989 40,816 88,229 61,204 86,720 2,643 2,097,152
private-kernel-reset-small 580 2,397 23,090 117,961 61,999 86,720 2,643 1,048,576
private-kernel-tail 534 3,974 37,803 86,849 79,454 10,688 267 2,097,152
base-parity 8.19 291 8,006 128 64.0 2,208 2.00 131,072
root-parity 50.9 213 98,972 27,064 64.0 2,720 18.0 2,097,152
base-rollup 799 6,179 90,502 111,156 955 3,120 31.0 2,097,152
root-rollup 90.7 156 11,787 11,507 815 3,440 41.0 524,288
public-kernel-app-logic 247 320 667 96,623 84,789 100,838 3,572 4,096
public-kernel-tail 886 612 664 381,077 7,753 10,160 251 512
public-kernel-setup 187 471 634 116,399 79,160 100,438 3,572 4,096
public-kernel-teardown 198 302 719 124,673 80,432 103,440 3,572 4,096
private-kernel-reset 681 N/A N/A 219,992 46,118 N/A N/A N/A
private-kernel-ordering 445 N/A N/A 70,968 45,252 N/A N/A N/A
merge-rollup 6.56 102 2,506 2,760 957 3,120 31.0 65,536
private-kernel-tail-to-public N/A 9,692 72,443 N/A N/A 116,960 3,588 4,194,304

Stats on running time collected for app circuits

Function app_circuit_proof_size_in_bytes app_circuit_proving_time_in_ms app_circuit_size_in_gates app_circuit_num_public_inputs
SchnorrAccount:entrypoint 16,128 47,264 2,097,152 437
Test:emit_nullifier 16,128 1,803 65,536 437
FPC:fee_entrypoint_public 16,128 9,249 524,288 437
FPC:fee_entrypoint_private 16,128 8,938 524,288 437
Token:unshield 16,128 47,717 2,097,152 437
SchnorrAccount:spend_private_authwit 16,128 2,639 131,072 437
Token:transfer 16,128 34,960 2,097,152 437

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.5 18.7 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.7 31.8 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.668 0.574 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 52.7 81.2 261 505 987 1,947 N/A
batch_insert_into_append_only_tree_32_depth_hash_count N/A N/A 95.9 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.540 0.501 0.474 0.471 0.468 0.466 N/A
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 63.4 119 367 741 1,471 2,922 N/A
batch_insert_into_indexed_tree_20_depth_hash_count N/A N/A 106 208 692 1,363 2,707 5,395 N/A
batch_insert_into_indexed_tree_20_depth_hash_ms N/A N/A 0.549 0.535 0.499 0.510 0.509 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 68.2
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.595

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 83,961 766,866

Transaction size based on fee payment method

| Metric | |
| - | |

Transaction processing duration by data writes.

Metric 0 new note hashes 1 new note hashes 2 new note hashes
tx_pxe_processing_time_ms 21,182 4,271 99,543
Metric 0 public data writes 1 public data writes 2 public data writes 4 public data writes 8 public data writes
tx_sequencer_processing_time_ms 1,136 2,691 1,837 2,873 1,785

@AztecBot AztecBot force-pushed the release-please--branches--master branch 25 times, most recently from 160e79a to 2c59deb Compare May 16, 2024 11:10
@AztecBot AztecBot force-pushed the release-please--branches--master branch 9 times, most recently from a2a9460 to eeb9875 Compare May 17, 2024 10:04
@AztecBot AztecBot changed the title chore(master): Release 0.40.2 chore(master): Release 0.41.0 May 17, 2024
@AztecBot AztecBot force-pushed the release-please--branches--master branch 13 times, most recently from 42d20b6 to c4f64c1 Compare May 17, 2024 22:40
@github-actions
Copy link
Contributor

Changes to circuit sizes

Generated at commit: c0c771bbee85caa63a5fb30b498013ce4e40c52d, compared to commit: 23e0518fc46eb7308f93e65df7080278c2d732cf

🧾 Summary (100% most significant diffs)

Program ACIR opcodes (+/-) % Circuit size (+/-) %
private_kernel_inner -1 ✅ -0.00% -311 ✅ -0.02%
public_kernel_teardown -1 ✅ -0.00% -309 ✅ -0.05%
public_kernel_setup -1 ✅ -0.00% -309 ✅ -0.05%
public_kernel_app_logic -1 ✅ -0.00% -590 ✅ -0.07%
private_kernel_init -2 ✅ -0.00% -900 ✅ -0.11%

Full diff report 👇
Program ACIR opcodes (+/-) % Circuit size (+/-) %
private_kernel_inner 262,668 (-1) -0.00% 1,712,375 (-311) -0.02%
public_kernel_teardown 223,523 (-1) -0.00% 667,881 (-309) -0.05%
public_kernel_setup 223,317 (-1) -0.00% 667,588 (-309) -0.05%
public_kernel_app_logic 251,897 (-1) -0.00% 796,956 (-590) -0.07%
private_kernel_init 228,119 (-2) -0.00% 835,753 (-900) -0.11%

@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.

refactor(Misc): Purge the "secret" and "open" keywords

2 participants