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

Issue 234963003: gyp performance: don't invoke python to check dir existance (Closed)

Created:
6 years, 8 months ago by Daniel Bratell
Modified:
6 years, 8 months ago
Reviewers:
Jens Widell, brettw, scottmg
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

gyp performance: don't invoke python to check dir existance We spend a few tenths of a second every gyp invocation starting the dir_exists.py program. Seems a bit unnecessary. BUG=362075 R=scottmg@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=264316

Patch Set 1 #

Total comments: 2

Patch Set 2 : dir_name: comment typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -6 lines) Patch
M build/common.gypi View 2 chunks +4 lines, -4 lines 0 comments Download
M build/dir_exists.py View 1 1 chunk +9 lines, -1 line 0 comments Download
M content/content.gyp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
Daniel Bratell
dir_exists.py was invoked a few dozen times during a gyp generation and the overhead of ...
6 years, 8 months ago (2014-04-11 14:05:02 UTC) #1
scottmg
https://codereview.chromium.org/234963003/diff/1/build/dir_exists.py File build/dir_exists.py (right): https://codereview.chromium.org/234963003/diff/1/build/dir_exists.py#newcode18 build/dir_exists.py:18: """Hook to be called from gyp withing starting a ...
6 years, 8 months ago (2014-04-11 14:35:39 UTC) #2
scottmg
lgtm
6 years, 8 months ago (2014-04-11 14:35:43 UTC) #3
Jens Widell
On 2014/04/11 14:35:39, scottmg wrote: > https://codereview.chromium.org/234963003/diff/1/build/dir_exists.py > File build/dir_exists.py (right): > > https://codereview.chromium.org/234963003/diff/1/build/dir_exists.py#newcode18 > ...
6 years, 8 months ago (2014-04-11 14:37:22 UTC) #4
scottmg
On 2014/04/11 14:37:22, Jens Lindström wrote: > On 2014/04/11 14:35:39, scottmg wrote: > > https://codereview.chromium.org/234963003/diff/1/build/dir_exists.py ...
6 years, 8 months ago (2014-04-11 17:12:34 UTC) #5
Daniel Bratell
https://codereview.chromium.org/234963003/diff/1/build/dir_exists.py File build/dir_exists.py (right): https://codereview.chromium.org/234963003/diff/1/build/dir_exists.py#newcode18 build/dir_exists.py:18: """Hook to be called from gyp withing starting a ...
6 years, 8 months ago (2014-04-14 12:21:12 UTC) #6
Daniel Bratell
The CQ bit was checked by bratell@opera.com
6 years, 8 months ago (2014-04-16 16:53:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/234963003/20001
6 years, 8 months ago (2014-04-16 16:54:49 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-16 17:40:10 UTC) #9
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=61798
6 years, 8 months ago (2014-04-16 17:40:11 UTC) #10
Daniel Bratell
I need a nod from one of the owners of content/content.gyp too. brettw, could you ...
6 years, 8 months ago (2014-04-16 17:53:36 UTC) #11
brettw
lgtm
6 years, 8 months ago (2014-04-16 18:11:29 UTC) #12
Daniel Bratell
The CQ bit was checked by bratell@opera.com
6 years, 8 months ago (2014-04-16 19:28:24 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/234963003/20001
6 years, 8 months ago (2014-04-16 19:29:52 UTC) #14
commit-bot: I haz the power
6 years, 8 months ago (2014-04-16 21:52:53 UTC) #15
Message was sent while issue was closed.
Change committed as 264316

Powered by Google App Engine
This is Rietveld 408576698