Package com.smartgwt.client.docs

# Interface UsingRPCTimingLogs

public interface UsingRPCTimingLogs

### RPC timing logs

RPC (Remote Procedure Call) timing data helps identify performance bottlenecks in client-server interactions.

Key APIs

- `RPCManager.setTimingDataEnabled()` ? enables detailed timing collection.
- `RPCManager.addProcessingCompleteCallback()` ? run code after each RPC completes.
- `RPCManager.getTransactionDescription()` ? short description of a transaction.
- `RPCManager.getTimingData()` ? returns structured timing data.
- `RPCManager.getFormattedTimingData()` ? human-readable timing log.

Usage in testing

Log RPC timing info for transactions exceeding thresholds, and optionally fail tests that exceed defined limits.