Hoogle Search
Within LTS Haskell 24.41 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
module Text.HTML.Tagchup.
Parser Parse a string into our custom tag soup data structure. The parser works only on proper Unicode texts. That is, you must have decoded it before, e.g. using decoding functions from hxt or encoding package. findMetaEncoding can assist you retrieving the character set encoding from meta information of the document at hand.
module Text.HTML.Tagchup.
PositionTag No documentation available.
module Text.HTML.Tagchup.
Process No documentation available.
Processing :: Name name -> T name string -> T name stringtagchup Text.HTML.Tagchup.Tag A tag like <?xml ...>
-
Benchmark framework which uses CPU instruction counting instead of time measurement. This approach is much more deterministic and not subject to variation caused by concurrent execution of other programs. Hardware counters are accessedusing PAPI. Thus OS and hardware support inherited from that library.
How to use
Library uses standard approach for benchmarks. So example benchmarks looks similar to one using criterion, gauge or tasty-bench:module Main where import Test.Tasty.PAPI main :: IO () main = defaultMain [ bench "6" $ whnf fib 6 , bench "7" $ whnf fib 7 , bench "8" $ whnf fib 8 ] fib :: Integer -> Integer fib 0 = 0 fib 1 = 1 fib n = fib (n-1) + fib (n-2)
Its output is:All 6: OK ALLOC=528 TOT_INS=4768 TOT_CYC=6114 BR_INS=1128 BR_MSP=74 7: OK ALLOC=864 TOT_INS=7431 TOT_CYC=6631 BR_INS=1744 BR_MSP=70 8: OK ALLOC=1408 TOT_INS=11.75e3 TOT_CYC=8540 BR_INS=2743 BR_MSP=93
Command line optiosn
Use --help to list command-line options. Below is list of options provided by this package:- --csv PATH Write benchmark results into file in CSV format.
- --counters COUNTER_SET Adjust set of hardware counters to use. Refer to Counter for documentation on supported counters. By default TOT_INS, TOT_CYC, BR_INS, BR_MSP are measured. --counters INT_INS,FP_INS will *add* INT_INS and FP_INS to default set. --counters =INT_INS,FP_INS will use only list of provided counters. Note that counter may or may not be supported on you CPU and there could be limit on number of counters used simultaneously.
-
tasty-papi Test.Tasty.PAPI Pre-fetch data instruction caused a miss
module Data.TDigest.
Postprocess No documentation available.
module Data.TDigest.Tree.
Postprocess TDigest postprocessing functions. These are re-exported from Data.TDigest module.
module Data.TDigest.Vector.
Postprocess TDigest postprocessing functions. These are re-exported from Data.TDigest module.
-
terminal System.Terminal No documentation available.