{{ define "formattedText" }} {{ end }} {{ define "rows" }} {{ range $child := . }} {{ if $child.IsImplementation }} {{ if .HasChildren }} +{{ .Name }} {{/* {{ printf "%.6f" .Delta.Memory }} {{ printf "%.6f" .Delta.Disk }} */}} {{ .Delta.Performance.Percents }} {{ .Delta.Graphemes.Divide }} {{ .Delta.SoftBreaks.Divide }} {{ .Delta.HardBreaks.Divide }} {{ .Delta.Whitespaces.Divide }} {{ .Delta.Words.Divide }} {{ .Delta.Controls.Divide }} {{ else }} {{ .Name }} {{ end }} {{ else if $child.IsFile }} {{ if $child.HasNoDifferences }} {{ else }} {{ .Name }} {{ if .HasNoGraphemes }} {{ .Delta.Graphemes.Divide }} {{ else }} {{ if .HasMissingGraphemes }} {{ end }} {{ if .HasExtraGraphemes }} {{ end }} {{ end }} {{ if .HasNoSoftBreaks }} {{ .Delta.SoftBreaks.Divide }} {{ else }} {{ if .HasMissingSoftBreaks }} {{ end }} {{ if .HasExtraSoftBreaks }} {{ end }} {{ end }} {{ if .HasNoHardBreaks }} {{ .Delta.HardBreaks.Divide }} {{ else }} {{ if .HasMissingHardBreaks }} {{ end }} {{ if .HasExtraHardBreaks }} {{ end }} {{ end }} {{ if .HasNoWhitespaces }} {{ .Delta.Whitespaces.Divide }} {{ else }} {{ if .HasMissingWhitespaces }} {{ end }} {{ if .HasExtraWhitespaces }} {{ end }} {{ end }} {{ if .HasNoWords }} {{ .Delta.Words.Divide }} {{ else }} {{ if .HasMissingWords }} {{ end }} {{ if .HasExtraWords }} {{ end }} {{ end }} {{ if .HasNoControls }} {{ .Delta.Controls.Divide }} {{ else }} {{ if .HasMissingControls }} {{ end }} {{ if .HasExtraControls }} {{ end }} {{ end }} {{ .Implementation }} results {{ template "formattedText" . }} Chrome results
{{ .Text }}
{{ end }} {{ else }} {{ if .HasChildren }} + {{ .Name }} {{ .Delta.Performance.Percents }} {{ .Delta.Graphemes.Divide }} {{ .Delta.SoftBreaks.Divide }} {{ .Delta.HardBreaks.Divide }} {{ .Delta.Whitespaces.Divide }} {{ .Delta.Words.Divide }} {{ .Delta.Controls.Divide }} {{ else }} {{ .Name }} {{ .Delta.Performance.Percents }} {{ end }} {{ end}} {{ template "rows" $child.Children }} {{ end }} {{ end }}