The hw-xml package

[Tags:benchmark, bsd3, library, program, test]

Please see README.md


[Skip to Readme]

Properties

Versions 0.0.0.1
Dependencies ansi-wl-pprint, array, attoparsec, base (==4.*), 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 BSD3
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 repository head: git clone https://github.com/haskell-works/hw-xml
Uploaded Mon Oct 24 22:49:54 UTC 2016 by haskellworks
Distributions NixOS:0.0.0.1
Downloads 62 total (8 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-10-29 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for hw-xml

Readme for hw-xml-0.0.0.1

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)