[webkit-changes] [WebKit/WebKit] b1de3e: [JSC] Add generate-sampling-profiler-flame-graph

Yusuke Suzuki noreply at github.com
Wed Nov 15 17:14:11 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b1de3ebeb6572ad061c74d9e81f84cc42cb686da
      https://github.com/WebKit/WebKit/commit/b1de3ebeb6572ad061c74d9e81f84cc42cb686da
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2023-11-15 (Wed, 15 Nov 2023)

  Changed paths:
    A Source/ThirdParty/d3flamegraphjs/LICENSE
    A Source/ThirdParty/d3flamegraphjs/d3-flamegraph-tooltip.min.js
    A Source/ThirdParty/d3flamegraphjs/d3-flamegraph.css
    A Source/ThirdParty/d3flamegraphjs/d3-flamegraph.min.js
    A Source/ThirdParty/d3js/LICENSE
    A Source/ThirdParty/d3js/d3.v7.min.js
    A Tools/Scripts/generate-sampling-profiler-flame-graph

  Log Message:
  -----------
  [JSC] Add generate-sampling-profiler-flame-graph
https://bugs.webkit.org/show_bug.cgi?id=264909
rdar://118482274

Reviewed by Justin Michaud.

This patch adds generate-sampling-profiler-flame-graph, which generates flamegraph html file from JSC sampling profiler output.
For example,

    cat JSON/100/CPP/Speedometer3.0-TodoMVC-WebComponent.json | generate-sampling-profiler-flame-graph > result.html

can generate standalone flamegraph file.

d3.js OSS-ID is OSS-18297 and d3-flame-graph.js OSS-ID is OSS-18298.

* Source/ThirdParty/d3flamegraphjs/LICENSE: Added.
* Source/ThirdParty/d3flamegraphjs/d3-flamegraph-tooltip.min.js: Added.
* Source/ThirdParty/d3flamegraphjs/d3-flamegraph.css: Added.
* Source/ThirdParty/d3flamegraphjs/d3-flamegraph.min.js: Added.
* Source/ThirdParty/d3js/LICENSE: Added.
* Source/ThirdParty/d3js/d3.v7.min.js: Added.
* Tools/Scripts/generate-sampling-profiler-flame-graph: Added.

Canonical link: https://commits.webkit.org/270797@main




More information about the webkit-changes mailing list