AsyncMysqlClientStats

The AsyncMysqlClientStats class

This class provides round-trip and callback timing information for various operations on the MySQL client.

This information can be used to know how the performance of the MySQL client may have affected a given result.

For example, if you have a AsyncMysqlConnection, you can call:

$conn->connectResult()->clientStats()->ioEventLoopMicrosAvg()

to get round-trip timing information on the connection event itself.

Basically any concrete implementation of AsyncMysqlResult can provide these type of statistics by calling its clientStats() method and a method on this class.

Interface synopsis

class AsyncMysqlClientStats {...}