# Profiling of evm circuit pprof has been embedded to unit test of `bench_evm_circuit_prover` for a performance. The DEGREE is set to 16, which has cost ~50GB memory (proof the state circuit only cost ~37GB even when DEGREE is 20): >running 1 test Start: Setup generation with degree = 16 End: Setup generation with degree = 16 .........................................24.884s report proof of setup Start: EVM Proof generation with 16 rows test evm_circuit::test::bench_evm_circuit_prover has been running for over 60 seconds End: EVM Proof generation with 16 rows .........................................829.469s report profile of proof Start: EVM Proof verification End: EVM Proof verification ....................................................57.206ms test evm_circuit::test::bench_evm_circuit_prover ... ok Click following links for the profiling detail: + [The profiling graph for setup](https://gist.githubusercontent.com/noel2004/81c0c11ab9edc1502db072acd0769454/raw/343c303ff50a542da9a48dbcaf7d92dd55fdd696/setup_profiling.svg) + [The profiling graph for proof](https://gist.githubusercontent.com/noel2004/81c0c11ab9edc1502db072acd0769454/raw/343c303ff50a542da9a48dbcaf7d92dd55fdd696/proof_profiling.svg) + [The profiling graph for setup (in flamegraph)](https://gist.githubusercontent.com/noel2004/81c0c11ab9edc1502db072acd0769454/raw/343c303ff50a542da9a48dbcaf7d92dd55fdd696/setup_profiling_flamegraph.svg) + [The profiling graph for proof (in flamegraph)](https://gist.githubusercontent.com/noel2004/81c0c11ab9edc1502db072acd0769454/raw/343c303ff50a542da9a48dbcaf7d92dd55fdd696/proof_profiling_flamegraph.svg) We have also [a profiling (by heaptrack) for peak memory usage here](https://gist.githubusercontent.com/noel2004/d1cad30b64fad97a310145379c217e75/raw/f403eab782729409757085d148055861443ac4cc/memory_peak_profiling.svg)