From 62fc903f17d42b715dfc9b7bc389ad7ff97a998e Mon Sep 17 00:00:00 2001 From: Ryan Levick Date: Thu, 29 Jul 2021 15:03:45 +0200 Subject: [PATCH 1/2] Add more figures to the summary --- site/static/compare.html | 129 ++++++++++++++++++++++++--------------- 1 file changed, 80 insertions(+), 49 deletions(-) diff --git a/site/static/compare.html b/site/static/compare.html index 0e0080ed3..b3fa95e71 100644 --- a/site/static/compare.html +++ b/site/static/compare.html @@ -210,7 +210,17 @@ .summary { display: flex; + justify-content: center; align-items: center; + width: 20%; + } + + #summary .improvement { + border: 1px solid green; + } + + #summary .regression { + border: 1px solid red; } @@ -322,7 +332,8 @@

Comparing {{stat}} between {
  • ? @@ -334,7 +345,8 @@

    Comparing {{stat}} between {

  • ? @@ -361,31 +373,36 @@

    Comparing {{stat}} between {

    -
    - Summary: - - {{summary.numRegressed}} - - - - - - - {{summary.numUnchanged}} - - - - - - {{summary.numImproved}} - - - - - -
    +