feat(docs): Function transforms (hidden macros)
Closes https://github.com/AztecProtocol/dev-rel/issues/309
Blocked by https://github.com/AztecProtocol/aztec-packages/pull/7640
Changes to circuit sizes
Generated at commit: aed41305ddaa7061b44365fa4372ad532fe37bb2, compared to commit: 5bcc1365830cb862e9d0be90fef9298083058c4a
๐งพ Summary (100% most significant diffs)
| Program | ACIR opcodes (+/-) | % | Circuit size (+/-) | % |
|---|---|---|---|---|
| private_kernel_empty | -26 โ | -1.35% | +1,033,495 โ | +11831.65% |
| private_kernel_tail_to_public | +429 โ | +0.58% | +283,300 โ | +161.97% |
| private_kernel_tail | +2,134 โ | +11.49% | +285,535 โ | +112.45% |
| private_kernel_reset | -4 โ | -0.00% | +447,066 โ | +91.34% |
| private_kernel_reset_big | -4 โ | -0.00% | +223,610 โ | +79.68% |
| private_kernel_reset_medium | -4 โ | -0.01% | +111,882 โ | +63.48% |
| parity_base | -2 โ | -0.57% | +28,854 โ | +56.62% |
| private_kernel_reset_small | -4 โ | -0.01% | +56,018 โ | +45.12% |
| private_kernel_reset_tiny | -4 โ | -0.01% | +28,086 โ | +28.60% |
| private_kernel_init | -29 โ | -0.10% | +9,012 โ | +23.18% |
| private_kernel_inner | -12 โ | -0.02% | +3,604 โ | +5.38% |
| public_kernel_app_logic | -7,430 โ | -2.52% | +29,369 โ | +4.93% |
| public_kernel_setup | -5,918 โ | -2.73% | +28,784 โ | +1.83% |
| public_kernel_teardown | -7,430 โ | -2.51% | +27,266 โ | +1.65% |
| rollup_merge | -2 โ | -0.07% | -2,107 โ | -0.10% |
| parity_root | -1 โ | -0.02% | -5,884 โ | -0.14% |
| private_kernel_init_simulated | 0 โ | 0.00% | -5 โ | -0.23% |
| private_kernel_inner_simulated | 0 โ | 0.00% | -5 โ | -0.23% |
| private_kernel_reset_simulated | 0 โ | 0.00% | -5 โ | -0.23% |
| private_kernel_reset_simulated_big | 0 โ | 0.00% | -5 โ | -0.23% |
| private_kernel_reset_simulated_medium | 0 โ | 0.00% | -5 โ | -0.23% |
| private_kernel_reset_simulated_small | 0 โ | 0.00% | -5 โ | -0.23% |
| private_kernel_reset_simulated_tiny | 0 โ | 0.00% | -5 โ | -0.23% |
| rollup_root | -41 โ | -0.95% | -33,971 โ | -1.07% |
| rollup_base_simulated | 0 โ | 0.00% | -1 โ | -2.94% |
| public_kernel_app_logic_simulated | 0 โ | 0.00% | -178 โ | -4.92% |
| public_kernel_setup_simulated | 0 โ | 0.00% | -178 โ | -4.92% |
| public_kernel_teardown_simulated | 0 โ | 0.00% | -178 โ | -4.92% |
| private_kernel_tail_to_public_simulated | 0 โ | 0.00% | -181 โ | -5.00% |
| public_kernel_tail_simulated | 0 โ | 0.00% | -26 โ | -5.83% |
| private_kernel_empty_simulated | 0 โ | 0.00% | -29 โ | -6.46% |
| private_kernel_tail_simulated | 0 โ | 0.00% | -29 โ | -6.46% |
| empty_nested | 0 โ | +โ% | -3 โ | -37.50% |
| empty_nested_simulated | 0 โ | 0.00% | -3 โ | -37.50% |
| public_kernel_tail | -38,348 โ | -3.82% | -4,625,400 โ | -49.88% |
| rollup_base | -2,998 โ | -0.87% | -4,772,520 โ | -55.44% |
Full diff report ๐
| Program | ACIR opcodes (+/-) | % | Circuit size (+/-) | % |
|---|---|---|---|---|
| private_kernel_empty | 1,893ย (-26) | -1.35% | 1,042,230ย (+1,033,495) | +11831.65% |
| private_kernel_tail_to_public | 74,832ย (+429) | +0.58% | 458,209ย (+283,300) | +161.97% |
| private_kernel_tail | 20,699ย (+2,134) | +11.49% | 539,468ย (+285,535) | +112.45% |
| private_kernel_reset | 108,938ย (-4) | -0.00% | 936,494ย (+447,066) | +91.34% |
| private_kernel_reset_big | 81,634ย (-4) | -0.00% | 504,246ย (+223,610) | +79.68% |
| private_kernel_reset_medium | 67,981ย (-4) | -0.01% | 288,121ย (+111,882) | +63.48% |
| parity_base | 347ย (-2) | -0.57% | 79,811ย (+28,854) | +56.62% |
| private_kernel_reset_small | 61,154ย (-4) | -0.01% | 180,162ย (+56,018) | +45.12% |
| private_kernel_reset_tiny | 57,742ย (-4) | -0.01% | 126,272ย (+28,086) | +28.60% |
| private_kernel_init | 28,592ย (-29) | -0.10% | 47,896ย (+9,012) | +23.18% |
| private_kernel_inner | 50,007ย (-12) | -0.02% | 70,555ย (+3,604) | +5.38% |
| public_kernel_app_logic | 287,026ย (-7,430) | -2.52% | 625,357ย (+29,369) | +4.93% |
| public_kernel_setup | 211,049ย (-5,918) | -2.73% | 1,605,206ย (+28,784) | +1.83% |
| public_kernel_teardown | 288,636ย (-7,430) | -2.51% | 1,684,428ย (+27,266) | +1.65% |
| rollup_merge | 2,850ย (-2) | -0.07% | 2,092,928ย (-2,107) | -0.10% |
| parity_root | 5,029ย (-1) | -0.02% | 4,173,282ย (-5,884) | -0.14% |
| private_kernel_init_simulated | 1ย (0) | 0.00% | 2,170ย (-5) | -0.23% |
| private_kernel_inner_simulated | 1ย (0) | 0.00% | 2,170ย (-5) | -0.23% |
| private_kernel_reset_simulated | 1ย (0) | 0.00% | 2,170ย (-5) | -0.23% |
| private_kernel_reset_simulated_big | 1ย (0) | 0.00% | 2,170ย (-5) | -0.23% |
| private_kernel_reset_simulated_medium | 1ย (0) | 0.00% | 2,170ย (-5) | -0.23% |
| private_kernel_reset_simulated_small | 1ย (0) | 0.00% | 2,170ย (-5) | -0.23% |
| private_kernel_reset_simulated_tiny | 1ย (0) | 0.00% | 2,170ย (-5) | -0.23% |
| rollup_root | 4,296ย (-41) | -0.95% | 3,145,771ย (-33,971) | -1.07% |
| rollup_base_simulated | 1ย (0) | 0.00% | 33ย (-1) | -2.94% |
| public_kernel_app_logic_simulated | 1ย (0) | 0.00% | 3,440ย (-178) | -4.92% |
| public_kernel_setup_simulated | 1ย (0) | 0.00% | 3,440ย (-178) | -4.92% |
| public_kernel_teardown_simulated | 1ย (0) | 0.00% | 3,440ย (-178) | -4.92% |
| private_kernel_tail_to_public_simulated | 1ย (0) | 0.00% | 3,440ย (-181) | -5.00% |
| public_kernel_tail_simulated | 1ย (0) | 0.00% | 420ย (-26) | -5.83% |
| private_kernel_empty_simulated | 1ย (0) | 0.00% | 420ย (-29) | -6.46% |
| private_kernel_tail_simulated | 1ย (0) | 0.00% | 420ย (-29) | -6.46% |
| empty_nested | 0ย (0) | +โ% | 5ย (-3) | -37.50% |
| empty_nested_simulated | 1ย (0) | 0.00% | 5ย (-3) | -37.50% |
| public_kernel_tail | 965,808ย (-38,348) | -3.82% | 4,647,680ย (-4,625,400) | -49.88% |
| rollup_base | 341,428ย (-2,998) | -0.87% | 3,836,417ย (-4,772,520) | -55.44% |
Benchmark results
Metrics with a significant change:
- proof_construction_time_sha256_100_ms (16): 6,960 (+23%)
- batch_insert_into_append_only_tree_16_depth_ms (1): 10.4 (+386%)
- batch_insert_into_append_only_tree_16_depth_ms (16): 16.9 (+335%)
- batch_insert_into_append_only_tree_16_depth_hash_ms (1): 0.603 (+440%)
- batch_insert_into_append_only_tree_16_depth_hash_ms (16): 0.520 (+372%)
- app_circuit_witness_generation_time_in_ms (ContractInstanceDeployer:deploy): 27.9 (+54%)
- app_circuit_witness_generation_time_in_ms (MultiCallEntrypoint:entrypoint): 611 (+29%)
- app_circuit_witness_generation_time_in_ms (GasToken:deploy): 446 (+16%)
- app_circuit_witness_generation_time_in_ms (SchnorrAccount:constructor): 438 (+147%)
- app_circuit_witness_generation_time_in_ms (SchnorrAccount:entrypoint): 823 (+45%)
- app_circuit_witness_generation_time_in_ms (Token:privately_mint_private_note): 521 (+132%)
- app_circuit_witness_generation_time_in_ms (FPC:fee_entrypoint_public): 89.9 (+170%)
- app_circuit_witness_generation_time_in_ms (Token:transfer): 1,293 (+59%)
- app_circuit_witness_generation_time_in_ms (Benchmarking:create_note): 422 (+148%)
- app_circuit_witness_generation_time_in_ms (SchnorrAccount:verify_private_authwit): 45.8 (+67%)
- app_circuit_witness_generation_time_in_ms (Token:unshield): 1,085 (+44%)
- app_circuit_witness_generation_time_in_ms (FPC:fee_entrypoint_private): 1,392 (+40%)
- app_circuit_input_size_in_bytes (Token:transfer_public (avm)): 46,817 (-24%)
- app_circuit_input_size_in_bytes (AuthRegistry:consume (avm)): 26,670 (-36%)
- protocol_circuit_simulation_time_in_ms (root-rollup): 158 (+61%)
- protocol_circuit_simulation_time_in_ms (private-kernel-reset-tiny): 226 (+16%)
- protocol_circuit_simulation_time_in_ms (private-kernel-tail-to-public): 4,157 (+57%)
- batch_insert_into_append_only_tree_32_depth_ms (64): 48.3 (+333%)
- batch_insert_into_append_only_tree_32_depth_ms (128): 76.5 (+326%)
- batch_insert_into_append_only_tree_32_depth_ms (256): 132 (+313%)
- batch_insert_into_append_only_tree_32_depth_ms (512): 245 (+311%)
- batch_insert_into_append_only_tree_32_depth_ms (1024): 501 (+343%)
- batch_insert_into_append_only_tree_32_depth_hash_ms (64): 0.494 (+360%)
- batch_insert_into_append_only_tree_32_depth_hash_ms (128): 0.469 (+350%)
- batch_insert_into_append_only_tree_32_depth_hash_ms (256): 0.454 (+338%)
- batch_insert_into_append_only_tree_32_depth_hash_ms (512): 0.444 (+331%)
- batch_insert_into_append_only_tree_32_depth_hash_ms (1024): 0.467 (+359%)
- batch_insert_into_indexed_tree_40_depth_ms (64): 73.4 (+345%)
- batch_insert_into_indexed_tree_40_depth_hash_ms (64): 0.522 (+395%)
- batch_insert_into_indexed_tree_20_depth_ms (64): 60.1 (+320%)
- batch_insert_into_indexed_tree_20_depth_ms (128): 114 (+348%)
- batch_insert_into_indexed_tree_20_depth_ms (256): 184 (+319%)
- batch_insert_into_indexed_tree_20_depth_ms (512): 352 (+327%)
- batch_insert_into_indexed_tree_20_depth_ms (1024): 703 (+337%)
- batch_insert_into_indexed_tree_20_depth_hash_ms (64): 0.507 (+367%)
- batch_insert_into_indexed_tree_20_depth_hash_ms (128): 0.510 (+396%)
- batch_insert_into_indexed_tree_20_depth_hash_ms (256): 0.487 (+355%)
- batch_insert_into_indexed_tree_20_depth_hash_ms (512): 0.476 (+368%)
- batch_insert_into_indexed_tree_20_depth_hash_ms (1024): 0.482 (+368%)
- avm_simulation_time_ms (GasToken:set_portal): 16.3 (+55%)
- avm_simulation_time_ms (FPC:pay_refund): 81.1 (+32%)
- avm_simulation_time_ms (Token:_increase_public_balance): 12.2 (-84%)
- avm_simulation_time_ms (FPC:pay_refund_with_shielded_rebate): 144 (+106%)
- avm_simulation_bytecode_size_in_bytes (Token:constructor): 16,400 (-47%)
- avm_simulation_bytecode_size_in_bytes (FPC:constructor): 9,304 (-61%)
- avm_simulation_bytecode_size_in_bytes (Token:transfer_public): 32,641 (-31%)
- protocol_circuit_witness_generation_time_in_ms (private-kernel-tail): 1,001 (+17%)
- protocol_circuit_proving_time_in_ms (base-parity): 1,312 (+21%)
- protocol_circuit_proving_time_in_ms (base-rollup): 41,120 (-53%)
- protocol_circuit_proving_time_in_ms (public-kernel-tail): 62,433 (-33%)
- protocol_circuit_size_in_gates (base-parity): 131,072 (+100%)
- protocol_circuit_size_in_gates (base-rollup): 4,194,304 (-75%)
- protocol_circuit_size_in_gates (public-kernel-tail): 8,388,608 (-50%)
- app_circuit_proving_time_in_ms (AuthRegistry:set_authorized (avm)): 2,134 (-20%)
- app_circuit_proving_time_in_ms (FPC:prepare_fee (avm)): 2,367 (-31%)
- app_circuit_proving_time_in_ms (Token:transfer_public (avm)): 6,181 (-65%)
- app_circuit_proving_time_in_ms (AuthRegistry:consume (avm)): 2,648 (-66%)
- app_circuit_proving_time_in_ms (FPC:pay_refund (avm)): 3,487 (-52%)
- app_circuit_proof_size_in_bytes (AuthRegistry:set_authorized (avm)): 102,048 (-31%)
- app_circuit_proof_size_in_bytes (FPC:prepare_fee (avm)): 102,112 (-31%)
- app_circuit_proof_size_in_bytes (Token:transfer_public (avm)): 102,112 (-31%)
- app_circuit_proof_size_in_bytes (AuthRegistry:consume (avm)): 102,080 (-31%)
- app_circuit_proof_size_in_bytes (FPC:pay_refund (avm)): 102,080 (-31%)
- l2_block_processing_time_in_ms (4): 771 (+178%)
- l2_block_processing_time_in_ms (8): 1,415 (+212%)
- l2_block_processing_time_in_ms (16): 2,850 (+256%)
- node_history_sync_time_in_ms (3): 7,028 (+160%)
- node_history_sync_time_in_ms (5): 9,872 (+163%)
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.
Proof generation
Each column represents the number of threads used in proof generation.
| Metric | 1 threads | 4 threads | 16 threads | 32 threads | 64 threads |
|---|---|---|---|---|---|
| proof_construction_time_sha256_ms | 5,772 (+1%) | 1,555 (+1%) | 708 | 758 (+1%) | 764 |
| proof_construction_time_sha256_30_ms | 11,831 (+1%) | 3,179 (+1%) | 1,412 (+1%) | 1,438 | 1,481 (+1%) |
| proof_construction_time_sha256_100_ms | 44,184 (+1%) | 12,579 (+1%) | :warning: 6,960 (+23%) | 5,490 (-1%) | 5,520 (+1%) |
| proof_construction_time_poseidon_hash_ms | 79.0 (+1%) | 42.0 (+24%) | 34.0 (-23%) | 58.0 (-11%) | 87.0 (-4%) |
| proof_construction_time_poseidon_hash_30_ms | 1,528 (+1%) | 420 (+1%) | 200 | 226 | 266 |
| proof_construction_time_poseidon_hash_100_ms | 5,658 (+1%) | 1,531 (+1%) | 672 | 748 (+4%) | 756 (+1%) |
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.
| Metric | 4 txs | 8 txs | 16 txs |
|---|---|---|---|
| l1_rollup_calldata_size_in_bytes | 708 (-4%) | 708 (-4%) | 708 (-4%) |
| l1_rollup_calldata_gas | 6,600 (-2%) | 6,588 (-2%) | 6,588 (-2%) |
| l1_rollup_execution_gas | 611,442 | 611,581 | 611,732 |
| l2_block_processing_time_in_ms | :warning: 771 (+178%) | :warning: 1,415 (+212%) | :warning: 2,850 (+256%) |
| l2_block_building_time_in_ms | 10,205 (+7%) | 19,824 (+4%) | 39,459 (+8%) |
| l2_block_rollup_simulation_time_in_ms | 10,205 (+7%) | 19,824 (+4%) | 39,458 (+8%) |
| l2_block_public_tx_process_time_in_ms | 8,518 (+8%) | 17,912 (+3%) | 37,474 (+8%) |
L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.
| Metric | 3 blocks | 5 blocks |
|---|---|---|
| node_history_sync_time_in_ms | :warning: 7,028 (+160%) | :warning: 9,872 (+163%) |
| node_database_size_in_bytes | 12,738,640 | 16,945,232 |
| pxe_database_size_in_bytes | 16,254 | 26,813 |
Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.
| Circuit | simulation_time_in_ms | witness_generation_time_in_ms | input_size_in_bytes | output_size_in_bytes | proving_time_in_ms | proof_size_in_bytes | num_public_inputs | size_in_gates |
|---|---|---|---|---|---|---|---|---|
| private-kernel-init | 106 (+13%) | 425 (+4%) | 21,718 (-1%) | 44,795 | N/A | N/A | N/A | N/A |
| private-kernel-inner | 182 (+9%) | 744 (+3%) | 72,440 | 44,942 | N/A | N/A | N/A | N/A |
| private-kernel-tail | 729 (+7%) | :warning: 1,001 (+17%) | 52,998 (-1%) | 46,729 (-6%) | N/A | N/A | N/A | N/A |
| base-parity | 6.65 (+13%) | 647 (+12%) | 160 | 96.0 | :warning: 1,312 (+21%) | 13,188 | 19.0 | :warning: 131,072 (+100%) |
| root-parity | 113 (+2%) | 113 (+2%) | 69,084 | 96.0 | 27,813 | 13,188 | 19.0 | 4,194,304 |
| base-rollup | 3,255 (+8%) | 5,033 (-9%) | 182,192 | 632 (-5%) | :warning: 41,120 (-53%) | 13,988 | 44.0 (-2%) | :warning: 4,194,304 (-75%) |
| root-rollup | :warning: 158 (+61%) | 112 (+13%) | 54,461 | 684 (-4%) | 25,535 | 13,956 | 43.0 (-2%) | 4,194,304 |
| public-kernel-setup | 88.2 (-2%) | 2,645 (-3%) | 98,393 (-4%) | 65,654 (-6%) | 16,011 (+4%) | 123,012 (-3%) | 3,451 (-4%) | 2,097,152 |
| public-kernel-app-logic | 101 (-5%) | 3,976 (-4%) | 98,393 (-4%) | 65,654 (-6%) | 9,629 (+5%) | 123,012 (-3%) | 3,451 (-4%) | 1,048,576 |
| public-kernel-tail | 627 (+5%) | 24,489 (-15%) | 396,134 (-2%) | 10,814 (-1%) | :warning: 62,433 (-33%) | 26,372 | 431 | :warning: 8,388,608 (-50%) |
| private-kernel-reset-tiny | :warning: 226 (+16%) | 955 (+10%) | 68,504 | 44,687 | N/A | N/A | N/A | N/A |
| private-kernel-tail-to-public | :warning: 4,157 (+57%) | 1,716 (+7%) | 918,792 (-6%) | 1,697 | N/A | N/A | N/A | N/A |
| public-kernel-teardown | 83.6 (-3%) | 4,092 (-2%) | 98,393 (-4%) | 65,654 (-6%) | 17,250 (+6%) | 123,012 (-3%) | 3,451 (-4%) | 2,097,152 |
| merge-rollup | 61.0 (+2%) | N/A | 35,678 | 632 (-5%) | N/A | N/A | N/A | N/A |
| undefined | N/A | N/A | N/A | N/A | 157,231 (+6%) | N/A | N/A | N/A |
Stats on running time collected for app circuits
| Function | input_size_in_bytes | output_size_in_bytes | witness_generation_time_in_ms | proof_size_in_bytes | proving_time_in_ms |
|---|---|---|---|---|---|
| ContractClassRegisterer:register | 1,312 (-2%) | 11,699 | 348 (+3%) | N/A | N/A |
| ContractInstanceDeployer:deploy | 1,376 (-2%) | 11,699 | :warning: 27.9 (+54%) | N/A | N/A |
| MultiCallEntrypoint:entrypoint | 1,888 (-2%) | 11,699 | :warning: 611 (+29%) | N/A | N/A |
| GasToken:deploy | 1,344 (-2%) | 11,699 | :warning: 446 (+16%) | N/A | N/A |
| SchnorrAccount:constructor | 1,280 (-2%) | 11,699 | :warning: 438 (+147%) | N/A | N/A |
| SchnorrAccount:entrypoint | 2,272 (-1%) | 11,699 | :warning: 823 (+45%) | N/A | N/A |
| Token:privately_mint_private_note | 1,248 (-2%) | 11,699 | :warning: 521 (+132%) | N/A | N/A |
| FPC:fee_entrypoint_public | 1,312 (-2%) | 11,699 | :warning: 89.9 (+170%) | N/A | N/A |
| Token:transfer | 1,280 (-2%) | 11,699 | :warning: 1,293 (+59%) | N/A | N/A |
| AuthRegistry:set_authorized (avm) | 18,427 | N/A | N/A | :warning: 102,048 (-31%) | :warning: 2,134 (-20%) |
| FPC:prepare_fee (avm) | 22,894 | N/A | N/A | :warning: 102,112 (-31%) | :warning: 2,367 (-31%) |
| Token:transfer_public (avm) | :warning: 46,817 (-24%) | N/A | N/A | :warning: 102,112 (-31%) | :warning: 6,181 (-65%) |
| AuthRegistry:consume (avm) | :warning: 26,670 (-36%) | N/A | N/A | :warning: 102,080 (-31%) | :warning: 2,648 (-66%) |
| FPC:pay_refund (avm) | 26,163 | N/A | N/A | :warning: 102,080 (-31%) | :warning: 3,487 (-52%) |
| Benchmarking:create_note | 1,312 (-2%) | 11,699 | :warning: 422 (+148%) | N/A | N/A |
| SchnorrAccount:verify_private_authwit | 1,248 (-2%) | 11,699 | :warning: 45.8 (+67%) | N/A | N/A |
| Token:unshield | 1,344 (-2%) | 11,699 | :warning: 1,085 (+44%) | N/A | N/A |
| FPC:fee_entrypoint_private | 1,344 (-2%) | 11,699 | :warning: 1,392 (+40%) | N/A | N/A |
AVM Simulation
Time to simulate various public functions in the AVM.
| Function | time_ms | bytecode_size_in_bytes |
|---|---|---|
| GasToken:_increase_public_balance | 94.8 (+3%) | 8,139 |
| GasToken:set_portal | :warning: 16.3 (+55%) | 2,362 |
| Token:constructor | 94.0 (-23%) | :warning: 16,400 (-47%) |
| FPC:constructor | 94.2 (+1%) | :warning: 9,304 (-61%) |
| GasToken:mint_public | 84.7 (+8%) | 6,150 |
| Token:mint_public | 90.6 (+7%) | 11,720 |
| Token:assert_minter_and_mint | 104 (+9%) | 8,028 |
| AuthRegistry:set_authorized | 9.27 (+21%) | 4,537 |
| FPC:prepare_fee | 267 (-7%) | 8,812 |
| Token:transfer_public | 29.7 (+14%) | :warning: 32,641 (-31%) |
| FPC:pay_refund | :warning: 81.1 (+32%) | 12,114 |
| Benchmarking:increment_balance | 992 (+1%) | 7,450 |
| Token:_increase_public_balance | :warning: 12.2 (-84%) | 8,960 |
| FPC:pay_refund_with_shielded_rebate | :warning: 144 (+106%) | 12,663 |
Public DB Access
Time to access various public DBs.
| Function | time_ms |
|---|---|
| get-nullifier-index | 0.147 (-4%) |
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 | 256 leaves | 512 leaves | 1024 leaves |
|---|---|---|---|---|---|---|---|
| batch_insert_into_append_only_tree_16_depth_ms | :warning: 10.4 (+386%) | :warning: 16.9 (+335%) | N/A | N/A | N/A | N/A | N/A |
| batch_insert_into_append_only_tree_16_depth_hash_count | 16.8 | 31.7 | N/A | N/A | N/A | N/A | N/A |
| batch_insert_into_append_only_tree_16_depth_hash_ms | :warning: 0.603 (+440%) | :warning: 0.520 (+372%) | N/A | N/A | N/A | N/A | N/A |
| batch_insert_into_append_only_tree_32_depth_ms | N/A | N/A | :warning: 48.3 (+333%) | :warning: 76.5 (+326%) | :warning: 132 (+313%) | :warning: 245 (+311%) | :warning: 501 (+343%) |
| batch_insert_into_append_only_tree_32_depth_hash_count | N/A | N/A | 95.9 | 159 | 287 | 543 | 1,055 |
| batch_insert_into_append_only_tree_32_depth_hash_ms | N/A | N/A | :warning: 0.494 (+360%) | :warning: 0.469 (+350%) | :warning: 0.454 (+338%) | :warning: 0.444 (+331%) | :warning: 0.467 (+359%) |
| batch_insert_into_indexed_tree_20_depth_ms | N/A | N/A | :warning: 60.1 (+320%) | :warning: 114 (+348%) | :warning: 184 (+319%) | :warning: 352 (+327%) | :warning: 703 (+337%) |
| batch_insert_into_indexed_tree_20_depth_hash_count | N/A | N/A | 109 | 207 | 355 | 691 | 1,363 |
| batch_insert_into_indexed_tree_20_depth_hash_ms | N/A | N/A | :warning: 0.507 (+367%) | :warning: 0.510 (+396%) | :warning: 0.487 (+355%) | :warning: 0.476 (+368%) | :warning: 0.482 (+368%) |
| batch_insert_into_indexed_tree_40_depth_ms | N/A | N/A | :warning: 73.4 (+345%) | N/A | N/A | N/A | N/A |
| batch_insert_into_indexed_tree_40_depth_hash_count | N/A | N/A | 133 | N/A | N/A | N/A | N/A |
| batch_insert_into_indexed_tree_40_depth_hash_ms | N/A | N/A | :warning: 0.522 (+395%) | N/A | N/A | N/A | N/A |
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 | 59,027 (-6%) | 663,408 |
Transaction size based on fee payment method
| Metric | | | - | |
Docs Preview
Hey there! ๐ You can check your preview at https://671b9cc874664d22e6b72273--aztec-docs-dev.netlify.app
fk this fking pr why are there so many conflicts