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 13485004: Extract GetSerialNumber() from inner loop (Closed)

Created:
7 years, 8 months ago by cjhopman
Modified:
7 years, 8 months ago
Reviewers:
nilesh
CC:
chromium-reviews, klundberg+watch_chromium.org, frankf+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

Extract GetSerialNumber() from inner loop This call is a bit slow, and is especially noticeable when only few/no libraries need to be pushed. Also, we only need to write the new md5 stamp if it has actually changed (i.e. it is stale). BUG=158821 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192454

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M build/android/gyp/push_libraries.py View 1 chunk +3 lines, -2 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
cjhopman
7 years, 8 months ago (2013-04-04 01:21:19 UTC) #1
nilesh
On 2013/04/04 01:21:19, cjhopman wrote: LGTM with nit
7 years, 8 months ago (2013-04-04 16:48:19 UTC) #2
nilesh
https://codereview.chromium.org/13485004/diff/1/build/android/gyp/push_libraries.py File build/android/gyp/push_libraries.py (left): https://codereview.chromium.org/13485004/diff/1/build/android/gyp/push_libraries.py#oldcode34 build/android/gyp/push_libraries.py:34: md5_stamp = '%s.%s.md5' % (host_path, adb.Adb().GetSerialNumber()) nit:md5_stamp_file is a ...
7 years, 8 months ago (2013-04-04 16:48:24 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cjhopman@chromium.org/13485004/1
7 years, 8 months ago (2013-04-05 00:10:44 UTC) #4
commit-bot: I haz the power
7 years, 8 months ago (2013-04-05 02:27:17 UTC) #5
Message was sent while issue was closed.
Change committed as 192454

Powered by Google App Engine
This is Rietveld 408576698