Elapsed Time shows the time of the assembly wall, as Bazel started the first action of the assembly until the last action was completed.
The “critical path” shows the wall time spent creating the longest chain of actions, where each subsequent action depends on the output (s) of the previous one, so they must be run sequentially. The critical path is the lower limit of the net build time of this assembly; even if the processor had more cores than the number of actions that Bazel had ever performed in parallel, assembly still could not be completed faster.
The temporary difference is caused by the fact that Bazel performs other actions. There were probably more actions than just on a critical path.
source share