mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

- Replace "al" -> "del", "alla" -> "della", etc. in command paths - Replace all instances of "cartella" with "directory" - Update contributing-guides/translation-templates/common-arguments.md to reflect these changes Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> Co-authored-by: Marco Bonelli <marco@mebeim.net> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
36 lines
854 B
Markdown
36 lines
854 B
Markdown
# blackfire
|
|
|
|
> Strumento di profilazione da linea di comando per PHP.
|
|
> Maggiori informazioni: <https://blackfire.io>.
|
|
|
|
- Inizializza e configura il client Blackfire:
|
|
|
|
`blackfire config`
|
|
|
|
- Lancia l'agent Blackfire:
|
|
|
|
`blackfire agent`
|
|
|
|
- Lancia l'agent Blackfire su uno specifico socket:
|
|
|
|
`blackfire agent --socket="{{tcp://127.0.0.1:8307}}"`
|
|
|
|
- Lancia il profiler su uno specifico programma:
|
|
|
|
`blackfire run {{php percorso/del/file.php}}`
|
|
|
|
- Lancia il profiler e raccogli 10 campioni:
|
|
|
|
`blackfire --samples={{10}} run {{php percorso/del/file.php}}`
|
|
|
|
- Lancia il profiler e mostra i risultati in output come JSON:
|
|
|
|
`blackfire --json run {{php percorso/del/file.php}}`
|
|
|
|
- Carica un file del profiler sul servizio web di Blackfire:
|
|
|
|
`blackfire upload {{percorso/del/file}}`
|
|
|
|
- Mostra lo stato dei profili sul servizio web di Blackfire:
|
|
|
|
`blackfire status`
|