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 a907c3b9 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
220,992
865,964
3,447,944
l1_rollup_execution_gas
934,136
3,968,438
24,791,480
l2_block_processing_time_in_ms
1,490 (-1%)
5,170 (+1%)
21,320 (+3%)
note_successful_decrypting_time_in_ms
319 (+4%)
964 (+2%)
3,514 (+3%)
note_trial_decrypting_time_in_ms
29.0 (+57%)
90.5 (+26%)
143 (+4%)
l2_block_building_time_in_ms
14,948
59,549
238,914
l2_block_rollup_simulation_time_in_ms
10,552
42,147
169,554
l2_block_public_tx_process_time_in_ms
4,362
17,294
69,066
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,907 (-3%)
28,684 (-3%)
note_history_successful_decrypting_time_in_ms
2,182 (-3%)
4,271 (-3%)
note_history_trial_decrypting_time_in_ms
113 (-20%)
165 (-9%)
node_database_size_in_bytes
3,626,954
⚠️ 3,725,202 (-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
43,753
14,809
base-rollup
1,068
128,338
881
root-rollup
81.2
4,088
709
private-kernel-inner
291
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.43
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.2 (-1%)
90.8 (-22%)
13.5 (-2%)
17.7 (-2%)
25.6 (+2%)
50.3 (-1%)
89.7 (-2%)
242 (-7%)
468 (-1%)
918
3,579
batch_insert_into_indexed_tree_ms
N/A
N/A
N/A
64.4
N/A
59.9 (+1%)
112 (+2%)
485 (-2%)
729 (-1%)
1,419 (+1%)
5,623 (+1%)
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.
No description provided.