0

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

<?php

require __DIR__.'/vendor/autoload.php';

$blackfire = new \Blackfire\Client();

spl_autoload_call('\SendinBlue\Base32');

$probe = $blackfire->createProbe(null, false);
$probe->enable();
\SendinBlue\Base32::decode(\SendinBlue\Base32::encode('Test'));
$probe->disable();
$blackfire->endProbe($probe);

get me the following graph:

But I only wanted to benchmark

\SendinBlue\Base32::decode(\SendinBlue\Base32::encode('Test'));

How could I do this?

4

1 回答 1

0

在与 Blackfire 团队的某个人交谈后,问题似乎出在他们这边。当我知道更多时,我会更新并接受这个答案。

于 2017-10-13T12:35:20.867 回答