perftools / php-profiler

A PHP profiling library based on XHGUI Data Collector
MIT License
147 stars 26 forks source link

with new config #28

Closed visonforcoding closed 4 years ago

visonforcoding commented 4 years ago

use with user new config .replace default config

visonforcoding commented 4 years ago

now the doc config

'save.handler' => \Xhgui\Profiler\Profiler::SAVER_MONGODB,
    'save.handler.mongodb' => array(
        'dsn' => 'mongodb://127.0.0.1:27017',
        'database' => 'xhprof',
        // Allows you to pass additional options like replicaSet to MongoClient.
        // 'username', 'password' and 'db' (where the user is added)
        'options' => array(),
    ),

is wrong.

so i edit it.now it works success for me.

glensc commented 4 years ago

@visonforcoding sorry, what is the problem you are solving?

glensc commented 4 years ago

fixed with 0.7.1 release