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

fix: deploy_defaults for canary-end #2854

Merged
merged 1 commit into from
Oct 13, 2023
Merged

fix: deploy_defaults for canary-end #2854

merged 1 commit into from
Oct 13, 2023

Conversation

spypsy
Copy link
Member

@spypsy spypsy commented Oct 13, 2023

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

@spypsy spypsy enabled auto-merge (squash) October 13, 2023 17:13
@spypsy spypsy merged commit 7b189a8 into master Oct 13, 2023
2 checks passed
@spypsy spypsy deleted the spy/fix-ci-config branch October 13, 2023 17:32
@AztecBot
Copy link
Collaborator

Benchmark 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 bd190435 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 223,008 867,248 3,449,492
l1_rollup_execution_gas 842,095 3,594,356 22,204,861
l2_block_processing_time_in_ms 1,014 3,822 (-2%) 15,098 (-2%)
note_successful_decrypting_time_in_ms 317 (-2%) 963 (-3%) 3,557 (-2%)
note_trial_decrypting_time_in_ms ⚠️ 21.0 (-12%) ⚠️ 72.0 (-25%) 137
l2_block_building_time_in_ms 8,804 (-2%) 35,075 (-2%) 146,831 (-3%)
l2_block_rollup_simulation_time_in_ms 6,538 (-2%) 26,064 (-2%) 103,658 (-2%)
l2_block_public_tx_process_time_in_ms 2,227 (-2%) 8,889 (-2%) 42,532 (-5%)

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 14,123 (+2%) 31,222 (+3%)
note_history_successful_decrypting_time_in_ms 2,325 (+2%) 4,573 (-1%)
note_history_trial_decrypting_time_in_ms 124 (+1%) ⚠️ 203 (+37%)
node_database_size_in_bytes 1,651,874 1,196,703
pxe_database_size_in_bytes 27,188 54,187

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 43.2 (-1%) 56,577 14,745
private-kernel-ordering 21.3 20,137 8,089
base-rollup 852 631,605 811
root-rollup 37.7 (-2%) 4,072 1,097
private-kernel-inner 35.1 (-1%) 72,288 14,745
public-kernel-private-input 46.9 37,359 14,745
public-kernel-non-first-iteration 27.8 (-1%) 37,401 14,745
merge-rollup 0.870 (-1%) 2,592 873

Miscellaneous

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

Metric 0 deployed contracts 1 deployed contracts
tx_size_in_bytes 8,723 27,094

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.

3 participants