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

Issue 2227933002: Revert CompressibleString (and its UMA) (Closed)

Created:
4 years, 4 months ago by hajimehoshi
Modified:
4 years, 4 months ago
CC:
apavlov+blink_chromium.org, asvitkine+watch_chromium.org, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, blink-reviews-wtf_chromium.org, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, dglazkov+blink, eae+blinkwatch, gavinp+loader_chromium.org, Nate Chapin, kinuko+watch, kozyatinskiy+blink_chromium.org, loading-reviews+parser_chromium.org, loading-reviews+fetch_chromium.org, lushnikov+blink_chromium.org, Mikhail, pfeldman+blink_chromium.org, rwlbuis, sof, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert CompressibleString (and its UMA) This CL is basically revert of crrev/1583263002. Though CompressibleString is promissing to reduce much memory usage, we are not ready to use this yet for a while. The current implementation of CompressibleString is mock and does virtually nothing, but makes the code complicated unnecessarily. We remove it once and we'll land CompressibleString again when the time comes. BUG=574317 TEST=wtf_unittests Committed: https://crrev.com/62f9bf90d67be3a8b3c89e15a21504b767c3357d Cr-Commit-Position: refs/heads/master@{#411029}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address on Ilya's review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -557 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h View 3 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp View 2 chunks +1 line, -6 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8Binding.h View 2 chunks +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.h View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8ScriptRunner.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8StringResource.h View 5 chunks +5 lines, -88 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8StringResource.cpp View 2 chunks +5 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8ValueCache.h View 4 chunks +1 line, -43 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/V8ValueCache.cpp View 4 chunks +0 lines, -81 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.h View 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WorkerOrWorkletScriptController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/ScriptLoader.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ScriptResource.h View 3 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ScriptResource.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/parser/HTMLScriptRunner.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/Page.h View 3 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/page/Page.cpp View 5 chunks +0 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/platform/text/CompressibleString.h View 1 chunk +0 lines, -120 lines 0 comments Download
D third_party/WebKit/Source/platform/text/CompressibleString.cpp View 1 chunk +0 lines, -129 lines 0 comments Download
M third_party/WebKit/Source/wtf/WTFThreadData.h View 2 chunks +0 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/wtf/WTFThreadData.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 chunks +8 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 26 (15 generated)
hajimehoshi
PTAL
4 years, 4 months ago (2016-08-09 07:33:51 UTC) #2
haraken
Yeah, we don't have any immediate plan to use CompressibleString (for a couple of complicated ...
4 years, 4 months ago (2016-08-09 07:36:15 UTC) #3
Ilya Sherman
https://codereview.chromium.org/2227933002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2227933002/diff/1/tools/metrics/histograms/histograms.xml#oldcode23616 tools/metrics/histograms/histograms.xml:23616: - enum="CompressibleStringCountType"> Please mark this histogram as <obsolete> rather ...
4 years, 4 months ago (2016-08-09 19:15:19 UTC) #8
esprehn
lgtm w/ the histogram fixed per isherman
4 years, 4 months ago (2016-08-10 04:06:21 UTC) #9
hajimehoshi
Thank you! https://codereview.chromium.org/2227933002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (left): https://codereview.chromium.org/2227933002/diff/1/tools/metrics/histograms/histograms.xml#oldcode23616 tools/metrics/histograms/histograms.xml:23616: - enum="CompressibleStringCountType"> On 2016/08/09 19:15:19, Ilya Sherman ...
4 years, 4 months ago (2016-08-10 06:17:34 UTC) #11
Ilya Sherman
histograms.xml lgtm, thanks.
4 years, 4 months ago (2016-08-10 06:19:49 UTC) #14
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/2227933002/20001
4 years, 4 months ago (2016-08-10 06:48:43 UTC) #18
commit-bot: I haz the power
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_ng/builds/270731)
4 years, 4 months ago (2016-08-10 10:11:04 UTC) #20
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/2227933002/20001
4 years, 4 months ago (2016-08-10 10:16:57 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-10 12:54:01 UTC) #24
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 12:55:32 UTC) #26
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/62f9bf90d67be3a8b3c89e15a21504b767c3357d
Cr-Commit-Position: refs/heads/master@{#411029}

Powered by Google App Engine
This is Rietveld 408576698