|
|
DescriptionAdd histogram for Blink's spell check request interval
This patch adds a histogram for Blink's spell check request interval,
so that we can understand how aggressive Blink's spellchecker is, and
decide if any optimization is needed.
BUG=721490
Review-Url: https://codereview.chromium.org/2871313002
Cr-Commit-Position: refs/heads/master@{#471466}
Committed: https://chromium.googlesource.com/chromium/src/+/6ddb331240ae137b7e74ec611fd7caa4114fdea4
Patch Set 1 #
Total comments: 4
Patch Set 2 : Fri May 12 11:31:33 PDT 2017 #
Messages
Total messages: 28 (20 generated)
The CQ bit was checked by xiaochengh@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by xiaochengh@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Add histogram for Blink's spell check request interval BUG= ========== to ========== Add histogram for Blink's spell check request interval BUG=721490 ==========
xiaochengh@chromium.org changed reviewers: + yosin@chromium.org
Is this what we want? I agree there will be a lot of noise, but haven't found a way to reduce it in the impl in an effective and clean way... Maybe we just manually cut the min and max extremes from the test result?
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
On 2017/05/11 at 18:59:50, xiaochengh wrote: > Is this what we want? Yes. > I agree there will be a lot of noise, but haven't found a way to reduce it in the impl in an effective and clean way... Maybe we just manually cut the min and max extremes from the test result? Yes, this method makes some noise, but I guess we can easily exclude them, interval > 1s. Small intervals may not be noise. Many small intervals means we check spelling too aggressive.
lgtm w/ nit Please choose reviewer for histograms.xml https://codereview.chromium.org/2871313002/diff/1/third_party/WebKit/Source/c... File third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp (right): https://codereview.chromium.org/2871313002/diff/1/third_party/WebKit/Source/c... third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp:162: double current_request_time = MonotonicallyIncreasingTime(); nit: s/double/const double/ https://codereview.chromium.org/2871313002/diff/1/third_party/WebKit/Source/c... third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp:164: double interval_ms = (current_request_time - last_request_time_) * 1000.0; nit: s/double/const double/
The CQ bit was checked by xiaochengh@chromium.org to run a CQ dry run
Description was changed from ========== Add histogram for Blink's spell check request interval BUG=721490 ========== to ========== Add histogram for Blink's spell check request interval This patch adds a histogram for Blink's spell check request interval, so that we can understand how aggressive Blink's spellchecker is, and decide if any optimization is needed. BUG=721490 ==========
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
xiaochengh@chromium.org changed reviewers: + isherman@chromium.org
+isherman Thanks for the review. Updated. https://codereview.chromium.org/2871313002/diff/1/third_party/WebKit/Source/c... File third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp (right): https://codereview.chromium.org/2871313002/diff/1/third_party/WebKit/Source/c... third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp:162: double current_request_time = MonotonicallyIncreasingTime(); On 2017/05/12 at 04:33:34, yosin_UTC9 wrote: > nit: s/double/const double/ Done. https://codereview.chromium.org/2871313002/diff/1/third_party/WebKit/Source/c... third_party/WebKit/Source/core/editing/spellcheck/SpellCheckRequester.cpp:164: double interval_ms = (current_request_time - last_request_time_) * 1000.0; On 2017/05/12 at 04:33:34, yosin_UTC9 wrote: > nit: s/double/const double/ Done.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
metrics lgtm
The CQ bit was checked by xiaochengh@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from yosin@chromium.org Link to the patchset: https://codereview.chromium.org/2871313002/#ps20001 (title: "Fri May 12 11:31:33 PDT 2017")
Thanks for the review!
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 20001, "attempt_start_ts": 1494623133944400, "parent_rev": "b0fbfe1542e538079f74439a578a2b08cb8a88ba", "commit_rev": "6ddb331240ae137b7e74ec611fd7caa4114fdea4"}
Message was sent while issue was closed.
Description was changed from ========== Add histogram for Blink's spell check request interval This patch adds a histogram for Blink's spell check request interval, so that we can understand how aggressive Blink's spellchecker is, and decide if any optimization is needed. BUG=721490 ========== to ========== Add histogram for Blink's spell check request interval This patch adds a histogram for Blink's spell check request interval, so that we can understand how aggressive Blink's spellchecker is, and decide if any optimization is needed. BUG=721490 Review-Url: https://codereview.chromium.org/2871313002 Cr-Commit-Position: refs/heads/master@{#471466} Committed: https://chromium.googlesource.com/chromium/src/+/6ddb331240ae137b7e74ec611fd7... ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/6ddb331240ae137b7e74ec611fd7... |