Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Blackfire

A talk on blackfire.io which is easy to use profiling for your PHP apps.

Livres associés

Gratuit avec un essai de 30 jours de Scribd

Tout voir
  • Soyez le premier à commenter

  • Soyez le premier à aimer ceci

Blackfire

  1. 1. PHP Profiling by SensioLabs BLACKFIRE.IO
  2. 2. - Probe is a PHP extension that gathers the raw performance profiles - Agent is a server-side daemon that aggregates and forwards profiles to blackfire.io - Client is a CLI tool used to trigger profiling - Companion is a web browser extension used to trigger profiling - Website is used to visualize the profiles 5 COMPONENTS
  3. 3. - The Probe, the Agent, and the Client work on Linux and MacOS X - The Probe works with PHP 5.3, 5.4, 5.5, and 5.6 - The Companion is currently only available for Google Chrome - The Website works on all browsers but Internet Explorer REQUIREMENTS
  4. 4. https://blackfire.io/getting-started#installation Install the repo so you can install the binaries Install the Agent with your server credentials from : https://blackfire.io/account/credentials#server Install the Agent Service Configure the Client – run “blackfire config” Install the Probe INSTALLATION
  5. 5. You can run it via a convenient chrome extension or the command line. (I did not have enough time to figure out how to get it working with a vagrant box setup but the chrome extension would work like magic with a native dev environment) In my case I am using the command line tool, you can run it like this: blackfire --slot=7 --samples=10 run ./my-script.php --your-script-options and arguments Output: Profiling: [########################################] 10/10 You can view the graph at: https://blackfire.io/slots/b4409ed7-4e50-4e97-8251-00cb35b42604/graph More info at https://blackfire.io/doc/cli-tutorial RUN THE PROFILER
  6. 6. HOW IT WORKS
  7. 7. Check it! DEMO TIME!

    Soyez le premier à commenter

    Identifiez-vous pour voir les commentaires

A talk on blackfire.io which is easy to use profiling for your PHP apps.

Vues

Nombre de vues

569

Sur Slideshare

0

À partir des intégrations

0

Nombre d'intégrations

14

Actions

Téléchargements

2

Partages

0

Commentaires

0

Mentions J'aime

0

×