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

Issue 2555433002: [inspector] [wasm] Add folder structure to wasm urls (Closed)

Created:
4 years ago by Clemens Hammacher
Modified:
4 years ago
Reviewers:
kozy, titzer, Yang
CC:
devtools-reviews_chromium.org, v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] [wasm] Add folder structure to wasm urls It turns out that showing a five-digit number of resources blocks the UI for a few minutes, and it remains very laggy even after that. This CL adds another component to the path of wasm scripts if the module contains more than 300 functions. The additional component will be the function index rounded down to the next multiple of 100. Example URL before: wasm://wasm/wasm-0284f1c6/wasm-0284f1c6-26337 Example URL after: wasm://wasm/wasm-0284f1c6/26300/wasm-0284f1c6-26337 This avoids showing a five-digit number of entries in the resources view. R=kozyatinskiy@chromium.org, titzer@chromium.org, yangguo@chromium.org BUG=chromium:659715 Committed: https://crrev.com/2da865d8a44082e542b87972c1a888205e9a949d Cr-Commit-Position: refs/heads/master@{#41522}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -10 lines) Patch
M src/inspector/wasm-translation.cc View 1 2 1 chunk +17 lines, -10 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 29 (18 generated)
Clemens Hammacher
This CL is actually fixing a frontend problem (too many elements in the tree view, ...
4 years ago (2016-12-05 12:32:36 UTC) #7
Yang
https://codereview.chromium.org/2555433002/diff/1/src/inspector/wasm-translation.cc File src/inspector/wasm-translation.cc (right): https://codereview.chromium.org/2555433002/diff/1/src/inspector/wasm-translation.cc#newcode147 src/inspector/wasm-translation.cc:147: return 0; This seems just to left-pad the folder ...
4 years ago (2016-12-05 15:16:42 UTC) #8
Clemens Hammacher
https://codereview.chromium.org/2555433002/diff/1/src/inspector/wasm-translation.cc File src/inspector/wasm-translation.cc (right): https://codereview.chromium.org/2555433002/diff/1/src/inspector/wasm-translation.cc#newcode147 src/inspector/wasm-translation.cc:147: return 0; On 2016/12/05 at 15:16:42, Yang wrote: > ...
4 years ago (2016-12-05 18:15:29 UTC) #11
kozy
lgtm, Just curious, could we provide more meaningful grouping?
4 years ago (2016-12-05 18:34:57 UTC) #14
Clemens Hammacher
On 2016/12/05 at 18:34:57, kozyatinskiy wrote: > lgtm, > > Just curious, could we provide ...
4 years ago (2016-12-05 18:37:16 UTC) #15
kozy
On 2016/12/05 18:37:16, Clemens Hammacher wrote: > On 2016/12/05 at 18:34:57, kozyatinskiy wrote: > > ...
4 years ago (2016-12-05 18:41:06 UTC) #16
Yang
On 2016/12/05 18:41:06, kozyatinskiy wrote: > On 2016/12/05 18:37:16, Clemens Hammacher wrote: > > On ...
4 years ago (2016-12-05 18:43:19 UTC) #17
Clemens Hammacher
> Bug sounds good to me. I agree that we need to fix frontend part ...
4 years ago (2016-12-06 12:48:10 UTC) #18
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/2555433002/40001
4 years ago (2016-12-06 13:49:06 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-06 13:50:50 UTC) #27
commit-bot: I haz the power
4 years ago (2016-12-06 13:50:59 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2da865d8a44082e542b87972c1a888205e9a949d
Cr-Commit-Position: refs/heads/master@{#41522}

Powered by Google App Engine
This is Rietveld 408576698