siso: measure RunTime using spans This continues the span migration. RunTime is a complex metric to migrate to spans, as there are multiple execution strategies. It would not make sense for all execution strategies to log the same named span, as strategies can be retried (e.g. remote exec), and strategies can be run in parallel (racing). Hence, extrapolate RunTime from spans by looking at how the step was executed. Test coverage was added to show the expected result of RunTime based on different steps. Bug: b/520207778 Change-Id: Ief84ce7bea7ce479b36527bef3e5e0136a6a6964 Reviewed-on: https://chromium-review.googlesource.com/c/build/+/8162460 Reviewed-by: Alex Ovsienko <ovsienko@google.com> Commit-Queue: Richard Wang <richardwa@google.com>
This repository contains tools developed and owned by the Chrome Build Team.
The steps for getting the code are:
git clone https://chromium.googlesource.com/buildWe use the standard Go module workflow to work on our projects.