MediaPipe includes APIs for gathering aggregate performance data and event timing data for CPU and GPU operations. These API's can be found at:
GraphProfiler: Accumulates for each running calculator a histogram of latencies for Process calls.
GraphTracer: Records for each running calculator and each processed packet a series of timed events including the start and finish of each Process call.
Future mediapipe releases will include tools for visualizing and analysing the latency histograms and timed events captured by these API's.