[go: up one dir, main page]

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.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Gabriel Moise

Merge request reports

Loading