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

Issue 170773002: Cache Xcode version at the module level (Closed)

Created:
6 years, 10 months ago by sdefresne
Modified:
6 years, 10 months ago
Reviewers:
Nico, justincohen
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

Cache Xcode version at the module level XcodeVersion may end up being called many times when building large projects, so cache the version for performance reason. The xcodebuild command has also been observed to return incorrect values when called by multiple processes in parallel, so reducing the number of calls here reduce the risk of encountering this issue. BUG=408 R=justincohen@chromium.org, thakis@chromium.org Committed: https://code.google.com/p/gyp/source/detail?r=1854

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M pylib/gyp/xcode_emulation.py View 8 chunks +12 lines, -12 lines 2 comments Download

Messages

Total messages: 6 (0 generated)
sdefresne
6 years, 10 months ago (2014-02-18 17:07:01 UTC) #1
sdefresne
+ thakis as asked offline by justincohen
6 years, 10 months ago (2014-02-18 17:09:27 UTC) #2
justincohen
What was xcodeversion returning? What was the incorrect value? LGTM
6 years, 10 months ago (2014-02-18 17:11:06 UTC) #3
Nico
Do you have performance numbers on how much this helps? (I thought this used to ...
6 years, 10 months ago (2014-02-18 17:11:57 UTC) #4
sdefresne
Thank you for the review. You can find one such broken invocation at in the ...
6 years, 10 months ago (2014-02-18 17:28:33 UTC) #5
sdefresne
6 years, 10 months ago (2014-02-18 17:29:30 UTC) #6
Message was sent while issue was closed.
Committed patchset #1 manually as r1854 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698