You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 fd1f619f 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
221,028
866,312
3,446,312
l1_rollup_execution_gas
934,172
3,968,786
24,789,848
l2_block_processing_time_in_ms
1,552 (+1%)
5,101 (-1%)
21,323
note_successful_decrypting_time_in_ms
307 (-11%)
938 (-3%)
3,406 (-3%)
note_trial_decrypting_time_in_ms
17.9 (-66%)
64.9 (-29%)
136 (-3%)
l2_block_building_time_in_ms
16,018 (+7%)
63,764 (+7%)
255,104 (+7%)
l2_block_rollup_simulation_time_in_ms
11,630 (+10%)
46,357 (+10%)
185,892 (+10%)
l2_block_public_tx_process_time_in_ms
4,354
17,310
68,823 (-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
14,989 (-2%)
28,718 (-1%)
note_history_successful_decrypting_time_in_ms
2,186 (-4%)
4,251 (-7%)
note_history_trial_decrypting_time_in_ms
121 (-23%)
160 (-29%)
node_database_size_in_bytes
3,623,248
⚠️ 3,731,075 (-30%)
pxe_database_size_in_bytes
29,923
59,478
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
213
44,681
25,561
private-kernel-ordering
165 (-1%)
43,753
14,809
base-rollup
1,198 (+13%)
128,338
881
root-rollup
80.2 (-3%)
4,088
709
private-kernel-inner
292
71,208
25,561
public-kernel-private-input
205
31,863
25,561
public-kernel-non-first-iteration
203
31,905
25,561
merge-rollup
8.21 (-1%)
2,608
881
Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.
Metric
1 leaves
2 leaves
8 leaves
16 leaves
32 leaves
64 leaves
128 leaves
512 leaves
1024 leaves
2048 leaves
8192 leaves
batch_insert_into_append_only_tree_ms
11.1 (-1%)
17.3 (+3%)
14.4 (+4%)
17.8 (-1%)
23.9
49.9 (-1%)
87.2 (+13%)
244
468 (-1%)
910 (-1%)
3,614 (+1%)
batch_insert_into_indexed_tree_ms
N/A
N/A
N/A
63.8 (-2%)
N/A
59.5 (-1%)
110 (-1%)
359 (-1%)
738
1,412
5,578
Miscellaneous
Transaction sizes based on how many contracts are deployed in the tx.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please read contributing guidelines and remove this line.