Sha256: ecced2cde52116319615c6b7b0a459d72da1d190bd2027b4d9e96334c1ae832d

Contents?: true

Size: 794 Bytes

Versions: 1

Compression:

Stored size: 794 Bytes

Contents

%h3 StackProf Navigator - #{@action} (#{@frames.count} frames)
%hr

%p
  Viewing dump
  %b= current_dump.path

%a{href: "/"}
  %button.btn Browse directory


%a{href: url_for("/graph")}
  %button.btn View call graph

- if current_report.data[:raw]
  %a{href: url_for("/flamegraph")}
    %button View flamegraph
- else
  %a{href: "https://github.com/tmm1/stackprof#all-options"}
    %button.secondary Flamegraph is not available

%table.centered
  %thead
    %th Total
    %th %
    %th Samples
    %th %
    %th Method

  %tbody
    - @frames.each do |frame|
      %tr
        %td= frame[:total]
        %td= frame[:total_pct]
        %td= frame[:samples]
        %td= frame[:samples_pct]
        %td
          %a{:href => url_for("/method", name: frame[:method])}
            = frame[:method]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stackprof-webnav-1.0.0 lib/stackprof-webnav/views/overview.haml