diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2018-06-25 01:10:26 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-25 01:12:27 -0700 |
commit | da91730760ac9078183c236cb9ab95f38a5fd3b8 (patch) | |
tree | bc83357596371d3d3b284d5775492f806e38ffb3 /.bazelci/postsubmit.yml | |
parent | 88d1caeef07533429468515f63b3d4e2cb9a7a80 (diff) |
Windows,Bazel client: check embedded tools faster
The Bazel client on Windows is now 50% faster to
check the embedded tools than it was before.
Results:
- Linux: 20 ms -> 6 ms
- Windows: 294 ms -> 133 ms
Measurements were done with n=10 runs and a hot
server, using blaze::GetMillisecondsMonotonic().
Previously the client performed the same tasks
multiple times while trying to determine if a path
was a good extracted binary. (E.g. converted the
path to Windows format multiple times, checked if
it was a directory twice, opened the path twice.)
Now the client performes these tasks only once,
e.g. it converts path once and stats only once.
See https://github.com/bazelbuild/bazel/issues/5444
Closes #5445.
PiperOrigin-RevId: 201913758
Diffstat (limited to '.bazelci/postsubmit.yml')
0 files changed, 0 insertions, 0 deletions