Support the same UI as we have for instrumenting profiles.
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/21b66f4732239242f2a0c43de52884d0bc5d9b9c commit 21b66f4732239242f2a0c43de52884d0bc5d9b9c Author: Alexei Filippov <alph@chromium.org> Date: Wed Sep 26 21:47:08 2018 DevTools: extract HeapTimelineOverview into a separate file. No changes to the class except renaming from HeapTrackingOverviewGrid BUG=889545 Change-Id: I6ffd4d40e7ca9d34e37794ebcc1a631ad3b40ff9 Reviewed-on: https://chromium-review.googlesource.com/1246362 Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Cr-Commit-Position: refs/heads/master@{#594483} [modify] https://crrev.com/21b66f4732239242f2a0c43de52884d0bc5d9b9c/third_party/blink/renderer/devtools/BUILD.gn [modify] https://crrev.com/21b66f4732239242f2a0c43de52884d0bc5d9b9c/third_party/blink/renderer/devtools/front_end/profiler/HeapSnapshotView.js [add] https://crrev.com/21b66f4732239242f2a0c43de52884d0bc5d9b9c/third_party/blink/renderer/devtools/front_end/profiler/HeapTimelineOverview.js [modify] https://crrev.com/21b66f4732239242f2a0c43de52884d0bc5d9b9c/third_party/blink/renderer/devtools/front_end/profiler/module.json
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/7e84ac697788d0c646e44efb2fb20487e080ba51 commit 7e84ac697788d0c646e44efb2fb20487e080ba51 Author: Alexei Filippov <alph@chromium.org> Date: Tue Oct 02 17:09:42 2018 DevTools: Decouple HeapTimelineOverview from Profiler.HeapSnapshotView BUG=889545 Change-Id: I880fae90be175883b70915e1d992ea00a4363cc4 Reviewed-on: https://chromium-review.googlesource.com/1252365 Reviewed-by: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Commit-Queue: Alexei Filippov <alph@chromium.org> Cr-Commit-Position: refs/heads/master@{#595882} [modify] https://crrev.com/7e84ac697788d0c646e44efb2fb20487e080ba51/third_party/blink/renderer/devtools/front_end/profiler/HeapSnapshotView.js [modify] https://crrev.com/7e84ac697788d0c646e44efb2fb20487e080ba51/third_party/blink/renderer/devtools/front_end/profiler/HeapTimelineOverview.js
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/e06ada18c94e85030cc277e147dcbcf5c9200ddc commit e06ada18c94e85030cc277e147dcbcf5c9200ddc Author: Alexei Filippov <alph@chromium.org> Date: Wed Oct 03 18:20:19 2018 [sampling profiler] replace samples std::set with unordered_map unordered_map is supposedly faster on deleting items. BUG=chromium:889545 Change-Id: Id92d9d663e8b9ab2978b8016ef5dccfc93dc104e Reviewed-on: https://chromium-review.googlesource.com/1255554 Reviewed-by: Ali Ijaz Sheikh <ofrobots@google.com> Commit-Queue: Alexei Filippov <alph@chromium.org> Cr-Commit-Position: refs/heads/master@{#56354} [modify] https://crrev.com/e06ada18c94e85030cc277e147dcbcf5c9200ddc/src/profiler/sampling-heap-profiler.cc [modify] https://crrev.com/e06ada18c94e85030cc277e147dcbcf5c9200ddc/src/profiler/sampling-heap-profiler.h
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/e5b4229bd1167c26a5013a1f793dc1fc3b5324f4 commit e5b4229bd1167c26a5013a1f793dc1fc3b5324f4 Author: Alexei Filippov <alph@chromium.org> Date: Thu Oct 18 20:50:15 2018 [heap profiler] Provide detailed samples information in heap profiler Make heap profiler provide information about each sample currently alive. That information can be used to build diagrams of memory allocations over time. BUG=chromium:889545 Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng Change-Id: Ibcbe2f5302263d0b3976ee4cd3601eff11375cae Reviewed-on: https://chromium-review.googlesource.com/c/1285130 Commit-Queue: Alexei Filippov <alph@chromium.org> Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Cr-Commit-Position: refs/heads/master@{#56793} [modify] https://crrev.com/e5b4229bd1167c26a5013a1f793dc1fc3b5324f4/include/v8-profiler.h [modify] https://crrev.com/e5b4229bd1167c26a5013a1f793dc1fc3b5324f4/src/api.cc [modify] https://crrev.com/e5b4229bd1167c26a5013a1f793dc1fc3b5324f4/src/profiler/sampling-heap-profiler.cc [modify] https://crrev.com/e5b4229bd1167c26a5013a1f793dc1fc3b5324f4/src/profiler/sampling-heap-profiler.h [modify] https://crrev.com/e5b4229bd1167c26a5013a1f793dc1fc3b5324f4/test/cctest/test-heap-profiler.cc
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/f03b3297196f1a20b0e82710dbc1e6752f3ffb66 commit f03b3297196f1a20b0e82710dbc1e6752f3ffb66 Author: Alexei Filippov <alph@chromium.org> Date: Tue Oct 23 00:12:01 2018 [heap profiler] Plumb samples through the protocol. BUG=chromium:889545 Cq-Include-Trybots: luci.chromium.try:linux_chromium_headless_rel;master.tryserver.blink:linux_trusty_blink_rel Change-Id: Ic00ffa9968cffaf2e20682e247747b5f7dc0f145 Reviewed-on: https://chromium-review.googlesource.com/c/1285394 Commit-Queue: Alexei Filippov <alph@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#56874} [modify] https://crrev.com/f03b3297196f1a20b0e82710dbc1e6752f3ffb66/src/inspector/js_protocol.json [modify] https://crrev.com/f03b3297196f1a20b0e82710dbc1e6752f3ffb66/src/inspector/js_protocol.pdl [modify] https://crrev.com/f03b3297196f1a20b0e82710dbc1e6752f3ffb66/src/inspector/v8-heap-profiler-agent-impl.cc [modify] https://crrev.com/f03b3297196f1a20b0e82710dbc1e6752f3ffb66/test/inspector/heap-profiler/sampling-heap-profiler-expected.txt [modify] https://crrev.com/f03b3297196f1a20b0e82710dbc1e6752f3ffb66/test/inspector/heap-profiler/sampling-heap-profiler.js
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/151594d0e007cdc808e83386ce436c7163c1a201 commit 151594d0e007cdc808e83386ce436c7163c1a201 Author: Alexei Filippov <alph@chromium.org> Date: Thu Oct 25 21:48:56 2018 DevTools: Support time-based overview for sampling profiles. The patch adds timeline overview into sampling profiles types. During sampling recording it periodically requests current samples and displays them on the overview with the bar chart. After recording is complete it is possible to select a range and check allocations stacks attributed to the range. The new mode is put behind an experiment. BUG=889545 Change-Id: I186a1869ee9e99d9431260e728ce122f38b1ea99 Reviewed-on: https://chromium-review.googlesource.com/c/1297280 Commit-Queue: Alexei Filippov <alph@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#602872} [modify] https://crrev.com/151594d0e007cdc808e83386ce436c7163c1a201/third_party/blink/renderer/devtools/front_end/heap_profiler_test_runner/HeapProfilerTestRunner.js [modify] https://crrev.com/151594d0e007cdc808e83386ce436c7163c1a201/third_party/blink/renderer/devtools/front_end/main/Main.js [modify] https://crrev.com/151594d0e007cdc808e83386ce436c7163c1a201/third_party/blink/renderer/devtools/front_end/profiler/CPUProfileView.js [modify] https://crrev.com/151594d0e007cdc808e83386ce436c7163c1a201/third_party/blink/renderer/devtools/front_end/profiler/HeapProfileView.js [modify] https://crrev.com/151594d0e007cdc808e83386ce436c7163c1a201/third_party/blink/renderer/devtools/front_end/profiler/HeapTimelineOverview.js [modify] https://crrev.com/151594d0e007cdc808e83386ce436c7163c1a201/third_party/blink/renderer/devtools/front_end/profiler/ProfileView.js [modify] https://crrev.com/151594d0e007cdc808e83386ce436c7163c1a201/third_party/blink/renderer/devtools/front_end/profiler/ProfilesPanel.js [modify] https://crrev.com/151594d0e007cdc808e83386ce436c7163c1a201/third_party/blink/renderer/devtools/front_end/profiler/heapProfiler.css [modify] https://crrev.com/151594d0e007cdc808e83386ce436c7163c1a201/third_party/blink/renderer/devtools/front_end/sdk/HeapProfilerModel.js
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ab5c538a6db6011530bf240d366c46860e4ce129 commit ab5c538a6db6011530bf240d366c46860e4ce129 Author: Alexei Filippov <alph@chromium.org> Date: Tue Oct 30 23:16:50 2018 DevTools: Smooth heap timeline overview scrolling BUG=889545 Change-Id: I26c7a1425e793835107b34681596a9ad16f6a360 Reviewed-on: https://chromium-review.googlesource.com/c/1299781 Commit-Queue: Alexei Filippov <alph@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#604051} [modify] https://crrev.com/ab5c538a6db6011530bf240d366c46860e4ce129/third_party/blink/renderer/devtools/front_end/profiler/HeapProfileView.js [modify] https://crrev.com/ab5c538a6db6011530bf240d366c46860e4ce129/third_party/blink/renderer/devtools/front_end/profiler/HeapSnapshotView.js [modify] https://crrev.com/ab5c538a6db6011530bf240d366c46860e4ce129/third_party/blink/renderer/devtools/front_end/profiler/HeapTimelineOverview.js
Comment 1 by bugdroid1@chromium.org
, Sep 26