@hackage hw-xml0.0.0.1

Conduits for tokenizing streams.

hw-xml

CircleCI

hw-xml is a succinct XML parsing library. It uses succinct data-structures to allow traversal of large XML strings with minimal memory overhead.

It is currently considered experimental and is not as optimised as it could be.

For an example, see app/Main.hs

benchmarking XmlBig/Run blankXml
time                 2.212 s    (1.971 s .. 2.652 s)
                     0.996 R²   (0.989 R² .. 1.000 R²)
mean                 2.138 s    (2.073 s .. 2.186 s)
std dev              73.37 ms   (0.0 s .. 83.51 ms)
variance introduced by outliers: 19% (moderately inflated)

benchmarking XmlBig/Run xmlToInterestBits3
time                 2.497 s    (2.449 s .. 2.531 s)
                     1.000 R²   (1.000 R² .. 1.000 R²)
mean                 2.531 s    (2.515 s .. 2.540 s)
std dev              13.90 ms   (0.0 s .. 14.76 ms)
variance introduced by outliers: 19% (moderately inflated)

benchmarking XmlBig/loadXml
time                 2.768 s    (2.698 s .. 2.857 s)
                     1.000 R²   (1.000 R² .. 1.000 R²)
mean                 2.780 s    (2.767 s .. 2.790 s)
std dev              15.40 ms   (0.0 s .. 17.48 ms)
variance introduced by outliers: 19% (moderately inflated)