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
5
votes
0 answers

Docker based php application profiling using blackfire

I am using a simple Docker-based PHP application ( https://github.com/fuhrysteve/php-docker-apache-example.git ) to demonstBlackfirekfire profiling: 1. Install Chrome Extension for BlackFire ( on chrome ) 2. define these environment…
kamal
  • 9,637
  • 30
  • 101
  • 168
4
votes
2 answers

Profile my app with Blackfire container in Docker environment

Today I am trying to add Blackfire to my Docker stack ! I followed the Blackfire documentation dedicated to Docker implementation, the container is set correctly but I can't succeed to make a first profile of my application. This is a Symfony stack.…
Kern
  • 858
  • 1
  • 8
  • 24
3
votes
1 answer

Problem running Blackfire together with PHP Swoole in Docker

Has anyone managed to use Blackfire together with Swoole? I've been trying to set it up for a few days, but without success. I'm calling the following script in the PHP-CLI Swoole Dockerfile: #!/usr/bin/env bash # @see…
3
votes
1 answer

Blackfire failure "profile data is truncated"

At the moment I'm trying to analyze a PHP Application. The Profiler starts working and stops then at 1/10. While this the memory usage of the docker container goes straight up. After the failure in the blackfire log is an entry like "Profile data is…
3
votes
2 answers

Disable blackfire module temporary

I've sucessfully installed the blackfire agent, cli tool and probe and it works fine. I've disabled the xdebug module while profiling with bf. Now I want to use xdebug as I did before, but xdebug does not work, it just won't enter a debugging…
cb0
  • 8,415
  • 9
  • 52
  • 80
3
votes
1 answer

dump optimized Composer autoloader

I'm using Blackfire to profile my Laravel app. I'm getting a message: You should dump optimized Composer autoloader metrics.composer.autoload.find_file.count 7 == 0 I ran: composer dump-autoload -o But I still get this message Am I missing…
Juliatzin
  • 18,455
  • 40
  • 166
  • 325
3
votes
3 answers

Blackfire profiling not working

So I followed these instructions for my vagrant box and everything seemed to go fine, I mean its running. It has been configured with its server id and server token. I then installed the PHP Probe, as per the instructions on the same page and…
TheWebs
  • 12,470
  • 30
  • 107
  • 211
3
votes
3 answers

Installing Blackfire prob issue

Having some issue trying to get Blackfire.io set up on my homestead box. Followed the installation guide a couple of times now, and no having no errors. When I try to use the chrome companion I get the follow error ... Are you authorized to profile…
Dean Collins
  • 233
  • 4
  • 13
3
votes
2 answers

How to profile a PHP shell script app or worker using Blackfire

I noticed that when I have an endless worker I cannot profile PHP shell scripts. Because when it's killed it doesn't send the probe. What changes shall I do?
Pentium10
  • 204,586
  • 122
  • 423
  • 502
2
votes
1 answer

Improve Composer\Autoload\includeFile in Symfony

I have made Blackfire test on my Symfony 2.8 project and it shows that most of the time (more than 50%) is used by 435 calls of Composer\Autoload\includeFile Any suggestions how to improve it? I am using php composer.phar dump-autoload --optimize…
Tom
  • 1,203
  • 3
  • 15
  • 35
2
votes
1 answer

Blackfire instantly fails when I have JMeter running

I am attempting to debug a performance issue in my Laravel PHP application. I have Blackfire and JMeter installed on Debian 7 in a Apache / Postgres / PHP5-FPM / Redis stack. If I run Blackfire normally, I get precisely what I want. # blackfire…
Josh
  • 3,258
  • 2
  • 19
  • 31
1
vote
1 answer

Why doctrine update entities when no setter has been called and change has been made?

PHP 8.1 Symfony 5.4 Doctrine 2.10 I'm profiling a PHP command (with blackfire) with dummy code for testing : class MyCommand extends Command { ... protected function execute(InputInterface $input, OutputInterface $output): int { …
jiboulex
  • 2,963
  • 2
  • 18
  • 28
1
vote
0 answers

Unable to load dynamic library 'blackfire'

I create a post today because I have a problem with the blackfire installation. I read all documentation and install this extension but I have an error message in my command consol. I did add BlackFire but when I want to config the extension, this…
1
vote
1 answer

Blackfire profiling error - exit status 60

I am running a vagrant box with Centos 7 as its OS. I installed blackfire without error and then tried to profile from the web browser. It started profile, but then just hung and hung and never finished. I then tried it via curl in the command line…
user1015214
  • 2,733
  • 10
  • 36
  • 66
1
vote
1 answer

Why Blackfire profiler reports 10x time?

While testing the local site I've noticed ~10x difference in time reported by Blackfire as compared to other sources. The setup: macOS High Sierra with all stack installed locally via Homebrew (similar to Laravel's Valet) Nginx 1.13.9 PHP 7.2.3,…
Ihor Vorotnov
  • 1,678
  • 1
  • 13
  • 22
1
2 3