hw-xml: Conduits for tokenizing streams.

[ bsd3, data, data-structures, library, program, succinct-data-structures, xml ] [ Propose Tags ]
Versions [RSS] 0.0.0.1, 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.0.1, 0.4.0.2, 0.4.0.3, 0.4.0.4, 0.4.0.5, 0.4.0.6, 0.5.0.0, 0.5.1.0, 0.5.1.1, 0.5.1.2
Dependencies ansi-wl-pprint, array, attoparsec, base (>=4 && <5), bytestring, conduit, containers, criterion, hw-balancedparens (>=0.1.0.0), hw-bits (>=0.4.0.0), hw-conduit (>=0.1.0.0), hw-diagnostics (>=0.0.0.5), hw-parser, hw-prim (>=0.4.0.0), hw-rankselect (>=0.7.0.0), hw-rankselect-base (>=0.2.0.0), hw-xml, mmap, mono-traversable, resourcet, text, vector, word8 [details]
License BSD-3-Clause
Copyright 2016 John Ky, Alexey Raga
Author John Ky, Alexey Raga
Maintainer alexey.raga@gmail.com
Category Data, XML
Home page http://github.com/haskell-works/hw-xml#readme
Source repo head: git clone https://github.com/haskell-works/hw-xml
Uploaded by haskellworks at 2016-10-24T22:49:54Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables hw-xml-example
Downloads 8544 total (68 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-10-29 [all 1 reports]

Readme for hw-xml-0.0.0.1

[back to package description]

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)