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.51.1 #8218

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Conversation

AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Aug 27, 2024

🤖 I have created a release beep boop

aztec-package: 0.51.1

0.51.1 (2024-08-29)

Features

barretenberg.js: 0.51.1

0.51.1 (2024-08-29)

Miscellaneous

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

0.51.1 (2024-08-29)

Features

Bug Fixes

Miscellaneous

Documentation

barretenberg: 0.51.1

0.51.1 (2024-08-29)

Features

Bug Fixes

Miscellaneous

  • avm: Replace range and cmp with gadgets (#8164) (cc12558)
  • bb: Use std::span in pippenger for scalars (#8269) (2323cd5)

This PR was generated with Release Please. See documentation.

@AztecBot AztecBot force-pushed the release-please--branches--master branch 2 times, most recently from 0edbc95 to 74b5021 Compare August 27, 2024 14:47
@AztecBot
Copy link
Collaborator Author

AztecBot commented Aug 27, 2024

Benchmark results

Metrics with a significant change:

  • avm_simulation_time_ms (Token:mint_public): 322 (+546%)
  • avm_simulation_time_ms (Token:assert_minter_and_mint): 44.4 (-86%)
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,737 1,560 712 765 (-1%) 776 (+1%)
proof_construction_time_sha256_30_ms 11,768 (+3%) 3,129 (+2%) 1,418 (+3%) 1,470 (+2%) 1,492 (+2%)
proof_construction_time_sha256_100_ms 44,174 11,824 5,455 5,993 (+10%) 6,240 (+10%)
proof_construction_time_poseidon_hash_ms 79.0 34.0 34.0 58.0 88.0
proof_construction_time_poseidon_hash_30_ms 1,530 421 203 232 (+3%) 268
proof_construction_time_poseidon_hash_100_ms 5,646 1,510 670 (-1%) 745 (+2%) 749 (+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,356 7,876 14,884
l1_rollup_calldata_gas 50,220 92,990 178,108
l1_rollup_execution_gas 845,554 1,579,220 3,364,394
l2_block_processing_time_in_ms 259 449 822 (-4%)
l2_block_building_time_in_ms 11,411 22,407 44,571
l2_block_rollup_simulation_time_in_ms 11,411 22,407 44,571
l2_block_public_tx_process_time_in_ms 9,733 20,701 42,820

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 3,047 (+2%) 3,926
node_database_size_in_bytes 12,611,664 16,719,952
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 91.6 397 (-4%) 21,735 44,860 N/A
private-kernel-inner 178 (-1%) 708 72,544 45,007 N/A
private-kernel-reset-tiny 314 (+1%) 728 (+1%) 65,593 44,846 N/A
private-kernel-tail 167 (+1%) 138 (-2%) 50,644 52,257 N/A
base-parity 5.62 (+1%) N/A 160 96.0 N/A
root-parity 35.3 N/A 73,948 96.0 N/A
base-rollup 2,935 N/A 189,136 664 N/A
block-root-rollup 41.4 N/A 58,205 2,448 N/A
public-kernel-setup 85.1 (+1%) N/A 105,085 71,222 N/A
public-kernel-app-logic 97.9 N/A 104,911 71,222 N/A
public-kernel-tail 862 N/A 390,582 16,414 N/A
private-kernel-reset-small 310 (+1%) N/A 66,341 45,629 N/A
private-kernel-tail-to-public 664 (-1%) 620 455,400 1,825 N/A
public-kernel-teardown 84.9 (+1%) N/A 105,349 71,222 N/A
merge-rollup 20.4 (+1%) N/A 38,174 664 N/A
undefined N/A N/A N/A N/A 78,951 (+1%)

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 342 (-1%)
ContractInstanceDeployer:deploy 1,408 11,731 18.2
MultiCallEntrypoint:entrypoint 1,920 11,731 404
FeeJuice:deploy 1,376 11,731 388
SchnorrAccount:constructor 1,312 11,731 73.4
SchnorrAccount:entrypoint 2,336 11,731 395
Token:privately_mint_private_note 1,280 11,731 107 (+5%)
FPC:fee_entrypoint_public 1,344 11,731 26.9 (+6%)
Token:transfer 1,312 11,731 229 (-1%)
Benchmarking:create_note 1,344 11,731 85.7 (+1%)
SchnorrAccount:verify_private_authwit 1,280 11,731 27.6
Token:unshield 1,376 11,731 521
FPC:fee_entrypoint_private 1,376 11,731 694 (+1%)

AVM Simulation

Time to simulate various public functions in the AVM.

Function time_ms bytecode_size_in_bytes
FeeJuice:_increase_public_balance 57.1 (+1%) 8,174
FeeJuice:set_portal 12.4 (+7%) 4,055
Token:constructor 80.9 (-2%) 29,082
FPC:constructor 54.6 (+1%) 18,940
FeeJuice:mint_public 41.0 6,522
Token:mint_public ⚠️ 322 (+546%) 12,704
Token:assert_minter_and_mint ⚠️ 44.4 (-86%) 8,467
AuthRegistry:set_authorized 48.7 4,194
FPC:prepare_fee 237 (-4%) 6,747
Token:transfer_public 35.9 (+23%) 39,863
FPC:pay_refund 61.4 (-3%) 9,398
Benchmarking:increment_balance 1,222 7,263
Token:_increase_public_balance 41.9 8,686
FPC:pay_refund_with_shielded_rebate 62.3 (+2%) 9,881

Public DB Access

Time to access various public DBs.

Function time_ms
get-nullifier-index 0.159 (+1%)

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.17 3.88 (+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.113 0.110 N/A N/A N/A N/A N/A
batch_insert_into_append_only_tree_32_depth_ms N/A N/A 11.2 (-2%) 17.6 (-1%) 30.8 59.3 112 (-6%)
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.107 (-3%) 0.102 (-1%) 0.100 0.102 0.100 (-6%)
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 14.9 (+1%) 25.7 43.8 (+1%) 83.0 160 (-2%)
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.113 (+2%) 0.103 0.106 0.103 0.101 (-1%)
batch_insert_into_indexed_tree_40_depth_ms N/A N/A 16.7 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.107 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 26 times, most recently from 52c07a7 to b97a488 Compare August 29, 2024 09:29
@AztecBot AztecBot force-pushed the release-please--branches--master branch 10 times, most recently from 12492ac to e42eacb Compare August 29, 2024 18:51
@TomAFrench
Copy link
Member

Merging this so we can sync out to Noir.

@TomAFrench TomAFrench enabled auto-merge (squash) August 29, 2024 19:13
@AztecBot AztecBot force-pushed the release-please--branches--master branch 6 times, most recently from 400600b to 866de3f Compare August 29, 2024 21:33
@AztecBot AztecBot force-pushed the release-please--branches--master branch from 866de3f to 500789d Compare August 29, 2024 21:56
@TomAFrench TomAFrench merged commit ed7c7da into master Aug 29, 2024
101 checks passed
@TomAFrench TomAFrench deleted the release-please--branches--master branch August 29, 2024 22:58
@AztecBot
Copy link
Collaborator Author

@AztecBot
Copy link
Collaborator Author

@AztecBot
Copy link
Collaborator Author

@AztecBot
Copy link
Collaborator Author

TomAFrench added a commit that referenced this pull request Aug 30, 2024
* master: (28 commits)
  chore: bump noir-bignum to 0.3.2 (#8276)
  feat: Populate epoch 0 from initial validator set (#8286)
  git subrepo push --branch=master noir-projects/aztec-nr
  git_subrepo.sh: Fix parent in .gitrepo file. [skip ci]
  chore: replace relative paths to noir-protocol-circuits
  git subrepo push --branch=master barretenberg
  chore(master): Release 0.51.1 (#8218)
  feat(avm): integrate new range and cmp gadgets (#8165)
  chore: rename process to propose for clarity (#8265)
  chore: Bump provernet agents to 8 and speed up bot (#8280)
  feat(avm): avm recursive verifier cpp (#8162)
  feat: moving fee payout + make proof submission sequential (#8262)
  feat: Block cheat codes in anvil (#8277)
  feat: wallet tx management (#8246)
  refactor(avm): replace range and cmp with gadgets (#8164)
  fix(docs): Update entrypoint details on accounts page (#8184)
  feat: l1-publisher cleanup (#8148)
  feat(avm): range check gadget (#7967)
  fix(ci): spot-runner-action was not built (#8274)
  fix: ts codegen (#8267)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants