This is an automated email from the ASF dual-hosted git repository.
baunsgaard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/systemds.git
The following commit(s) were added to refs/heads/main by this push:
new 28c811a6ed [MINOR] Add compressed statistics if decompressing
28c811a6ed is described below
commit 28c811a6ed41b354ffeac8cab2082322f79b3203
Author: Sebastian Baunsgaard <[email protected]>
AuthorDate: Sun Dec 29 21:07:40 2024 +0100
[MINOR] Add compressed statistics if decompressing
Because we now support reading compressed data, then
we can use compressed matrices even if we do not enable CLA.
Therefore to see the statistics of compression in such cases
we print compression statistics if we ever decompress.
Signed-off-by: Sebastian Baunsgaard <[email protected]>
---
src/main/java/org/apache/sysds/utils/Statistics.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sysds/utils/Statistics.java
b/src/main/java/org/apache/sysds/utils/Statistics.java
index c0f087d0b0..e6fdf5db3c 100644
--- a/src/main/java/org/apache/sysds/utils/Statistics.java
+++ b/src/main/java/org/apache/sysds/utils/Statistics.java
@@ -1102,7 +1102,7 @@ public class Statistics
sb.append(TransformStatistics.displayStatistics());
- if(ConfigurationManager.isCompressionEnabled()){
+ if(ConfigurationManager.isCompressionEnabled() ||
DMLCompressionStatistics.getDecompressionCount() > 0){
DMLCompressionStatistics.display(sb);
}