Skip to content
John Ky edited this page Aug 1, 2016 · 1 revision

Welcome to the hw-mquery wiki!

	Mon Aug  1 18:31 2016 Time and Allocation Profiling Report  (Final)

	   hw-mquery-example +RTS -N -p -RTS

	total time  =        6.71 secs   (6714 ticks @ 1000 us, 1 processor)
	total alloc = 7,865,503,688 bytes  (excludes profiling overheads)

COST CENTRE          MODULE                                                 %time %alloc

.?.                  HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S  47.4   43.3
findClose            HaskellWorks.Data.Succinct.BalancedParens.Simple        34.7   43.2
bitLength            HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S   8.5    7.9
poppy512SBits        HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S   3.3    0.0
elemBitEnd           HaskellWorks.Data.Bits.BitLength                         2.3    0.0
parseJsonString      HaskellWorks.Data.Json.Value.Internal                    1.2    1.9
loadJsonRawWithIndex HaskellWorks.Data.LoadJson                               0.8    2.6


                                                                                                              individual     inherited
COST CENTRE                    MODULE                                                       no.     entries  %time %alloc   %time %alloc

MAIN                           MAIN                                                         228           0    0.0    0.0   100.0  100.0
 main                          Main                                                         457           0    0.0    0.0   100.0  100.0
  aggregate                    HaskellWorks.Data.MQuery                                     541           1    0.1    0.0     0.3    0.2
   castAsInteger               HaskellWorks.Data.MQuery                                     609          94    0.0    0.0     0.0    0.0
   having                      HaskellWorks.Data.MQuery                                     604        8200    0.1    0.1     0.2    0.1
    valueOf                    HaskellWorks.Data.MQuery                                     608        4213    0.0    0.0     0.0    0.0
    asString                   HaskellWorks.Data.MQuery                                     607        4213    0.0    0.0     0.0    0.0
    named                      HaskellWorks.Data.MQuery                                     606       12068    0.0    0.0     0.0    0.0
    entry                      HaskellWorks.Data.MQuery                                     605        8200    0.0    0.0     0.0    0.0
   named                       HaskellWorks.Data.MQuery                                     591        5128    0.0    0.0     0.0    0.0
   entry                       HaskellWorks.Data.MQuery                                     566        1227    0.0    0.0     0.0    0.0
   item                        HaskellWorks.Data.MQuery                                     552         542    0.0    0.0     0.0    0.0
  putPretty                    HaskellWorks.Data.Micro                                      529           1    0.0    0.0     0.0    0.0
   pretty                      HaskellWorks.Data.MQuery                                     536           1    0.0    0.0     0.0    0.0
    mQuery                     HaskellWorks.Data.MQuery                                     540           1    0.0    0.0     0.0    0.0
    prettyRowOfString          HaskellWorks.Data.Row                                        537           1    0.0    0.0     0.0    0.0
     text                      Text.PrettyPrint.ANSI.Leijen                                 611           1    0.0    0.0     0.0    0.0
     <>                        Text.PrettyPrint.ANSI.Leijen                                 543           1    0.0    0.0     0.0    0.0
     aggregate                 HaskellWorks.Data.MQuery                                     542           0    0.0    0.0     0.0    0.0
   <>                          Text.PrettyPrint.ANSI.Leijen                                 535           1    0.0    0.0     0.0    0.0
   putDoc                      Text.PrettyPrint.ANSI.Leijen                                 530           1    0.0    0.0     0.0    0.0
    hPutDoc                    Text.PrettyPrint.ANSI.Leijen                                 531           1    0.0    0.0     0.0    0.0
     renderPretty              Text.PrettyPrint.ANSI.Leijen                                 534           0    0.0    0.0     0.0    0.0
     displayIO                 Text.PrettyPrint.ANSI.Leijen                                 532           1    0.0    0.0     0.0    0.0
      hSetSGR                  System.Console.ANSI.Unix                                     547           4    0.0    0.0     0.0    0.0
       setSGRCode              System.Console.ANSI.Unix                                     548           4    0.0    0.0     0.0    0.0
  loadJsonWithPoppy512SIndex2  HaskellWorks.Data.LoadJson                                   459           0    0.0    0.0    99.7   99.8
   jsonPartialJsonValueAt      HaskellWorks.Data.Json.PartialValue                          528       10016    0.0    0.1     1.2    1.9
    buffer                     Data.Attoparsec.ByteString.Buffer                            598       17149    0.0    0.0     0.0    0.0
    parseJsonString            HaskellWorks.Data.Json.Value.Internal                        595           0    1.2    1.9     1.2    1.9
     fromPos                   Data.Attoparsec.Internal.Types                               603      154827    0.0    0.0     0.0    0.0
     memberWord8               Data.Attoparsec.ByteString.FastSet                           599      154827    0.0    0.0     0.0    0.0
     runParser                 Data.Attoparsec.Internal.Types                               596     2115645    0.0    0.0     0.0    0.0
    runParser                  Data.Attoparsec.Internal.Types                               593       17149    0.0    0.0     0.0    0.0
    asString                   HaskellWorks.Data.Json.PartialValue                          592       12842    0.0    0.0     0.0    0.0
   jsonPartialIndexAt          HaskellWorks.Data.Json.Succinct.PartialIndex                 466       22858    0.6    0.2    97.5   95.1
    nextSibling                HaskellWorks.Data.Json.Succinct.Cursor.Internal              568       30273    0.0    0.0    96.3   94.5
     balancedParens            HaskellWorks.Data.Json.Succinct.Cursor.Internal              578       30273    0.0    0.0     0.0    0.0
     cursorRank                HaskellWorks.Data.Json.Succinct.Cursor.Internal              572       30273    0.0    0.0     0.0    0.0
     nextSibling               HaskellWorks.Data.Succinct.BalancedParens.Simple             569       30273    0.0    0.0    96.2   94.5
      findClose                HaskellWorks.Data.Succinct.BalancedParens.Simple             579       30273   34.7   43.2    96.0   94.3
       bitLength               HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       588    38626055    8.5    7.9     8.5    7.9
        unId                   Data.Vector.Fusion.Util                                      590    38626055    0.0    0.0     0.0    0.0
        poppy512SBits          HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       589    38626055    0.0    0.0     0.0    0.0
       bitLength               HaskellWorks.Data.Succinct.BalancedParens.Simple             587    38626055    0.0    0.0     0.0    0.0
       toPosition              HaskellWorks.Data.Positioning                                582    38656328    0.0    0.0     0.0    0.0
       .?.                     HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       580           0   47.3   43.2    52.8   43.2
        poppy512SBits          HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       586    38656328    3.2    0.0     3.2    0.0
        unId                   Data.Vector.Fusion.Util                                      585    77312656    0.0    0.0     0.0    0.0
        elemBitEnd             HaskellWorks.Data.Bits.BitLength                             583    38656328    2.3    0.0     2.3    0.0
         getCount              HaskellWorks.Data.Positioning                                584    38656328    0.0    0.0     0.0    0.0
        getPosition            HaskellWorks.Data.Positioning                                581    38656328    0.0    0.0     0.0    0.0
      toPosition               HaskellWorks.Data.Positioning                                573       60546    0.0    0.0     0.0    0.0
      .?.                      HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       570           0    0.1    0.1     0.1    0.1
       poppy512SBits           HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       577       60546    0.0    0.0     0.0    0.0
       unId                    Data.Vector.Fusion.Util                                      576      121092    0.0    0.0     0.0    0.0
       elemBitEnd              HaskellWorks.Data.Bits.BitLength                             574       60546    0.0    0.0     0.0    0.0
        getCount               HaskellWorks.Data.Positioning                                575       60546    0.0    0.0     0.0    0.0
       getPosition             HaskellWorks.Data.Positioning                                571       60546    0.0    0.0     0.0    0.0
    firstChild                 HaskellWorks.Data.Json.Succinct.Cursor.Internal              553        5709    0.0    0.0     0.0    0.0
     balancedParens            HaskellWorks.Data.Json.Succinct.Cursor.Internal              565        5709    0.0    0.0     0.0    0.0
     cursorRank                HaskellWorks.Data.Json.Succinct.Cursor.Internal              559        5709    0.0    0.0     0.0    0.0
     firstChild                HaskellWorks.Data.Succinct.BalancedParens.Simple             554        5709    0.0    0.0     0.0    0.0
      toPosition               HaskellWorks.Data.Positioning                                560       11418    0.0    0.0     0.0    0.0
      .?.                      HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       557           0    0.0    0.0     0.0    0.0
       poppy512SBits           HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       564       11418    0.0    0.0     0.0    0.0
       unId                    Data.Vector.Fusion.Util                                      563       22836    0.0    0.0     0.0    0.0
       elemBitEnd              HaskellWorks.Data.Bits.BitLength                             561       11418    0.0    0.0     0.0    0.0
        getCount               HaskellWorks.Data.Positioning                                562       11418    0.0    0.0     0.0    0.0
       getPosition             HaskellWorks.Data.Positioning                                558       11418    0.0    0.0     0.0    0.0
    isBracketLeft              HaskellWorks.Data.Json.CharLike                              526           0    0.0    0.0     0.0    0.0
    isBraceLeft                HaskellWorks.Data.Json.CharLike                              523           0    0.0    0.0     0.0    0.0
    isChar_n                   HaskellWorks.Data.Json.CharLike                              520           0    0.0    0.0     0.0    0.0
    isChar_f                   HaskellWorks.Data.Json.CharLike                              517           0    0.0    0.0     0.0    0.0
    isChar_t                   HaskellWorks.Data.Json.CharLike                              514           0    0.0    0.0     0.0    0.0
    isQuotDbl                  HaskellWorks.Data.Json.CharLike                              511           0    0.0    0.0     0.0    0.0
    isLeadingDigit             HaskellWorks.Data.Json.Conduit.Words                         506       22858    0.0    0.0     0.0    0.0
    rank1                      HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       485       22858    0.1    0.0     0.2    0.1
     rank1                     HaskellWorks.Data.Succinct.RankSelect.Binary.Basic.Rank1     488       22858    0.1    0.0     0.1    0.0
      rank1                    HaskellWorks.Data.Succinct.RankSelect.Binary.Basic.Rank1     491       22828    0.0    0.0     0.0    0.0
      sElems                   Data.Vector.Fusion.Bundle.Monadic                            490       22858    0.0    0.0     0.0    0.0
      unId                     Data.Vector.Fusion.Util                                      489       91372    0.0    0.0     0.0    0.0
     unId                      Data.Vector.Fusion.Util                                      487       68574    0.0    0.0     0.0    0.0
     toPosition                HaskellWorks.Data.Positioning                                486       22858    0.0    0.0     0.0    0.0
    cursorRank                 HaskellWorks.Data.Json.Succinct.Cursor.Internal              484       22858    0.0    0.0     0.0    0.0
    balancedParens             HaskellWorks.Data.Json.Succinct.Cursor.Internal              478       22858    0.0    0.0     0.0    0.0
    select1                    HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       475       22858    0.2    0.2     0.4    0.3
     select1                   HaskellWorks.Data.Succinct.RankSelect.Binary.Basic.Select1   501       22858    0.0    0.0     0.1    0.0
      select1                  HaskellWorks.Data.Succinct.RankSelect.Binary.Basic.Select1   503       22858    0.0    0.0     0.0    0.0
       getCount                HaskellWorks.Data.Positioning                                504       22858    0.0    0.0     0.0    0.0
      unId                     Data.Vector.Fusion.Util                                      502      125531    0.0    0.0     0.0    0.0
     toCount                   HaskellWorks.Data.Positioning                                500       22858    0.0    0.0     0.0    0.0
     sampleRange               HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       492       22858    0.1    0.1     0.1    0.1
      unId                     Data.Vector.Fusion.Util                                      493       68574    0.0    0.0     0.0    0.0
     unId                      Data.Vector.Fusion.Util                                      476      401922    0.0    0.0     0.0    0.0
    interests                  HaskellWorks.Data.Json.Succinct.Cursor.Internal              470       22858    0.0    0.0     0.0    0.0
    lastPositionOf             HaskellWorks.Data.Positioning                                469       22858    0.0    0.0     0.0    0.0
    toCount                    HaskellWorks.Data.Positioning                                468       22858    0.0    0.0     0.0    0.0
    cursorText                 HaskellWorks.Data.Json.Succinct.Cursor.Internal              467       22858    0.0    0.0     0.0    0.0
   makePoppy512S               HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       465           2    0.1    0.0     0.2    0.2
    select1                    HaskellWorks.Data.Succinct.RankSelect.Binary.Basic.Select1   498         297    0.0    0.0     0.0    0.0
     getCount                  HaskellWorks.Data.Positioning                                499         297    0.0    0.0     0.0    0.0
    sChunks                    Data.Vector.Fusion.Bundle.Monadic                            497           1    0.0    0.0     0.0    0.0
    sElems                     Data.Vector.Fusion.Bundle.Monadic                            496           1    0.0    0.0     0.0    0.0
    sSize                      Data.Vector.Fusion.Bundle.Monadic                            495           1    0.0    0.0     0.0    0.0
    upperBound                 Data.Vector.Fusion.Bundle.Size                               494           1    0.0    0.0     0.0    0.0
    popCount1Range             HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       481       40534    0.1    0.1     0.1    0.1
     sElems                    Data.Vector.Fusion.Bundle.Monadic                            483       40534    0.0    0.0     0.0    0.0
     unId                      Data.Vector.Fusion.Util                                      482       81070    0.0    0.0     0.0    0.0
    getCount                   HaskellWorks.Data.Positioning                                480       40534    0.0    0.0     0.0    0.0
    unId                       Data.Vector.Fusion.Util                                      479      329847    0.0    0.0     0.0    0.0
   loadJsonRawWithIndex        HaskellWorks.Data.LoadJson                                   460           1    0.8    2.6     0.8    2.6
    unId                       Data.Vector.Fusion.Util                                      474      324262    0.0    0.0     0.0    0.0
    sChunks                    Data.Vector.Fusion.Bundle.Monadic                            473           2    0.0    0.0     0.0    0.0
    sSize                      Data.Vector.Fusion.Bundle.Monadic                            472           2    0.0    0.0     0.0    0.0
    upperBound                 Data.Vector.Fusion.Bundle.Size                               471           2    0.0    0.0     0.0    0.0
    mmapFileForeignPtr         System.IO.MMap                                               461           3    0.0    0.0     0.0    0.0
     mmapFilePtr               System.IO.MMap                                               462           3    0.0    0.0     0.0    0.0
 CAF                           Main                                                         455           0    0.0    0.0     0.0    0.0
  main                         Main                                                         456           1    0.0    0.0     0.0    0.0
   loadJsonWithPoppy512SIndex2 HaskellWorks.Data.LoadJson                                   458           1    0.0    0.0     0.0    0.0
 CAF                           HaskellWorks.Data.LoadJson                                   453           0    0.0    0.0     0.0    0.0
  rank1                        HaskellWorks.Data.Succinct.BalancedParens.Simple             477           1    0.0    0.0     0.0    0.0
  loadJsonRawWithIndex         HaskellWorks.Data.LoadJson                                   464           0    0.0    0.0     0.0    0.0
 CAF                           HaskellWorks.Data.MQuery                                     451           0    0.0    0.0     0.0    0.0
  castAsInteger                HaskellWorks.Data.MQuery                                     610           0    0.0    0.0     0.0    0.0
  >>=                          HaskellWorks.Data.MQuery                                     551           1    0.0    0.0     0.0    0.0
 CAF                           HaskellWorks.Data.Row                                        450           0    0.0    0.0     0.0    0.0
  prettyRowOfString            HaskellWorks.Data.Row                                        544           0    0.0    0.0     0.0    0.0
   text                        Text.PrettyPrint.ANSI.Leijen                                 550           1    0.0    0.0     0.0    0.0
   bold                        Text.PrettyPrint.ANSI.Leijen                                 546           0    0.0    0.0     0.0    0.0
 CAF                           HaskellWorks.Data.Succinct.BalancedParens.Simple             447           0    0.0    0.0     0.0    0.0
  .?.                          HaskellWorks.Data.Succinct.BalancedParens.Simple             555           1    0.0    0.0     0.0    0.0
 CAF                           HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       440           0    0.0    0.0     0.0    0.0
  .?.                          HaskellWorks.Data.Succinct.RankSelect.Binary.Poppy512S       556           1    0.0    0.0     0.0    0.0
 CAF                           HaskellWorks.Data.Json.CharLike                              439           0    0.0    0.0     0.0    0.0
  isBracketLeft                HaskellWorks.Data.Json.CharLike                              525           1    0.0    0.0     0.0    0.0
  isBraceLeft                  HaskellWorks.Data.Json.CharLike                              522           1    0.0    0.0     0.0    0.0
  isChar_n                     HaskellWorks.Data.Json.CharLike                              519           1    0.0    0.0     0.0    0.0
  isChar_f                     HaskellWorks.Data.Json.CharLike                              516           1    0.0    0.0     0.0    0.0
  isChar_t                     HaskellWorks.Data.Json.CharLike                              513           1    0.0    0.0     0.0    0.0
  isQuotDbl                    HaskellWorks.Data.Json.CharLike                              510           1    0.0    0.0     0.0    0.0
  isLeadingDigit2              HaskellWorks.Data.Json.CharLike                              505           1    0.0    0.0     0.0    0.0
 CAF                           HaskellWorks.Data.Json.PartialValue                          435           0    0.0    0.0     0.0    0.0
  jsonPartialJsonValueAt       HaskellWorks.Data.Json.PartialValue                          567           0    0.0    0.0     0.0    0.0
   parseJsonString             HaskellWorks.Data.Json.Value.Internal                        594           1    0.0    0.0     0.0    0.0
 CAF                           HaskellWorks.Data.Json.Value.Internal                        427           0    0.0    0.0     0.0    0.0
  parseJsonString              HaskellWorks.Data.Json.Value.Internal                        597           0    0.0    0.0     0.0    0.0
   charClass                   Data.Attoparsec.ByteString.FastSet                           601           0    0.0    0.0     0.0    0.0
    set                        Data.Attoparsec.ByteString.FastSet                           602           1    0.0    0.0     0.0    0.0
 CAF                           System.IO.MMap                                               426           0    0.0    0.0     0.0    0.0
  mmapFilePtr                  System.IO.MMap                                               463           0    0.0    0.0     0.0    0.0
 CAF                           Data.Word8                                                   421           0    0.0    0.0     0.0    0.0
  _bracketleft                 Data.Word8                                                   527           1    0.0    0.0     0.0    0.0
  _braceleft                   Data.Word8                                                   524           1    0.0    0.0     0.0    0.0
  _n                           Data.Word8                                                   521           1    0.0    0.0     0.0    0.0
  _f                           Data.Word8                                                   518           1    0.0    0.0     0.0    0.0
  _t                           Data.Word8                                                   515           1    0.0    0.0     0.0    0.0
  _quotedbl                    Data.Word8                                                   512           1    0.0    0.0     0.0    0.0
  _9                           Data.Word8                                                   509           1    0.0    0.0     0.0    0.0
  _0                           Data.Word8                                                   508           1    0.0    0.0     0.0    0.0
  _hyphen                      Data.Word8                                                   507           1    0.0    0.0     0.0    0.0
 CAF                           Data.Attoparsec.ByteString.FastSet                           368           0    0.0    0.0     0.0    0.0
  charClass                    Data.Attoparsec.ByteString.FastSet                           600           1    0.0    0.0     0.0    0.0
 CAF                           Text.PrettyPrint.ANSI.Leijen                                 298           0    0.0    0.0     0.0    0.0
  hardline                     Text.PrettyPrint.ANSI.Leijen                                 612           1    0.0    0.0     0.0    0.0
  bold                         Text.PrettyPrint.ANSI.Leijen                                 545           1    0.0    0.0     0.0    0.0
  vcat                         Text.PrettyPrint.ANSI.Leijen                                 538           1    0.0    0.0     0.0    0.0
  renderPretty                 Text.PrettyPrint.ANSI.Leijen                                 533           1    0.0    0.0     0.0    0.0
 CAF                           System.Console.ANSI.Unix                                     296           0    0.0    0.0     0.0    0.0
  setSGRCode                   System.Console.ANSI.Unix                                     549           0    0.0    0.0     0.0    0.0
 CAF                           GHC.Conc.Signal                                              281           0    0.0    0.0     0.0    0.0
 CAF                           GHC.IO.Encoding                                              273           0    0.0    0.0     0.0    0.0
 CAF                           GHC.IO.Encoding.Iconv                                        271           0    0.0    0.0     0.0    0.0
 CAF                           GHC.IO.Handle.FD                                             263           0    0.0    0.0     0.0    0.0
 CAF                           Text.Read.Lex                                                246           0    0.0    0.0     0.0    0.0
 CAF                           GHC.Event.Thread                                             237           0    0.0    0.0     0.0    0.0
Clone this wiki locally