more readable report
This commit is contained in:
parent
dcb6283620
commit
1def6a7463
|
@ -65,10 +65,10 @@ public class ByteRateOfChangeReports {
|
|||
ByteRateOfChange.ByteStatistics s2 = traceReport2.getStatistics().computeIfAbsent(id, ByteRateOfChange.ByteStatistics::new);
|
||||
|
||||
if (s1.getUniqueValuesCount() != s2.getUniqueValuesCount()) {
|
||||
String msg = prefix + id + ": count=" + s1.getUniqueValuesCount() + " vs " + s2.getUniqueValuesCount();
|
||||
String msg = prefix + id + ": unique_count=" + s1.getUniqueValuesCount() + " vs " + s2.getUniqueValuesCount();
|
||||
int deltaCount = Math.abs(s1.getUniqueValuesCount() - s2.getUniqueValuesCount());
|
||||
differences.add(new ByteVariationDifference(deltaCount, msg));
|
||||
report.println(msg + " delta=" + deltaCount + " / transitions=" + s1.totalTransitions + " vs " + s2.totalTransitions);
|
||||
report.println(msg + " (delta=" + deltaCount + "), transitions=" + s1.totalTransitions + " vs " + s2.totalTransitions);
|
||||
} else {
|
||||
HashSet<Integer> diff = s1.getUniqueValues();
|
||||
diff.removeAll(s2.getUniqueValues());
|
||||
|
|
Loading…
Reference in New Issue