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

Issue 2457873002: [Android] spellcheck: add latency UMA. (Closed)

Created:
4 years, 1 month ago by timvolodine
Modified:
4 years, 1 month ago
CC:
chromium-reviews, timvolodine, rlp+watch_chromium.org, rouslan+spell_chromium.org, asvitkine+watch_chromium.org, agrieve+watch_chromium.org, groby+spellwatch_chromium.org, Tobias Sargeant
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] spellcheck: add latency UMA. Add spellchecking service latency measurement on Android. This measures how long it takes for the spellchecker to return results. The purpose is to understand performance characteristics of spellchecking on various devices. Also during testing we have encountered some slow response times on Nexus 5 Android Lollipop device, which however were resolved after updating the "Google Keyboard" app via Google Play. This UMA will help us understand if there are any such regressions in the field and how frequent they are. BUG=660074, 629609 Committed: https://crrev.com/df000848b18809fa5dbcf0cd5e45da6a7f1e673a Cr-Commit-Position: refs/heads/master@{#429687}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments, use java UMA api #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M components/spellcheck/browser/android/java/src/org/chromium/components/spellcheck/SpellCheckerSessionBridge.java View 1 6 chunks +11 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (17 generated)
timvolodine
4 years, 1 month ago (2016-10-28 15:33:23 UTC) #9
timvolodine
+ isherman@ for histograms.xml
4 years, 1 month ago (2016-10-28 15:34:17 UTC) #11
Ilya Sherman
https://codereview.chromium.org/2457873002/diff/1/components/spellcheck/browser/spellchecker_session_bridge_android.cc File components/spellcheck/browser/spellchecker_session_bridge_android.cc (right): https://codereview.chromium.org/2457873002/diff/1/components/spellcheck/browser/spellchecker_session_bridge_android.cc#newcode134 components/spellcheck/browser/spellchecker_session_bridge_android.cc:134: base::TimeDelta::FromMilliseconds(latencyMs)); Hmm, why are you adding a native call ...
4 years, 1 month ago (2016-10-28 18:53:54 UTC) #12
timvolodine
thanks for the comments Ilya, addressed them below, ptal! https://codereview.chromium.org/2457873002/diff/1/components/spellcheck/browser/spellchecker_session_bridge_android.cc File components/spellcheck/browser/spellchecker_session_bridge_android.cc (right): https://codereview.chromium.org/2457873002/diff/1/components/spellcheck/browser/spellchecker_session_bridge_android.cc#newcode134 components/spellcheck/browser/spellchecker_session_bridge_android.cc:134: ...
4 years, 1 month ago (2016-11-01 17:14:23 UTC) #15
Ilya Sherman
LGTM, thanks.
4 years, 1 month ago (2016-11-01 21:23:35 UTC) #18
groby-ooo-7-16
LGTM+1
4 years, 1 month ago (2016-11-02 16:28:53 UTC) #19
timvolodine
thanks for the reviews!
4 years, 1 month ago (2016-11-03 18:27:48 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2457873002/20001
4 years, 1 month ago (2016-11-03 18:29:12 UTC) #23
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-03 20:34:59 UTC) #25
commit-bot: I haz the power
4 years, 1 month ago (2016-11-03 20:37:29 UTC) #27
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/df000848b18809fa5dbcf0cd5e45da6a7f1e673a
Cr-Commit-Position: refs/heads/master@{#429687}

Powered by Google App Engine
This is Rietveld 408576698