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.

  1. 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.

  2. module Text.HTML.Tagchup.PositionTag

    No documentation available.

  3. module Text.HTML.Tagchup.Process

    No documentation available.

  4. Processing :: Name name -> T name string -> T name string

    tagchup Text.HTML.Tagchup.Tag

    A tag like <?xml ...>

  5. module Test.Tasty.PAPI

    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.

  6. PRF_DM :: Counter

    tasty-papi Test.Tasty.PAPI

    Pre-fetch data instruction caused a miss

  7. module Data.TDigest.Postprocess

    No documentation available.

  8. module Data.TDigest.Tree.Postprocess

    TDigest postprocessing functions. These are re-exported from Data.TDigest module.

  9. module Data.TDigest.Vector.Postprocess

    TDigest postprocessing functions. These are re-exported from Data.TDigest module.

  10. PageDownKey :: Key

    terminal System.Terminal

    No documentation available.

Page 741 of many | Previous | Next