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

Issue 136793022: [telemetry] bitmaptools as a standalone executable (Closed)

Created:
6 years, 11 months ago by szym
Modified:
6 years, 11 months ago
Reviewers:
bulach, tonyg, achuithb, M-A Ruel
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

[telemetry] bitmaptools as a standalone executable The C++ binary implements simple per-pixel algorithms for SpeedIndex computation. This allows us to achieve near real-time processing without bringing external dependencies. The bitmaptools binary needs to be built before it can be used. The overhead of spawning a child process for each frame is about 3ms. BUG=323813 TEST=telemetry bitmap_unittest Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245684

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove os.read; explain dimensions #

Patch Set 3 : add telemetry.gyp to chromium_gpu*_builder and chromium_builder_perf #

Patch Set 4 : use int instead of size_t #

Total comments: 1

Patch Set 5 : fix signedness issues #

Patch Set 6 : disable tests which need BitmapTools on CrOS #

Patch Set 7 : fix dimensions check #

Patch Set 8 : look for bitmaptools.exe on win32 #

Total comments: 19

Patch Set 9 : respond to review #

Patch Set 10 : fix binary mode for stdio on win32 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+375 lines, -54 lines) Patch
M PRESUBMIT.py View 1 chunk +2 lines, -0 lines 0 comments Download
M build/all.gyp View 1 2 4 chunks +4 lines, -0 lines 0 comments Download
A + tools/telemetry/telemetry.gyp View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -3 lines 0 comments Download
M tools/telemetry/telemetry/core/bitmap.py View 1 2 3 4 5 6 7 8 7 chunks +94 lines, -46 lines 0 comments Download
M tools/telemetry/telemetry/core/bitmap_unittest.py View 1 2 3 4 5 7 chunks +7 lines, -5 lines 0 comments Download
A tools/telemetry/telemetry/core/bitmaptools.cc View 1 2 3 4 5 6 7 8 9 1 chunk +264 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
szym
Works on my linux box. Will see what the bots say.
6 years, 11 months ago (2014-01-17 01:15:41 UTC) #1
tonyg
lgtm Love it! I'm happy when the bots are happy. https://codereview.chromium.org/136793022/diff/1/build/all.gyp File build/all.gyp (right): https://codereview.chromium.org/136793022/diff/1/build/all.gyp#newcode268 ...
6 years, 11 months ago (2014-01-17 01:43:17 UTC) #2
achuithb
https://codereview.chromium.org/136793022/diff/240021/tools/telemetry/telemetry/core/bitmap_unittest.py File tools/telemetry/telemetry/core/bitmap_unittest.py (left): https://codereview.chromium.org/136793022/diff/240021/tools/telemetry/telemetry/core/bitmap_unittest.py#oldcode105 tools/telemetry/telemetry/core/bitmap_unittest.py:105: @DisabledTest Could we replace this with @DisabledTestonCrOS instead everywhere? ...
6 years, 11 months ago (2014-01-17 04:01:24 UTC) #3
szym
maruel@chromium.org: Please review changes in PRESUBMIT.py making exception for printf/fprintf use in bitmaptools. The standalone ...
6 years, 11 months ago (2014-01-17 05:58:19 UTC) #4
bulach
lgtm.. it's a shame that the extension didn't stuck, but oh well, I guess we ...
6 years, 11 months ago (2014-01-17 10:43:44 UTC) #5
M-A Ruel
PRESUBMIT.py lgtm https://codereview.chromium.org/136793022/diff/410002/tools/telemetry/telemetry.gyp File tools/telemetry/telemetry.gyp (right): https://codereview.chromium.org/136793022/diff/410002/tools/telemetry/telemetry.gyp#newcode6 tools/telemetry/telemetry.gyp:6: 'targets' : [ no space https://codereview.chromium.org/136793022/diff/410002/tools/telemetry/telemetry/core/bitmap.py File ...
6 years, 11 months ago (2014-01-17 14:01:36 UTC) #6
szym
https://codereview.chromium.org/136793022/diff/410002/tools/telemetry/telemetry.gyp File tools/telemetry/telemetry.gyp (right): https://codereview.chromium.org/136793022/diff/410002/tools/telemetry/telemetry.gyp#newcode6 tools/telemetry/telemetry.gyp:6: 'targets' : [ On 2014/01/17 14:01:37, M-A Ruel wrote: ...
6 years, 11 months ago (2014-01-17 20:38:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/szym@chromium.org/136793022/380010
6 years, 11 months ago (2014-01-17 23:11:48 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-18 00:51:55 UTC) #9
Message was sent while issue was closed.
Change committed as 245684

Powered by Google App Engine
This is Rietveld 408576698