Figure 10: Average latency for invoke function.