Closed IlyasRidhuan closed 2 months ago
Token transfer
% time AVM_ENABLE_FULL_PROVING=1 build/bin/bb avm_prove --avm-bytecode ~/tmp-8Q3xgk/avm_bytecode.bin --avm-calldata ~/tmp-8Q3xgk/avm_calldata.bin --avm-public-inputs ~/tmp-8Q3xgk/avm_public_inputs.bin --avm-hints ~/tmp-8Q3xgk/avm_hints.bin -o ~/tmp-8Q3xgk -v bytecode size: 31218 calldata size: 6 public_inputs size: 481 hints.storage_value_hints size: 2 hints.note_hash_exists_hints size: 0 hints.nullifier_exists_hints size: 1 hints.l1_to_l2_message_exists_hints size: 0 hints.externalcall_hints size: 0 hints.contract_instance_hints size: 0 using cached crs of size 8388609 at "/mnt/user-data/facundo/.bb-crs/bn254_g1.dat" Deserialized 2524 instructions ------- GENERATING TRACE ------- Trace sizes before padding: main_trace_size: 1638 mem_trace_size: 3880 alu_trace_size: 811 range_check_size: 65536 conv_trace_size: 1 lookup_table_size: 0 sha256_trace_size: 0 poseidon2_trace_size: 0 pedersen_trace_size: 4 gas_trace_size: 1620 fixed_gas_table_size: 65 slice_trace_size: 7 Final trace size: 65537 ------- PROVING EXECUTION ------- proof written to: "/mnt/user-data/facundo/tmp-8Q3xgk/proof" vk written to: "/mnt/user-data/facundo/tmp-8Q3xgk/vk" vk as fields written to: "/mnt/user-data/facundo/tmp-8Q3xgk/vk_fields.json" AVM_ENABLE_FULL_PROVING=1 build/bin/bb avm_prove --avm-bytecode -o -v 340.59s user 84.63s system 731% cpu 58.117 total
Stats before and after
--- before poseidon constraints 1 cpu prove/all_ms: 51410 prove/check_circuit_ms: 13024 prove/create_composer_ms: 0 > prove/create_prover_ms: 1326 prove/create_verifier_ms: 0 prove/execute_log_derivative_inverse_commitments_round_ms: 8681 > prove/execute_log_derivative_inverse_round_ms: 2744 prove/execute_pcs_rounds_ms: 1446 > prove/execute_relation_check_rounds_ms: 22424 prove/execute_wire_commitments_round_ms: 511 prove/gen_trace_ms: 1113 --- w/poseidon constraints 1 cpu prove/all_ms: 121407 prove/check_circuit_ms: 35416 prove/create_composer_ms: 0 > prove/create_prover_ms: 3571 prove/create_verifier_ms: 0 prove/execute_log_derivative_inverse_commitments_round_ms: 8544 > prove/execute_log_derivative_inverse_round_ms: 5868 prove/execute_pcs_rounds_ms: 1864 > prove/execute_relation_check_rounds_ms: 63895 prove/execute_wire_commitments_round_ms: 541 prove/gen_trace_ms: 1599
master
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @IlyasRidhuan and the rest of your teammates on Graphite
Metrics with a significant change:
Token transfer
Stats before and after