4f0e2f3276
This commit includes the following updates: - Added a new 'pprof' flag to the command-line arguments in main.go. This flag allows the user to specify a file name for writing CPU profile information, enabling performance analysis. - Implemented functionality to start CPU profiling in the 'Before' function. If a file name is provided via the 'pprof' flag, the function creates the specified file and begins CPU profiling. - Added an 'After' function to stop CPU profiling once the program execution is finished. These changes provide a way to analyze the CPU usage of the 'lotus-shed' application, which can be valuable for performance tuning and optimization. |
||
---|---|---|
.. | ||
chain-noise | ||
lotus | ||
lotus-bench | ||
lotus-fountain | ||
lotus-gateway | ||
lotus-health | ||
lotus-keygen | ||
lotus-miner | ||
lotus-pcr | ||
lotus-seed | ||
lotus-shed | ||
lotus-sim | ||
lotus-stats | ||
lotus-wallet | ||
lotus-worker | ||
tvx |