Questions tagged [blackfire]

Blackfire Profiler automatically instruments your code to gather data about consumed server resources like memory, CPU time, and I/O.

Blackfire empowers all developers and IT/Ops to easily identify and understand performance bottlenecks, and find how to resolve them quickly based on accurate data.

But Blackfire Profiler is more than figures; its interactive Callgraphs make it straightforward to find bottlenecks and improve performance. Moreover, profile comparisons let you understand the impact of your changes.

References:

35 questions
1
vote
1 answer

Unable to install Blackfire PHP on Codeship

I try to deploy my PHP application to Heroku through Codeship. Heroku requires to add ext-blackfire to my composer.json and it results in a crash on Codeship at composer install. The requested PHP extension ext-blackfire ~1.18 is missing from your…
VuesomeDev
  • 4,095
  • 2
  • 34
  • 44
1
vote
1 answer

Identifying Bottleneck on Laravel app with Blackfire Profiling

I'm trying to get my TTFB down to under 200ms. Currently it is over 600ms. My app uses Laravel with AsgardCMS. I have implemented very little custom code, and the database has 28 tables with less than 100 records in total. I have installed Redis…
spooky
  • 421
  • 5
  • 20
1
vote
1 answer

Blackfire not working on Windows / WAMP

Blackfire gives me "Are you authorized to profile this page? Probe not found or invalid signature." on my WAMP install! I followed all the steps correctly and installed everything in the right places.
Jigarius
  • 394
  • 3
  • 16
1
vote
1 answer

Blackfire profile cli scripts

I want to use blackfire to profile a php command of symfony. I follow the getting started section just here https://blackfire.io/getting-started for mac os. Then I create a file test.php with this content to test blackfire:
Vincent
  • 733
  • 1
  • 9
  • 16
0
votes
1 answer

Issues with uninstalling Blackfire on Laravel Forge

I'm trying to remove the Blackfire profiler that was installed on the server via Laravel Forge. Under "Integrations" I clicked "Uninstall" on Blackfire and restarted PHP, but now I'm getting the following warning on Sentry: Core Warning: PHP…
Matanya
  • 6,233
  • 9
  • 47
  • 80
0
votes
0 answers

PHP Warning: Module 'blackfire' already loaded in Unknown on line 0

I tried installing Blackfire. And it's working. However, I'm getting this warning, whenever I run a PHP-command: PHP Warning: Module 'blackfire' already loaded in Unknown on line 0 Just like explained here: PHP Warning: Module already loaded in…
Zeth
  • 2,273
  • 4
  • 43
  • 91
0
votes
1 answer

Extremely long IO WAIT reported for PHP accessing Redis

As attached, Blackfire is reporting that all Redis actions have ridiculous latency with the Redis hosted on the same container. The hypervisor is not reporting high IO wait. The redis does not contain many keys but it is frequently accessed. How can…
Josh
  • 3,258
  • 2
  • 19
  • 31
0
votes
1 answer

How to fix Blackfire profiling error when using with Docker Compose?

My app runs with Docker in development mode thanks to a docker-compose.yml file. I installed Blackfire following to the letter the Docker doc and the PHP Probe doc. I have the Firefox add-on installed in my browser. When trying to profile my page…
Chloé
  • 324
  • 3
  • 12
0
votes
1 answer

Trying to build a local Docker image for BlackFire from official blackfire/blackfire image on docker hub

i am trying to run backfire using docker , but getting x509 error: $ docker run -it --rm \ -e BLACKFIRE_CLIENT_ID=$BLACKFIRE_CLIENT_ID \ -e BLACKFIRE_CLIENT_TOKEN=$BLACKFIRE_CLIENT_TOKEN \ blackfire/blackfire blackfire \ --slot=7…
kamal
  • 9,637
  • 30
  • 101
  • 168
0
votes
1 answer

blackfire config issue with php probe

So I'm trying to install "Blackfire" from Sensiolab and following all the instructions et.. I'm facing an issue when lauching it to profile my app and also for any related php cli that I'm running...: The error message is: “Unable to load dynamic…
LMD4U
  • 11
  • 7
0
votes
0 answers

High memory usage with OpCache for PHP for Composer

While profiling with Blackfire,io,I get high memory usage from composer/autoload_static.php and bootstrap/autoload.php . I’m using OpCache for PHP but still get around 4-6mb per total request. what is the normal benchmark?
dflow
  • 231
  • 1
  • 4
  • 17
0
votes
1 answer

How to profile only parts of the code with Blackfire?

Reading https://blackfire.io/docs/reference-guide/php-sdk I see that The $probe instance can also be used to instrument precisely only part of your code But
MatTheCat
  • 18,071
  • 6
  • 54
  • 69
0
votes
2 answers

Laravel / Blackfire - Composer including autoloader taking significant time

I'm using Blackfire to profile my PHP / Laravel application. Across most endpoints, Composer seems to be taking a long time. Specifically, the method Composer\Autoload\includeFile. In the example below, it gets called 240 times. Now I have run…
djt
  • 7,297
  • 11
  • 55
  • 102
0
votes
1 answer

Blackfire unabled to create a network stream on Windows with WAMP

I'm trying to profile an HTTP Request using Blackfire. I have installed these elements: blackfire-agent and its config file (with my server id) blackfire client and I configured it with (my client id) (I launched C:\Users\a.t>blackfire…
Alexandre Tranchant
  • 4,426
  • 4
  • 43
  • 70
0
votes
1 answer

Profiling PHP 7 application with blackfire.io, why i see different cpu time for same code?

I support and rework legacy PHP7 application. This application don't use autoloading, instead of this aplication require all classes in single file, just going round all directories with classes. Old team thought that it is great optimization…
Hayate
  • 653
  • 1
  • 9
  • 25