Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Issue 95983002: Cached timestamps for toolchain update script (Closed)

Created:
7 years ago by scottmg
Modified:
7 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

Cached timestamps for toolchain update script When cached timestamps are available, and toolchain is up-to-date, reduces the runtime to ~.2s. R=maruel@chromium.org TBR=cpu@chromium.org BUG=323300 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238217

Patch Set 1 #

Patch Set 2 : . #

Total comments: 5

Patch Set 3 : . #

Patch Set 4 : ignore system and hidden files #

Total comments: 4

Patch Set 5 : bool #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -21 lines) Patch
M .gitignore View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/win_toolchain/toolchain.sha1 View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/win/toolchain/get_toolchain_if_necessary.py View 1 2 3 4 4 chunks +83 lines, -20 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
scottmg
7 years ago (2013-11-29 00:23:47 UTC) #1
M-A Ruel
https://codereview.chromium.org/95983002/diff/60001/tools/win/toolchain/get_toolchain_if_necessary.py File tools/win/toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/95983002/diff/60001/tools/win/toolchain/get_toolchain_if_necessary.py#newcode22 tools/win/toolchain/get_toolchain_if_necessary.py:22: for name in sorted(f.lower() for f in files): file_list ...
7 years ago (2013-11-29 00:33:29 UTC) #2
scottmg
https://codereview.chromium.org/95983002/diff/60001/tools/win/toolchain/get_toolchain_if_necessary.py File tools/win/toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/95983002/diff/60001/tools/win/toolchain/get_toolchain_if_necessary.py#newcode22 tools/win/toolchain/get_toolchain_if_necessary.py:22: for name in sorted(f.lower() for f in files): On ...
7 years ago (2013-11-29 01:54:09 UTC) #3
scottmg
On 2013/11/29 01:54:09, scottmg wrote: > https://codereview.chromium.org/95983002/diff/60001/tools/win/toolchain/get_toolchain_if_necessary.py > File tools/win/toolchain/get_toolchain_if_necessary.py (right): > > https://codereview.chromium.org/95983002/diff/60001/tools/win/toolchain/get_toolchain_if_necessary.py#newcode22 > ...
7 years ago (2013-11-29 01:58:56 UTC) #4
M-A Ruel
On 2013/11/29 01:58:56, scottmg wrote: > It could proactively ignore hidden files I suppose. Yes, ...
7 years ago (2013-11-29 02:07:28 UTC) #5
scottmg
On 2013/11/29 02:07:28, M-A Ruel wrote: > On 2013/11/29 01:58:56, scottmg wrote: > > It ...
7 years ago (2013-11-29 03:20:45 UTC) #6
M-A Ruel
lgtm https://codereview.chromium.org/95983002/diff/120001/tools/win/toolchain/get_toolchain_if_necessary.py File tools/win/toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/95983002/diff/120001/tools/win/toolchain/get_toolchain_if_necessary.py#newcode28 tools/win/toolchain/get_toolchain_if_necessary.py:28: return p & (FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTEM) return bool(p ...
7 years ago (2013-12-02 21:57:08 UTC) #7
scottmg
https://codereview.chromium.org/95983002/diff/120001/tools/win/toolchain/get_toolchain_if_necessary.py File tools/win/toolchain/get_toolchain_if_necessary.py (right): https://codereview.chromium.org/95983002/diff/120001/tools/win/toolchain/get_toolchain_if_necessary.py#newcode28 tools/win/toolchain/get_toolchain_if_necessary.py:28: return p & (FILE_ATTRIBUTE_HIDDEN | FILE_ATTRIBUTE_SYSTEM) On 2013/12/02 21:57:08, ...
7 years ago (2013-12-02 22:59:46 UTC) #8
scottmg
tbr cpu for third_party sha1 update.
7 years ago (2013-12-02 23:01:12 UTC) #9
scottmg
7 years ago (2013-12-02 23:03:14 UTC) #10
Message was sent while issue was closed.
Committed patchset #5 manually as r238217 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698