Profiler: Add block validator profiling
What
Original MR - !14486 (closed)
Parent MR - !14760 (merged)
The implementation uses the profiling for the block validator part of the codebase.
Why
How
Manually testing the MR
- check that profiling works for external validator -> results in
block_validator_profiling.txt
$ TEZOS_PPX_PROFILER=profiling make
$ PROFILING=detailed ./octez-node run --data-dir ~/.tezos-node-profile
- check that profiling works for internal validator -> results in
block_validator_profiling.txt
$ TEZOS_PPX_PROFILER=profiling make
$ PROFILING=detailed ./octez-node run --data-dir ~/.tezos-node-profile --singleprocess
- check that replay command works -> results in
block_validator_profiling.txt
$ TEZOS_PPX_PROFILER=profiling make
$ PROFILING=detailed ./octez-node replay --data-dir ~/.tezos-node-profile
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Gabriel Moise