AsyncMysqlClientStats

Provides timing statistics about the MySQL client

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.

Guides

Interface Synopsis

class AsyncMysqlClientStats {...}

Public Methods