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

Issue 1685683006: DevTools: [Console] speedup array autocompletion (Closed)

Created:
4 years, 10 months ago by lushnikov
Modified:
4 years, 10 months ago
Reviewers:
kozy, pfeldman, PhistucK
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman, sergeyv+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: [Console] speedup array autocompletion The patch avoids serializing array indexes in getCompletions function. BUG=585877 R=pfeldman, kozyatinskiy Committed: https://crrev.com/b10b134f884a744e9601cca82cbe6e83e85467d1 Cr-Commit-Position: refs/heads/master@{#374801}

Patch Set 1 #

Patch Set 2 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-completions-on-call-frame.html View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js View 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 17 (6 generated)
lushnikov
ptal
4 years, 10 months ago (2016-02-10 20:26:43 UTC) #1
kozy
lgtm
4 years, 10 months ago (2016-02-10 20:32:52 UTC) #2
kozy
Hm.. When I type var a = [1,2,3] in array and then use auto complete ...
4 years, 10 months ago (2016-02-10 20:35:04 UTC) #3
lushnikov
As per offline discussion, omitting array indexes turned out to be a good thing! Landing.
4 years, 10 months ago (2016-02-10 20:40:58 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685683006/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685683006/1
4 years, 10 months ago (2016-02-10 20:43:25 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/172215)
4 years, 10 months ago (2016-02-10 22:00:17 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685683006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685683006/20001
4 years, 10 months ago (2016-02-10 22:39:29 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-11 00:24:26 UTC) #12
PhistucK
Would caching some of the lookups speed it up even more? http://jsperf.com/cachedvsnoncached/3 var resultSet = ...
4 years, 10 months ago (2016-02-11 06:44:05 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/b10b134f884a744e9601cca82cbe6e83e85467d1 Cr-Commit-Position: refs/heads/master@{#374801}
4 years, 10 months ago (2016-02-16 22:33:07 UTC) #16
lushnikov
4 years, 10 months ago (2016-02-16 23:23:30 UTC) #17
Message was sent while issue was closed.
@phistuck: the goal of the patch is to send less amount of data from inspected
page to inspector.

Powered by Google App Engine
This is Rietveld 408576698