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

test to check gates report #3728

Closed
wants to merge 1 commit into from
Closed

test to check gates report #3728

wants to merge 1 commit into from

Conversation

sirasistant
Copy link
Collaborator

Please provide a paragraph or two giving a summary of the change, including relevant motivation and context.

Checklist:

Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

  • If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
  • I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
  • Every change is related to the PR description.
  • I have linked this pull request to relevant issues (if any exist).

Copy link
Contributor

Changes to circuit sizes

Generated at commit: 9e5fca925e808e00a6fe2f1bec53d1f50bfe5a47, compared to commit: c0a24fb6cab1f401bd93352ef544d763804cee52

🧾 Summary (0% most significant diffs)

Program ACIR opcodes (+/-) % Circuit size (+/-) %
rollup_root -136 ✅ -5.95% -1,624 ✅ -1.56%

Full diff report 👇
Program ACIR opcodes (+/-) % Circuit size (+/-) %
rollup_root 2,150 (-136) -5.95% 102,268 (-1,624) -1.56%

@AztecBot
Copy link
Collaborator

Benchmark results

No metrics with a significant change found.

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.

Values are compared against data from master at commit a60b71a5 and shown if the difference exceeds 1%.

L2 block published to L1

Each column represents the number of txs on an L2 block published to L1.

Metric 8 txs 32 txs 128 txs
l1_rollup_calldata_size_in_bytes 45,444 179,588 716,132
l1_rollup_calldata_gas 222,996 868,172 3,447,884
l1_rollup_execution_gas 842,083 3,595,280 22,203,546
l2_block_processing_time_in_ms 1,327 (-1%) 5,248 (+3%) 21,105
note_successful_decrypting_time_in_ms 338 (-1%) 1,063 (-4%) 3,906 (+2%)
note_trial_decrypting_time_in_ms 48.9 (-8%) 40.8 (+9%) 143 (+4%)
l2_block_building_time_in_ms 14,253 (+5%) 56,192 (+4%) 226,947 (+4%)
l2_block_rollup_simulation_time_in_ms 10,530 (+5%) 41,429 (+4%) 168,440 (+5%)
l2_block_public_tx_process_time_in_ms 3,691 (+5%) 14,691 (+5%) 58,274 (+4%)

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,491 (-4%) 29,829 (+2%)
note_history_successful_decrypting_time_in_ms 2,486 (-2%) 5,075
note_history_trial_decrypting_time_in_ms 91.9 (+8%) 145 (+4%)
node_database_size_in_bytes 3,917,227 4,259,044
pxe_database_size_in_bytes 29,940 59,499

Circuits stats

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

Circuit circuit_simulation_time_in_ms circuit_input_size_in_bytes circuit_output_size_in_bytes
private-kernel-init 204 (+2%) 43,109 20,441
private-kernel-ordering 116 (+1%) 25,833 9,689
base-rollup 2,125 (+3%) 244,144 881
root-rollup 66.1 (-25%) 4,088 889
private-kernel-inner 267 (+3%) 64,516 20,441
public-kernel-private-input 176 (+2%) 25,203 20,441
public-kernel-non-first-iteration 175 (+2%) 25,245 20,441
merge-rollup 11.4 2,608 881

Miscellaneous

Transaction sizes based on how many contracts are deployed in the tx.

Metric 0 deployed contracts 1 deployed contracts
tx_size_in_bytes 10,323 26,359

@ludamad ludamad deleted the arv/test_gate_count branch August 22, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants