Sha256: d4d19dbe0bea325f53166a70e85b2f3029188dc400eb9d1c1cb53875f35a3063

Contents?: true

Size: 795 Bytes

Versions: 2

Compression:

Stored size: 795 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

2 entries across 2 versions & 1 rubygems

Version Path
stackprof-webnav-1.0.2 lib/stackprof-webnav/views/overview.haml
stackprof-webnav-1.0.1 lib/stackprof-webnav/views/overview.haml