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

Issue 1659053002: Remove custom counts histogram from the blink API. (Closed)

Created:
4 years, 10 months ago by dtapuska
Modified:
4 years, 10 months ago
CC:
Mads Ager (chromium), darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-bindings_chromium.org, blink-reviews-css, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, falken, f(malita), gavinp+loader_chromium.org, horo+watch_chromium.org, jam, Nate Chapin, jbroman, jsbell+serviceworker_chromium.org, Justin Novosad, kinuko+serviceworker, kinuko+watch, kouhei+heap_chromium.org, loading-reviews+fetch_chromium.org, michaeln, nhiroki, oilpan-reviews, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, serviceworker-reviews, sof, tyoshino+watch_chromium.org, tzik, vmpstr+blinkwatch_chromium.org, Yoav Weiss
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove custom counts histogram from the blink API. Convert histogramCustomCount Platform API calls into the new API for histograms. This provides cached histogram recording which is slightly faster. BUG=583012 Committed: https://crrev.com/530e197ee183cc20df98f325e19c21848b8d3da4 Cr-Commit-Position: refs/heads/master@{#373827}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Fix a few thread_safe_static_local -> static_local as per feedback in reviews #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -95 lines) Patch
M content/child/blink_platform_impl.h View 1 1 chunk +0 lines, -5 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp View 1 3 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp View 3 chunks +15 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp View 2 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/css/FontFaceSet.cpp View 1 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/RemoteFontFaceSource.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp View 1 4 chunks +32 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentStatisticsCollector.cpp View 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptedIdleTaskController.cpp View 2 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp View 1 2 chunks +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.cpp View 1 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp View 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceUserTiming.cpp View 3 chunks +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp View 1 2 chunks +8 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontCache.cpp View 1 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/fonts/opentype/OpenTypeSanitizer.cpp View 1 2 chunks +15 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/Heap.cpp View 1 4 chunks +11 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/heap/ThreadState.cpp View 5 chunks +17 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp View 1 2 chunks +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/public/platform/Platform.h View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
dtapuska
PTAL; I hope that I have used DEFINE_STATIC_LOCAL and DEFINE_THREAD_SAFE_STATIC_LOCAL in the correct places. When ...
4 years, 10 months ago (2016-02-02 14:46:43 UTC) #3
haraken
WebKit/Source/ LGTM. I'm not 100% sure if you're using DEFINE_THREAD_SAFE_STATIC_LOCAL correctly, but if you use ...
4 years, 10 months ago (2016-02-03 15:29:23 UTC) #4
Charlie Reis
content/ LGTM.
4 years, 10 months ago (2016-02-03 18:33:11 UTC) #5
dtapuska
On 2016/02/03 18:33:11, Charlie Reis wrote: > content/ LGTM. esprehn@; anything to add?
4 years, 10 months ago (2016-02-04 22:50:04 UTC) #6
esprehn
lgtm, some of the THREAD_SAFE ones don't need to be though. https://codereview.chromium.org/1659053002/diff/1/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp File third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp (right): ...
4 years, 10 months ago (2016-02-04 23:25:23 UTC) #7
nhiroki
Source/web/WebEmbeddedWorkerImpl.cpp Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp LGTM https://codereview.chromium.org/1659053002/diff/1/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp File third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp (right): https://codereview.chromium.org/1659053002/diff/1/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp#newcode97 third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp:97: DEFINE_THREAD_SAFE_STATIC_LOCAL(CustomCountHistogram, scriptCountHistogram, new CustomCountHistogram("ServiceWorker.ScriptCount", 1, 1000, ...
4 years, 10 months ago (2016-02-05 00:55:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1659053002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1659053002/20001
4 years, 10 months ago (2016-02-05 15:04:20 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-05 16:38:53 UTC) #13
commit-bot: I haz the power
4 years, 10 months ago (2016-02-05 16:40:08 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/530e197ee183cc20df98f325e19c21848b8d3da4
Cr-Commit-Position: refs/heads/master@{#373827}

Powered by Google App Engine
This is Rietveld 408576698