ruansheng/xhprof-client

collect xhprof data

Installs: 28

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/ruansheng/xhprof-client

1.0.0 2018-08-23 03:34 UTC

This package is not auto-updated.

Last update: 2025-12-05 14:28:51 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();