[Paper Review] An Experimental Investigation of XML Compression Tools
This paper presents a comprehensive experimental evaluation of nine state-of-the-art XML compression tools across 57 diverse XML documents, assessing compression ratio, speed, and practicality. The study finds that general-purpose compressors like gzip and XMLGzip outperform specialized XML-aware tools in real-world performance, with minimal gains in compression ratio from XML-conscious techniques, and highlights the need for stable, open-source queriable compressors and reproducible benchmarking.
This paper presents an extensive experimental study of the state-of-the-art of XML compression tools. The study reports the behavior of nine XML compressors using a large corpus of XML documents which covers the different natures and scales of XML documents. In addition to assessing and comparing the performance characteristics of the evaluated XML compression tools, the study tries to assess the effectiveness and practicality of using these tools in the real world. Finally, we provide some guidelines and recommen- dations which are useful for helping developers and users for making an effective decision for selecting the most suitable XML compression tool for their needs.
Motivation & Objective
- To evaluate and compare the performance of state-of-the-art XML compression tools in real-world scenarios.
- To assess the practicality and effectiveness of XML-aware versus general-purpose compressors in terms of compression ratio, speed, and resource usage.
- To identify gaps in current implementations, especially regarding source code availability and support for queriable compression.
- To provide actionable guidelines for developers and users on selecting optimal XML compression tools based on specific requirements such as speed, compression ratio, or query support.
Proposed method
- Evaluated nine publicly available XML compression tools using a corpus of 57 diverse XML documents representing different data types and scales.
- Measured compression and decompression times, compression ratios, and resource usage on two test environments with varying system resources.
- Used tuned parameters for each tool to ensure fair comparison and optimal performance settings.
- Applied multiple ranking functions (weighted by compression ratio, time, and combined metrics) to assess overall tool effectiveness.
- Classified tools by structure awareness (XML-blind vs. XML-conscious), query support (queriable vs. non-queriable), and compression mode (online vs. offline).
- Collected and analyzed results from a publicly available web page to ensure reproducibility and transparency of findings.
Experimental results
Research questions
- RQ1How do XML-aware compressors compare to general-purpose text compressors in terms of compression ratio and performance?
- RQ2What is the impact of system resources (e.g., RAM) on the performance of memory-intensive compressors like PPM and XWRT?
- RQ3Which compression tools offer the best trade-off between compression ratio, speed, and support for direct querying on compressed data?
- RQ4To what extent do XML-aware compression techniques significantly improve compression beyond what general-purpose compressors achieve?
- RQ5What are the practical barriers to adoption of queriable and schema-aware XML compressors, and how can they be addressed?
Key findings
- Gzip and XMLGzip consistently ranked as the top performers across all ranking functions, achieving the best balance of compression ratio and speed.
- No XML-aware compressor demonstrated a significant or noticeable improvement in compression ratio over its underlying general-purpose compressor (e.g., gzip, bzip2, PPM), with gains rarely exceeding 5%.
- Compression and decompression times were critical factors in tool ranking, often outweighing minor improvements in compression ratio.
- Schema-dependent and queriable XML compressors remain underdeveloped, with few stable, publicly available implementations, especially for grammar-based approaches.
- Many tools, particularly queriable ones, lack publicly available source code, undermining reproducibility and fair comparison across studies.
- The study confirms that the core innovation of XMill—separating structural and data parts for targeted compression—remains foundational, but subsequent tools have not significantly advanced beyond this model.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.