Profiler: Revert the removal of the CPU consumption column from output
What
As asked here: !15855 (comment 2250868884), I reverted the removal of the CPU consumption column from the profiling output, done in the MR where the comment was made.
Why
How
Manually testing the MR
The profiling output show now look like this:
2024-12-10T13:45:27.253-00:00
BLqz7sFJc8gnyuSLdBGkmAPM1vqV7hsU8uWumFhR25GpUsGic1G ............................ 1 2010.606ms 8%
handle_unprocessed ........................................................... 172 13.330ms 103%
classify pending operations ................................................ 22 9.302ms 101%
classify_operation : consensus ........................................... 18 1.769ms 101%
check_signature_ed25519 ................................................ 15 1.000ms 100%
check_signature_p256 ................................................... 3 0.587ms 101%
freshly validated operation ............................................ 18
classify_operation : manager ............................................. 4 7.453ms 100%
check_signature_ed25519 ................................................ 4 0.458ms 100%
...
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