Update the Flame profiling

pull/2699/head
nicolargo 2024-03-09 16:50:26 +01:00
parent 2a0d6fba52
commit 43b355fdff
2 changed files with 5 additions and 3 deletions

View File

@ -105,7 +105,9 @@ semgrep: ## Run semgrep to find bugs and enforce code standards
./venv-dev/bin/semgrep scan --config=auto ./venv-dev/bin/semgrep scan --config=auto
profiling: ## How to start the profiling of the Glances software profiling: ## How to start the profiling of the Glances software
@echo "Please complete and run: sudo ./venv-dev/bin/py-spy record -o ./docs/_static/glances-flame.svg -d 60 -s --pid <GLANCES PID>" @echo "Start a Glances instance and get its PID"
@echo "Run: sudo ./venv-dev/bin/py-spy record -o ./docs/_static/glances-flame.svg -d 60 -s --pid <GLANCES PID>"
@echo "Open the SVG file (./docs/_static/glances-flame.svg) with a Web browser"
trace-malloc: ## Trace the malloc() calls trace-malloc: ## Trace the malloc() calls
@echo "Malloc test is running, please wait ~30 secondes..." @echo "Malloc test is running, please wait ~30 secondes..."

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 145 KiB

After

Width:  |  Height:  |  Size: 112 KiB