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

Issue 867063006: [Android] Cache Java-based histogram lookup through RecordHistogram (Closed)

Created:
5 years, 11 months ago by jdduke (slow)
Modified:
5 years, 11 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Cache Java-based histogram lookup through RecordHistogram Avoid JNI string translation for each histogrom update routed through RecordHistogram by caching the histogram lookup. Use the Java string handle as the key. BUG=442300 Committed: https://crrev.com/825e324f2c26273ba8e60dba64e8b8739d0e3d85 Cr-Commit-Position: refs/heads/master@{#313174}

Patch Set 1 #

Patch Set 2 : Use a stable identifier #

Patch Set 3 : More validation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -13 lines) Patch
M base/android/java/src/org/chromium/base/metrics/RecordHistogram.java View 1 3 chunks +4 lines, -4 lines 0 comments Download
M base/android/record_histogram.cc View 1 2 1 chunk +78 lines, -9 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
jdduke (slow)
PTAL, thanks.
5 years, 11 months ago (2015-01-23 19:18:15 UTC) #2
jdduke (slow)
On 2015/01/23 19:18:15, jdduke wrote: > PTAL, thanks. I guess my question is how confident ...
5 years, 11 months ago (2015-01-23 19:26:55 UTC) #4
Alexei Svitkine (slow)
The C++ code looks good, but now that I think about this, I don't think ...
5 years, 11 months ago (2015-01-23 19:31:52 UTC) #6
jdduke (slow)
On 2015/01/23 19:31:52, Alexei Svitkine wrote: > The C++ code looks good, but now that ...
5 years, 11 months ago (2015-01-23 19:39:00 UTC) #7
jdduke (slow)
On 2015/01/23 19:39:00, jdduke wrote: > On 2015/01/23 19:31:52, Alexei Svitkine wrote: > > The ...
5 years, 11 months ago (2015-01-23 20:16:37 UTC) #8
jdduke (slow)
Oops, forgot to add nyquist@ per earlier post.
5 years, 11 months ago (2015-01-23 20:17:28 UTC) #10
Alexei Svitkine (slow)
LGTM!
5 years, 11 months ago (2015-01-23 20:48:03 UTC) #11
ppi
lgtm too, thanks for doing this!
5 years, 11 months ago (2015-01-23 21:09:08 UTC) #12
jdduke (slow)
On 2015/01/23 21:09:08, ppi wrote: > lgtm too, thanks for doing this! nyquist@ anything else ...
5 years, 11 months ago (2015-01-26 18:57:41 UTC) #13
nyquist
lgtm
5 years, 11 months ago (2015-01-26 22:20:45 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/867063006/40001
5 years, 11 months ago (2015-01-26 22:22:06 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 11 months ago (2015-01-27 00:14:23 UTC) #17
commit-bot: I haz the power
5 years, 11 months ago (2015-01-27 00:15:51 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/825e324f2c26273ba8e60dba64e8b8739d0e3d85
Cr-Commit-Position: refs/heads/master@{#313174}

Powered by Google App Engine
This is Rietveld 408576698