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

Issue 2371133003: [Devtools] Lazily build reverse mappings (Closed)

Created:
4 years, 2 months ago by eostroukhov
Modified:
4 years, 2 months ago
Reviewers:
kozy, lushnikov
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Devtools] Parse source maps lazyly On some webpages, devtools may run out of memory simply due to the size of the source maps. BUG=631389 R=lushnikov@chromium.org Committed: https://crrev.com/70c356fe51101f2ba96769beaf659b7c7c7ad353 Cr-Commit-Position: refs/heads/master@{#422452}

Patch Set 1 #

Patch Set 2 : [Devtools] Lazily build reverse mappings #

Patch Set 3 : Make all parsing lazy. #

Total comments: 17

Patch Set 4 : Addressing comments #

Total comments: 6

Patch Set 5 : Comments were addressed #

Total comments: 2

Messages

Total messages: 36 (23 generated)
eostroukhov
Please take a look
4 years, 2 months ago (2016-09-27 18:33:41 UTC) #5
pfeldman
How does making it lazy address the memory issue? Also, why does it take much ...
4 years, 2 months ago (2016-09-27 18:42:39 UTC) #6
eostroukhov
On 2016/09/27 18:42:39, pfeldman wrote: > How does making it lazy address the memory issue? ...
4 years, 2 months ago (2016-09-27 19:04:46 UTC) #7
eostroukhov
Please take another look. I also have an idea for more compact storage of the ...
4 years, 2 months ago (2016-09-27 23:30:40 UTC) #12
lushnikov
thanks! You might also want to update CL description https://codereview.chromium.org/2371133003/diff/40001/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js File third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js (right): https://codereview.chromium.org/2371133003/diff/40001/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js#newcode154 third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js:154: ...
4 years, 2 months ago (2016-09-28 16:48:13 UTC) #15
eostroukhov
Thank you for the review. I addressed the comments and fixed the failing test, please ...
4 years, 2 months ago (2016-09-28 23:26:34 UTC) #19
lushnikov
https://codereview.chromium.org/2371133003/diff/40001/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js File third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js (right): https://codereview.chromium.org/2371133003/diff/40001/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js#newcode154 third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js:154: var hasBlackboxedMappings = false; On 2016/09/28 23:26:33, eostroukhov wrote: ...
4 years, 2 months ago (2016-09-29 16:29:53 UTC) #22
eostroukhov
Thanks for the review. I implemented the comments, please take another look. https://codereview.chromium.org/2371133003/diff/60001/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js File third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js ...
4 years, 2 months ago (2016-09-30 19:14:41 UTC) #25
lushnikov
lgtm, thanks! I'm confused about the BlackboxManager part - adding Alexey to look into it ...
4 years, 2 months ago (2016-10-01 04:23:50 UTC) #29
kozy
https://codereview.chromium.org/2371133003/diff/80001/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js File third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js (right): https://codereview.chromium.org/2371133003/diff/80001/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js#newcode154 third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js:154: if (!mappings.length) { On 2016/10/01 04:23:50, lushnikov wrote: > ...
4 years, 2 months ago (2016-10-01 04:40:21 UTC) #30
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/2371133003/80001
4 years, 2 months ago (2016-10-03 15:49:56 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-03 17:37:57 UTC) #34
commit-bot: I haz the power
4 years, 2 months ago (2016-10-03 17:40:24 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/70c356fe51101f2ba96769beaf659b7c7c7ad353
Cr-Commit-Position: refs/heads/master@{#422452}

Powered by Google App Engine
This is Rietveld 408576698