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: format #5728

Merged
merged 1 commit into from
Apr 12, 2024
Merged

chore: format #5728

merged 1 commit into from
Apr 12, 2024

Conversation

IlyasRidhuan
Copy link
Contributor

Please read contributing guidelines and remove this line.

@IlyasRidhuan IlyasRidhuan requested a review from jeanmon April 12, 2024 13:11
@jeanmon jeanmon merged commit 937bd7c into jm/5641-enable-range-alu Apr 12, 2024
43 of 46 checks passed
@jeanmon jeanmon deleted the ir/run_formatter branch April 12, 2024 13:16
@AztecBot
Copy link
Collaborator

Benchmark results

Metrics with a significant change:

  • tx_sequencer_processing_time_ms (5): 1,326 (-36%)
  • note_successful_decrypting_time_in_ms (8): 242 (-17%)
  • note_trial_decrypting_time_in_ms (32): 97.7 (+207%)
  • note_trial_decrypting_time_in_ms (64): 91.6 (+162%)
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.

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,796 6,784 6,796
l1_rollup_execution_gas 587,277 587,265 587,277
l2_block_processing_time_in_ms 1,411 (-2%) 5,132 (-3%) 10,334 (-3%)
note_successful_decrypting_time_in_ms ⚠️ 242 (-17%) 588 (+12%) 976 (-12%)
note_trial_decrypting_time_in_ms 45.4 (-52%) ⚠️ 97.7 (+207%) ⚠️ 91.6 (+162%)
l2_block_building_time_in_ms 10,911 38,961 78,165
l2_block_rollup_simulation_time_in_ms 10,712 38,276 76,830
l2_block_public_tx_process_time_in_ms 5,318 20,826 41,495 (-1%)

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,167 29,105
note_history_successful_decrypting_time_in_ms 1,238 (+4%) 2,261 (-3%)
note_history_trial_decrypting_time_in_ms 59.0 (+18%) 125 (+25%)
node_database_size_in_bytes 18,722,896 35,070,032
pxe_database_size_in_bytes 29,859 59,414

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 151 44,561 26,424
private-kernel-inner 155 (+1%) 72,188 26,424
private-kernel-ordering 108 51,090 39,297
base-parity 3,910 (-1%) 128 311
root-parity 1,070 (-3%) 1,244 311
base-rollup 13,548 110,820 957
root-rollup 49.4 4,551 821
public-kernel-app-logic 81.8 (-1%) 48,151 40,933
public-kernel-tail 120 (-1%) 53,644 7,385
merge-rollup 10.9 (-1%) 2,760 957
public-kernel-teardown 76.8 (-25%) 48,151 40,933
public-kernel-setup 76.4 (-26%) 48,151 40,933

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.0 17.5 (-2%) 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.8 31.6 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.642 0.543 (-2%) 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 50.7 (-1%) 80.3 258 (-1%) 494 (-2%) 974 1,980 (+1%) N/A
batch_insert_into_append_only_tree_32_depth_hash_count N/A N/A 96.0 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.520 (-1%) 0.496 0.471 0.462 (-2%) 0.464 0.475 (+1%) N/A
batch_insert_into_indexed_tree_20_depth_ms N/A N/A 59.4 (-1%) 119 372 (-1%) 729 (-1%) 1,450 2,909 N/A
batch_insert_into_indexed_tree_20_depth_hash_count N/A N/A 105 207 691 1,363 2,707 5,395 N/A
batch_insert_into_indexed_tree_20_depth_hash_ms N/A N/A 0.527 (-1%) 0.538 0.508 0.502 (-1%) 0.504 0.508 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 66.6 (-1%)
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.583 (-1%)

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 41,005 528,889

Transaction size based on fee payment method

Metric native fee payment method fpc_public fee payment method fpc_private fee payment method
tx_with_fee_size_in_bytes 905 1,161 1,377

Transaction processing duration by data writes.

Metric 0 new note hashes 1 new note hashes 2 new note hashes
tx_pxe_processing_time_ms 1,156 (+1%) 780 (-1%) 3,353 (-3%)
Metric 1 public data writes 2 public data writes 3 public data writes 4 public data writes 5 public data writes 8 public data writes
tx_sequencer_processing_time_ms 453 (-1%) 301 (-1%) 800 (-2%) 391 (-2%) ⚠️ 1,326 (-36%) 453 (-2%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants