From b97a9e861851c578d409a80b21bb28221a173baa Mon Sep 17 00:00:00 2001 From: Marco Concetto Rudilosso Date: Mon, 18 Dec 2017 13:18:34 +0000 Subject: [PATCH] review suggestions implemented --- .../testdata/pprof.cpu.flat.addresses.weblist | 21 ++--- internal/report/source.go | 71 +++++++--------- internal/report/source_html.go | 15 +--- internal/report/source_test.go | 83 +++++++++++++------ 4 files changed, 98 insertions(+), 92 deletions(-) diff --git a/internal/driver/testdata/pprof.cpu.flat.addresses.weblist b/internal/driver/testdata/pprof.cpu.flat.addresses.weblist index 4146534fb..8a1d18576 100644 --- a/internal/driver/testdata/pprof.cpu.flat.addresses.weblist +++ b/internal/driver/testdata/pprof.cpu.flat.addresses.weblist @@ -38,20 +38,11 @@ background-color: #eeeeee; color: #008800; display: none; } -.percentile_80 { +.ptile_95 { background-color: #fe5252 } -.percentile_60 { -background-color: #e09764 -} -.percentile_40 { -background-color: #d1b96d -} -.percentile_20 { -background-color: #c3dc76 -} -.percentile_10 { -background-color: #b3ff80 +.ptile_80 { +background-color: #ffb6c1 }