ruansheng/xhprof-client

collect xhprof data

1.0.0 2018-08-23 03:34 UTC

This package is not auto-updated.

Last update: 2025-06-06 12:20:55 UTC


README

use xhprof-client collect xhprof data

install

# vim composer.json
{
    "minimum-stability": "dev",
    "require": {
        "ruansheng/xhprof-client":"master"
    }
}

# composer install

use

use Xhprof\Client\Client;

$client = new Client();
$client->setCollectRate();
$client->setProjectId('huzhu');
$client->setRedisAddres();
$client->setRedisKeyInfo('xhprof-data');
$client->collection();