hw-xml

Conduits for tokenizing streams. http://github.com/haskell-works/hw-xml#readme

Latest on Hackage:0.0.0.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by John Ky, Alexey Raga
Maintained by alexey.raga@gmail.com

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)
comments powered byDisqus