<commit_before>extends ./layout.jade

mixin statsCell(stats, name)
  - value = stats ? stats.median : undefined
  td.number(data-title=name, data-value=value) #{value}

block content
    h2 Domains
    .responsive
      table(data-sortable, id='domains')
        thead
          tr
            th Domain
            th blocked
            th dns
            th connect
            th send
            th wait
            th receive
            th total
            th requests
        each domain in domainStats
          tr
            td.url.assetsurl(data-title='Domain') #{domain.domainName}
            +statsCell(domain.blocked, 'Blocked')
            +statsCell(domain.dns, 'DNS')
            +statsCell(domain.connect, 'Connect')
            +statsCell(domain.send, 'Send')
            +statsCell(domain.wait, 'Wait')
            +statsCell(domain.receive, 'Receive')
            +statsCell(domain.totalTime, 'Total time')
            td.number(data-title='Requests', data-value=domain.requestCount) #{domain.requestCount}
<commit_msg>Add ssl column to domains page.<commit_after>extends ./layout.jade

mixin statsCell(stats, name)
  - value = stats ? stats.median : undefined
  td.number(data-title=name, data-value=value) #{value}

block content
    h2 Domains
    .responsive
      table(data-sortable, id='domains')
        thead
          tr
            th Domain
            th blocked
            th dns
            th connect
            th send
            th ssl
            th wait
            th receive
            th total
            th requests
        each domain in domainStats
          tr
            td.url.assetsurl(data-title='Domain') #{domain.domainName}
            +statsCell(domain.blocked, 'Blocked')
            +statsCell(domain.dns, 'DNS')
            +statsCell(domain.connect, 'Connect')
            +statsCell(domain.send, 'Send')
            +statsCell(domain.ssl, 'SSL')
            +statsCell(domain.wait, 'Wait')
            +statsCell(domain.receive, 'Receive')
            +statsCell(domain.totalTime, 'Total time')
            td.number(data-title='Requests', data-value=domain.requestCount) #{domain.requestCount}

{'fraction_non_alphanumeric': 0.10438799076212471, 'fraction_numerical': 0.0009237875288683603, 'mean_word_length': 1.8203125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1353783', 'n_tokens_mistral': 609, 'n_tokens_neox': 596, 'n_words': 137}