Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad tagsoup performance #83

Open
isovector opened this issue Nov 26, 2019 · 6 comments
Open

Bad tagsoup performance #83

isovector opened this issue Nov 26, 2019 · 6 comments

Comments

@isovector
Copy link

Hi all,

I'm writing some quickcheck tests against arbitrary Text.Pandoc.Blocks that print and then reparse the Blocks. The test runs 100 times, and usually burns out 8+GB of RAM. Attached is the -p, which as you can see, is dominated by tagsoup:

	Tue Nov 26 17:40 2019 Time and Allocation Profiling Report  (Final)

	   codemgr-test +RTS -N -p -RTS

	total time  =        9.89 secs   (39558 ticks @ 1000 us, 4 processors)
	total alloc = 55,333,702,368 bytes  (excludes profiling overheads)

COST CENTRE                  MODULE                           SRC                                                       %time %alloc

output.charss                Text.HTML.TagSoup.Implementation src/Text/HTML/TagSoup/Implementation.hs:(122,9)-(134,28)   23.0   27.1
expand                       Text.HTML.TagSoup.Implementation src/Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     16.5   31.5
expand.res                   Text.HTML.TagSoup.Implementation src/Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    12.4    6.3
dat                          Text.HTML.TagSoup.Specification  src/Text/HTML/TagSoup/Specification.hs:(39,1)-(43,20)      12.4    7.2
output.charss.(...)          Text.HTML.TagSoup.Implementation src/Text/HTML/TagSoup/Implementation.hs:123:19-43           6.0    2.7
htmlTag.ts                   Text.Pandoc.Readers.HTML         src/Text/Pandoc/Readers/HTML.hs:(1187,7)-(1190,43)          5.2    6.3
&                            Text.HTML.TagSoup.Implementation src/Text/HTML/TagSoup/Implementation.hs:66:29-41            4.4    4.5
getOption                    Text.Pandoc.Parsing              src/Text/Pandoc/Parsing.hs:1092:3-64                        2.2    1.1
inlinesInBalancedBrackets.go Text.Pandoc.Readers.Markdown     src/Text/Pandoc/Readers/Markdown.hs:(144,9)-(156,38)        1.5    1.8
output.next                  Text.HTML.TagSoup.Implementation src/Text/HTML/TagSoup/Implementation.hs:137:9-34            1.1    0.0

I'm not sure what the state of this project is, but I'd be happy to provide a repro.

	Tue Nov 26 17:40 2019 Time and Allocation Profiling Report  (Final)

	   codemgr-test +RTS -N -p -RTS

	total time  =        9.89 secs   (39558 ticks @ 1000 us, 4 processors)
	total alloc = 55,333,702,368 bytes  (excludes profiling overheads)

COST CENTRE                  MODULE                           SRC                                                       %time %alloc

output.charss                Text.HTML.TagSoup.Implementation Text/HTML/TagSoup/Implementation.hs:(122,9)-(134,28)   23.0   27.1
expand                       Text.HTML.TagSoup.Implementation Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     16.5   31.5
expand.res                   Text.HTML.TagSoup.Implementation Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    12.4    6.3
dat                          Text.HTML.TagSoup.Specification  Text/HTML/TagSoup/Specification.hs:(39,1)-(43,20)      12.4    7.2
output.charss.(...)          Text.HTML.TagSoup.Implementation Text/HTML/TagSoup/Implementation.hs:123:19-43           6.0    2.7
htmlTag.ts                   Text.Pandoc.Readers.HTML         Text/Pandoc/Readers/HTML.hs:(1187,7)-(1190,43)          5.2    6.3
&                            Text.HTML.TagSoup.Implementation Text/HTML/TagSoup/Implementation.hs:66:29-41            4.4    4.5
getOption                    Text.Pandoc.Parsing              Text/Pandoc/Parsing.hs:1092:3-64                        2.2    1.1
inlinesInBalancedBrackets.go Text.Pandoc.Readers.Markdown     Text/Pandoc/Readers/Markdown.hs:(144,9)-(156,38)        1.5    1.8
output.next                  Text.HTML.TagSoup.Implementation Text/HTML/TagSoup/Implementation.hs:137:9-34            1.1    0.0

COST CENTRE                                                                                                                                 MODULE                              SRC                                                        no.        entries  %time %alloc   %time %alloc

MAIN                                                                                                                                        MAIN                                <built-in>                                                  65457          0    0.0    0.0   100.0  100.0
    runPure                                                                                                                                 Text.Pandoc.Class                   Text/Pandoc/Class.hs:(958,1)-(961,26)                  131435          0    0.0    0.0     0.7    0.8
     readMarkdown                                                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(56,1)-(61,32)         131440          0    0.0    0.0     0.7    0.8
      parseMarkdown                                                                                                                         Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(355,1)-(372,12)       131441          0    0.0    0.0     0.7    0.8
       parseBlocks                                                                                                                          Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:482:1-44               131948         12    0.0    0.0     0.7    0.8
        block                                                                                                                               Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(485,1)-(512,12)       131952         24    0.0    0.0     0.7    0.8
         para                                                                                                                               Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1043,1)-(1079,38)     134182         24    0.0    0.0     0.7    0.8
          inlines1                                                                                                                          Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:1499:1-35              134188         24    0.0    0.0     0.7    0.8
           inline                                                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1502,1)-(1530,30)     134190         76    0.0    0.0     0.7    0.8
            bracketedSpan                                                                                                                   Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1793,1)-(1799,42)     134332         66    0.0    0.0     0.3    0.4
             reference                                                                                                                      Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1752,1)-(1755,54)     134345         66    0.0    0.0     0.3    0.4
              inlinesInBalancedBrackets                                                                                                     Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(138,1)-(156,38)       134369         66    0.0    0.0     0.3    0.4
               inlinesInBalancedBrackets.go                                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(144,9)-(156,38)       219081      65812    0.1    0.2     0.3    0.4
                escapedChar                                                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1548,1)-(1552,46)     219082      65812    0.0    0.0     0.0    0.1
                rawHtmlInline                                                                                                               Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2008,1)-(2022,45)     219085      65777    0.0    0.1     0.1    0.1
                rawLaTeXInline'                                                                                                             Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1928,1)-(1933,39)     219098      65777    0.0    0.0     0.0    0.1
            link                                                                                                                            Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1784,1)-(1790,63)     134379         66    0.0    0.0     0.3    0.4
             reference                                                                                                                      Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1752,1)-(1755,54)     134382         56    0.0    0.0     0.3    0.4
              inlinesInBalancedBrackets                                                                                                     Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(138,1)-(156,38)       134406         56    0.0    0.0     0.3    0.4
               inlinesInBalancedBrackets.go                                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(144,9)-(156,38)       226102      65746    0.2    0.2     0.3    0.4
                escapedChar                                                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1548,1)-(1552,46)     226103      65746    0.0    0.0     0.0    0.1
                rawHtmlInline                                                                                                               Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2008,1)-(2022,45)     226106      65715    0.0    0.1     0.1    0.1
                rawLaTeXInline'                                                                                                             Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1928,1)-(1933,39)     226119      65715    0.0    0.0     0.0    0.1
              realString                                                                                                                    Text.Pandoc.Arbitrary               Text/Pandoc/Arbitrary.hs:(13,1)-(14,78)                    137244          0    0.0    0.0     0.1    0.0
                        runPure                                                                                                             Text.Pandoc.Class                   Text/Pandoc/Class.hs:(958,1)-(961,26)                  131475         42    0.0    0.0     0.9    0.7
                         writeMarkdown                                                                                                      Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:(99,1)-(104,30)        131477         42    0.0    0.0     0.9    0.7
                          evalMD                                                                                                            Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:60:1-52                131478         42    0.0    0.0     0.9    0.7
                           pandocToMarkdown                                                                                                 Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:(177,1)-(228,46)       131479         42    0.0    0.0     0.9    0.7
                            blockListToMarkdown                                                                                             Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:(818,1)-(859,65)       131486        218    0.0    0.0     0.5    0.4
                             blockToMarkdown                                                                                                Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:(378,1)-(384,22)       131495       1029    0.0    0.0     0.5    0.4
                              blockToMarkdown'                                                                                              Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:(390,1)-(645,36)       131496       1029    0.0    0.0     0.5    0.4
                               inList                                                                                                       Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:648:1-51               131497        104    0.0    0.0     0.5    0.3
                                definitionListItemToMarkdown                                                                                Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:(785,1)-(811,50)       131499          0    0.0    0.0     0.5    0.3
                                 gridTable                                                                                                  Text.Pandoc.Writers.Shared          Text/Pandoc/Writers/Shared.hs:(248,1)-(336,57)         164203          9    0.0    0.0     0.4    0.3
                                  gridTable.handleWidths                                                                                    Text.Pandoc.Writers.Shared          Text/Pandoc/Writers/Shared.hs:(296,7)-(299,71)         164204          9    0.0    0.0     0.1    0.0
                                   gridTable.handleGivenWidths                                                                              Text.Pandoc.Writers.Shared          Text/Pandoc/Writers/Shared.hs:(255,7)-(270,54)         164253          3    0.0    0.0     0.1    0.0
                                  gridTable.rows'                                                                                           Text.Pandoc.Writers.Shared          Text/Pandoc/Writers/Shared.hs:309:7-47                 164413          9    0.0    0.0     0.3    0.3
                                   gridTable.makeRow                                                                                        Text.Pandoc.Writers.Shared          Text/Pandoc/Writers/Shared.hs:307:7-58                 164417          0    0.0    0.0     0.3    0.3
                                    gridTable.hpipeBlocks                                                                                   Text.Pandoc.Writers.Shared          Text/Pandoc/Writers/Shared.hs:(301,7)-(306,62)         164418         20    0.0    0.0     0.1    0.1
                                    lblock                                                                                                  Text.Pandoc.Pretty                  Text/Pandoc/Pretty.hs:439:1-17                         164425          0    0.0    0.0     0.2    0.2
                                     block                                                                                                  Text.Pandoc.Pretty                  Text/Pandoc/Pretty.hs:(454,1)-(457,69)                 164426         36    0.0    0.0     0.2    0.2
                                      chop                                                                                                  Text.Pandoc.Pretty                  Text/Pandoc/Pretty.hs:(460,1)-(468,60)                 164922       5547    0.1    0.1     0.2    0.2
                                       chop.len                                                                                             Text.Pandoc.Pretty                  Text/Pandoc/Pretty.hs:468:42-60                        165157       5533    0.0    0.0     0.1    0.1
                                        realLength                                                                                          Text.Pandoc.Pretty                  Text/Pandoc/Pretty.hs:543:1-41                         165158          0    0.1    0.1     0.1    0.1
                            pandocToMarkdown.main                                                                                           Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:215:7-44               131618         42    0.0    0.0     0.4    0.4
                             pandocToMarkdown.render'                                                                                       Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:183:7-39               131620          0    0.0    0.0     0.4    0.4
                              render                                                                                                        Text.Pandoc.Pretty                  Text/Pandoc/Pretty.hs:(212,1)-(220,42)                 131621         42    0.0    0.0     0.4    0.4
                               renderDoc                                                                                                    Text.Pandoc.Pretty                  Text/Pandoc/Pretty.hs:224:1-70                         131623          0    0.0    0.0     0.4    0.3
                                renderList                                                                                                  Text.Pandoc.Pretty                  Text/Pandoc/Pretty.hs:(233,1)-(336,15)                 131624      20159    0.0    0.0     0.4    0.3
                                 mergeBlocks                                                                                                Text.Pandoc.Pretty                  Text/Pandoc/Pretty.hs:(339,1)-(350,51)                 164478        104    0.0    0.0     0.4    0.3
                                  mergeBlocks.\                                                                                             Text.Pandoc.Pretty                  Text/Pandoc/Pretty.hs:341:25-39                        165362      34086    0.0    0.1     0.3    0.3
                                   mergeBlocks.pad                                                                                          Text.Pandoc.Pretty                  Text/Pandoc/Pretty.hs:348:11-57                        165363      34086    0.0    0.1     0.3    0.2
                                    realLength                                                                                              Text.Pandoc.Pretty                  Text/Pandoc/Pretty.hs:543:1-41                         165364          0    0.3    0.2     0.3    0.2
                       runPure                                                                                                              Text.Pandoc.Class                   Text/Pandoc/Class.hs:(958,1)-(961,26)                  131431         38    0.0    0.0    98.0   98.2
                        readMarkdown                                                                                                        Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(56,1)-(61,32)         131436         38    0.0    0.1    98.0   98.2
                         parseMarkdown                                                                                                      Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(355,1)-(372,12)       131439         38    0.0    0.0    47.0   46.6
                          parseBlocks                                                                                                       Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:482:1-44               131949         45    0.0    0.0    47.0   46.6
                           block                                                                                                            Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(485,1)-(512,12)       131953         57    0.0    0.0    47.0   46.6
                            table                                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1464,1)-(1489,62)     132249         43    0.0    0.0     0.1    0.1
                            definitionList                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1019,1)-(1024,48)     133780         41    0.0    0.0     0.3    0.3
                             table                                                                                                          Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1464,1)-(1489,62)     133801         34    0.0    0.0     0.1    0.1
                              tableCaption                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1294,1)-(1298,41)     133803         34    0.0    0.0     0.1    0.0
                             normalDefinitionList                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1033,1)-(1036,37)     135350          8    0.0    0.0     0.2    0.2
                              definitionListItem                                                                                            Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(987,1)-(993,46)       135363          8    0.0    0.0     0.1    0.1
                               defRawBlock                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(996,1)-(1016,62)      135373          8    0.0    0.0     0.1    0.1
                                defRawBlock.dline                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1000,7)-(1008,29)     135433          8    0.0    0.0     0.1    0.1
                                 anyLine                                                                                                    Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(275,1)-(287,17)                140485          8    0.0    0.1     0.0    0.1
                            para                                                                                                            Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1043,1)-(1079,38)     134183         41    0.0    0.0    46.4   46.1
                             inlines1                                                                                                       Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:1499:1-35              134189         41    0.0    0.0    46.4   46.1
                              inline                                                                                                        Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1502,1)-(1530,30)     134191         87    0.2    0.1    46.3   46.1
                               bareURL                                                                                                      Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1871,1)-(1876,64)     134208         87    0.0    0.0     0.1    0.0
                                guardEnabled                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134210         87    0.0    0.0     0.1    0.0
                                 getOption                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134212         87    0.0    0.0     0.1    0.0
                               str                                                                                                          Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1707,1)-(1725,39)     134222         87    0.1    0.1     0.2    0.2
                               whitespace                                                                                                   Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1699,1)-(1701,52)     134193         87    0.0    0.0     0.3    0.3
                                spaceChar                                                                                                   Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:378:1-49                        134195         87    0.0    0.1     0.0    0.1
                                whitespace.lb                                                                                               Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:1700:9-94              134849         35    0.0    0.0     0.2    0.2
                                 spaceChar                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:378:1-49                        134851         35    0.1    0.2     0.1    0.2
                               autoLink                                                                                                     Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1879,1)-(1891,44)     134569         82    0.1    0.1     0.1    0.1
                               bracketedSpan                                                                                                Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1793,1)-(1799,42)     134333         82    0.0    0.0     2.1    1.8
                                guardEnabled                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134335         82    0.0    0.0     0.1    0.0
                                 getOption                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134337         82    0.1    0.0     0.1    0.0
                                reference                                                                                                   Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1752,1)-(1755,54)     134346         82    0.1    0.1     2.0    1.7
                                 guardDisabled                                                                                              Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1203:1-85                       134348        164    0.0    0.0     0.1    0.0
                                  getOption                                                                                                 Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134350        164    0.1    0.0     0.1    0.0
                                 inlinesInBalancedBrackets                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(138,1)-(156,38)       134370         82    0.1    0.1     1.8    1.5
                                  inlinesInBalancedBrackets.go                                                                              Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(144,9)-(156,38)       196537         84    0.4    0.5     1.6    1.4
                                   code                                                                                                     Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1582,1)-(1598,45)     196549         84    0.1    0.1     0.1    0.1
                                   escapedChar                                                                                              Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1548,1)-(1552,46)     196539         84    0.1    0.0     0.2    0.1
                                    escapedChar'                                                                                            Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1533,1)-(1538,37)     196541         84    0.1    0.1     0.1    0.1
                                   rawHtmlInline                                                                                            Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2008,1)-(2022,45)     196553         84    0.1    0.1     0.7    0.4
                                    guardEnabled                                                                                            Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       196555     125698    0.1    0.0     0.4    0.2
                                     getOption                                                                                              Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       196557     125698    0.2    0.1     0.3    0.1
                                    htmlTag                                                                                                 Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1183,1)-(1247,17)         196570     125614    0.1    0.1     0.1    0.1
                                   rawLaTeXInline'                                                                                          Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1928,1)-(1933,39)     196575         84    0.2    0.2     0.3    0.2
                                    guardEnabled                                                                                            Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       196577         84    0.0    0.0     0.1    0.1
                                     getOption                                                                                              Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       196579         84    0.1    0.0     0.1    0.0
                               cite                                                                                                         Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2042,1)-(2046,59)     134293         82    0.0    0.0     0.5    0.4
                                guardEnabled                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134295         82    0.0    0.0     0.1    0.0
                                normalCite                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2101,1)-(2107,18)     134323         82    0.0    0.1     0.3    0.2
                                 citeList                                                                                                   Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:2123:1-67              196497          6    0.0    0.0     0.2    0.2
                                  citation                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2126,1)-(2141,20)     196499          6    0.0    0.0     0.2    0.2
                                   prefix                                                                                                   Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2119,1)-(2120,69)     196501          6    0.1    0.1     0.2    0.2
                                    citeKey                                                                                                 Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1380,1)-(1390,31)              196509          6    0.1    0.1     0.1    0.1
                                textualCite                                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2049,1)-(2083,76)     134306         82    0.0    0.0     0.2    0.1
                                 citeKey                                                                                                    Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1380,1)-(1390,31)              134308         82    0.1    0.1     0.1    0.1
                                  notAfterString                                                                                            Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1211,1)-(1214,39)              134310         82    0.1    0.0     0.1    0.0
                               code                                                                                                         Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1582,1)-(1598,45)     134230         82    0.0    0.1     0.0    0.1
                               endline                                                                                                      Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1729,1)-(1744,59)     134226         82    0.1    0.1     0.3    0.2
                               escapedChar                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1548,1)-(1552,46)     134651         82    0.0    0.0     0.1    0.1
                               escapedNewline                                                                                               Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1541,1)-(1545,29)     134631         82    0.0    0.1     0.1    0.1
                                guardEnabled                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134633         82    0.0    0.0     0.1    0.0
                                 getOption                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134635         82    0.0    0.0     0.1    0.0
                               image                                                                                                        Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1894,1)-(1901,65)     134417         82    0.0    0.0     0.1    0.1
                               inlineNote                                                                                                   Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1921,1)-(1925,39)     134549         82    0.0    0.1     0.1    0.1
                                guardEnabled                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134551         82    0.0    0.0     0.1    0.0
                                 getOption                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134553         82    0.1    0.0     0.1    0.0
                               link                                                                                                         Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1784,1)-(1790,63)     134380         82    0.1    0.1     1.6    1.5
                                reference                                                                                                   Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1752,1)-(1755,54)     134383         76    0.1    0.1     1.5    1.4
                                 guardDisabled                                                                                              Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1203:1-85                       134385        152    0.0    0.0     0.1    0.0
                                  getOption                                                                                                 Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134387        152    0.1    0.0     0.1    0.0
                                 inlinesInBalancedBrackets                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(138,1)-(156,38)       134407         76    0.0    0.0     1.4    1.2
                                  inlinesInBalancedBrackets.go                                                                              Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(144,9)-(156,38)       196756         84    0.3    0.4     1.3    1.1
                                   code                                                                                                     Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1582,1)-(1598,45)     196768         84    0.1    0.1     0.1    0.1
                                   escapedChar                                                                                              Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1548,1)-(1552,46)     196758         84    0.0    0.0     0.2    0.1
                                    escapedChar'                                                                                            Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1533,1)-(1538,37)     196760         84    0.1    0.1     0.1    0.1
                                   rawHtmlInline                                                                                            Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2008,1)-(2022,45)     196772         84    0.1    0.1     0.5    0.3
                                    guardEnabled                                                                                            Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       196774     100547    0.1    0.0     0.3    0.1
                                     getOption                                                                                              Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       196776     100547    0.2    0.1     0.2    0.1
                                    htmlTag                                                                                                 Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1183,1)-(1247,17)         196789     100463    0.1    0.1     0.1    0.1
                                   rawLaTeXInline'                                                                                          Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1928,1)-(1933,39)     196794         84    0.1    0.1     0.2    0.2
                                    guardEnabled                                                                                            Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       196796         84    0.0    0.0     0.1    0.0
                                     getOption                                                                                              Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       196798         84    0.0    0.0     0.1    0.0
                               math                                                                                                         Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1601,1)-(1604,67)     134427         82    0.0    0.0     0.4    0.3
                                mathDisplay                                                                                                 Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(637,1)-(642,39)                134429         82    0.0    0.0     0.2    0.1
                                 guardEnabled                                                                                               Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134431        246    0.0    0.0     0.2    0.1
                                  getOption                                                                                                 Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134433        246    0.1    0.0     0.2    0.0
                                mathInline                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(646,1)-(651,38)                134455         82    0.0    0.0     0.2    0.1
                                 guardEnabled                                                                                               Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134457        246    0.0    0.0     0.1    0.1
                                  getOption                                                                                                 Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134459        246    0.1    0.0     0.1    0.0
                               note                                                                                                         Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1904,1)-(1918,35)     134266         82    0.0    0.0     0.1    0.1
                                noteMarker                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:442:1-74               134279         82    0.1    0.0     0.1    0.0
                               rawHtmlInline                                                                                                Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2008,1)-(2022,45)     134604         82    0.0    0.0     0.3    0.2
                                guardEnabled                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134606      47738    0.0    0.0     0.2    0.1
                                 getOption                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134608      47738    0.1    0.0     0.2    0.0
                               spanHtml                                                                                                     Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1952,1)-(1961,68)     134579         82    0.0    0.0    18.9   19.7
                                guardEnabled                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134581         82    0.0    0.0     0.1    0.0
                                htmlTag                                                                                                     Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1183,1)-(1247,17)         134592         82    0.0    0.0    18.8   19.7
                                 htmlTag.ts                                                                                                 Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1187,7)-(1190,43)         165433        656    1.3    1.4    18.8   19.6
                                  parseTagsOptions                                                                                          Text.HTML.TagSoup.Parser            Text/HTML/TagSoup/Parser.hs:25:1-39                    165435        656    0.0    0.0    17.5   18.2
                                   parseTagsOptions                                                                                         Text.HTML.TagSoup.Manual            Text/HTML/TagSoup/Manual.hs:12:1-54                    165436        656    0.0    0.0    17.5   18.2
                                    output                                                                                                  Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(80,1)-(142,44)    165437        656    0.0    0.0     6.9    6.8
                                     output.go                                                                                              Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(84,9)-(105,27)    165438       2628    0.0    0.0     6.9    6.8
                                      output.go.(...)                                                                                       Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:89:19-36           165471        641    0.0    0.0     6.9    6.8
                                       output.charsStr                                                                                      Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:117:9-50           165472        641    0.0    0.0     6.9    6.8
                                        output.chars                                                                                        Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:116:9-32           165473        641    0.0    0.0     6.9    6.8
                                         output.charss                                                                                      Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(122,9)-(134,28)   165474   28588966    5.1    6.2     6.9    6.8
                                          output.charss.(...)                                                                               Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:123:19-43          165477   14278065    1.4    0.6     1.6    0.6
                                           output.next                                                                                      Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:137:9-34           165478   14278065    0.3    0.0     0.3    0.0
                                          output.charss.y                                                                                   Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:123:19-43          165476   14278065    0.2    0.0     0.2    0.0
                                    parse                                                                                                   Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:35:1-19             165439          0    0.0    0.0    10.6   11.4
                                     dat                                                                                                    Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:(39,1)-(43,20)      165440   14278738    3.0    1.6     4.5    3.3
                                      &                                                                                                     Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:66:29-41           165479          0    0.9    1.0     0.9    1.0
                                      state                                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            165444          0    0.0    0.0     0.6    0.6
                                       expand                                                                                               Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     165445          0    0.0    0.0     0.6    0.6
                                        expand.res                                                                                          Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    165446          0    0.6    0.6     0.6    0.6
                                     state                                                                                                  Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            165441        656    0.0    0.0     6.1    8.1
                                      expand                                                                                                Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     165442   14279411    3.8    7.2     6.1    8.1
                                       expand.res                                                                                           Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    165443   14279411    2.3    0.8     2.3    0.8
                               strikeout                                                                                                    Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1680,1)-(1684,41)     134484         82    0.0    0.0     0.1    0.1
                                strikeout.strikeStart                                                                                       Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1682,11)-(1683,51)    134499         82    0.1    0.1     0.1    0.1
                               strongOrEmph                                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:1666:1-47              134235         82    0.0    0.0     0.4    0.2
                                enclosure                                                                                                   Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1611,1)-(1624,44)     134237        164    0.1    0.1     0.4    0.2
                                 guardDisabled                                                                                              Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1203:1-85                       134239        164    0.0    0.0     0.2    0.0
                                  getOption                                                                                                 Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134241        164    0.1    0.0     0.1    0.0
                                 notAfterString                                                                                             Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1211,1)-(1214,39)              134255          0    0.1    0.0     0.1    0.0
                               subscript                                                                                                    Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1693,1)-(1696,71)     134507         82    0.0    0.1     0.1    0.1
                                guardEnabled                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134509         82    0.0    0.0     0.1    0.0
                                 getOption                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134511         82    0.0    0.0     0.1    0.0
                               superscript                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1687,1)-(1690,71)     134529         82    0.0    0.1     0.1    0.1
                                guardEnabled                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134531         82    0.0    0.0     0.1    0.0
                                 getOption                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134533         82    0.0    0.0     0.1    0.0
                               charRef                                                                                                      Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(827,1)-(829,18)                134813         80    0.0    0.0     0.1    0.1
                                characterReference                                                                                          Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(693,1)-(702,46)                134815         80    0.1    0.0     0.1    0.1
                               exampleRef                                                                                                   Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1562,1)-(1570,44)     134686         80    0.0    0.1     0.1    0.1
                                guardEnabled                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134688         80    0.0    0.0     0.1    0.0
                                 getOption                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134690         80    0.0    0.0     0.1    0.0
                               rawLaTeXInline'                                                                                              Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1928,1)-(1933,39)     134664         80    0.0    0.1     0.1    0.1
                                guardEnabled                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134666         80    0.0    0.0     0.1    0.0
                                 getOption                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134668         80    0.1    0.0     0.1    0.0
                               smart                                                                                                        Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2144,1)-(2147,58)     134706         80    0.0    0.0     0.8    0.5
                                apostrophe                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1286:1-68                       134772         80    0.1    0.1     0.1    0.1
                                dash                                                                                                        Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1353,1)-(1363,35)              134780         80    0.1    0.1     0.2    0.1
                                 getOption                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134782         80    0.0    0.0     0.1    0.0
                                doubleQuoted                                                                                                Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2160,1)-(2164,37)     134719         80    0.0    0.0     0.2    0.1
                                 doubleQuoteStart                                                                                           Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1338,1)-(1341,50)              134721         80    0.1    0.0     0.2    0.1
                                  charOrRef                                                                                                 Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1315,1)-(1318,32)              134728         80    0.0    0.0     0.0    0.1
                                  failIfInQuoteContext                                                                                      Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1310,1)-(1312,59)              134723         80    0.0    0.0     0.1    0.0
                                singleQuoted                                                                                                Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2150,1)-(2154,37)     134744         80    0.0    0.0     0.2    0.1
                                 singleQuoteStart                                                                                           Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1322,1)-(1328,43)              134746         80    0.0    0.0     0.2    0.1
                                  notAfterString                                                                                            Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1211,1)-(1214,39)              134753         80    0.1    0.0     0.1    0.0
                                  charOrRef                                                                                                 Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1315,1)-(1318,32)              134757         66    0.0    0.0     0.0    0.1
                               emoji                                                                                                        Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2030,1)-(2037,20)     134826         78    0.0    0.0     0.1    0.0
                                guardEnabled                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134828         78    0.0    0.0     0.1    0.0
                                 getOption                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134830         78    0.0    0.0     0.1    0.0
                               ltSign                                                                                                       Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1555,1)-(1559,29)     134916         74    0.0    0.0    19.0   19.6
                                htmlTag                                                                                                     Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1183,1)-(1247,17)         134936         74    0.0    0.0    19.0   19.6
                                 htmlTag.ts                                                                                                 Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1187,7)-(1190,43)         165544        649    1.2    1.4    18.9   19.6
                                  parseTagsOptions                                                                                          Text.HTML.TagSoup.Parser            Text/HTML/TagSoup/Parser.hs:25:1-39                    165546        649    0.0    0.0    17.7   18.2
                                   parseTagsOptions                                                                                         Text.HTML.TagSoup.Manual            Text/HTML/TagSoup/Manual.hs:12:1-54                    165547        649    0.0    0.0    17.7   18.2
                                    output                                                                                                  Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(80,1)-(142,44)    165548        649    0.0    0.0     7.3    6.8
                                     output.go                                                                                              Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(84,9)-(105,27)    165549       2600    0.0    0.0     7.3    6.8
                                      output.go.(...)                                                                                       Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:89:19-36           165579        641    0.0    0.0     7.3    6.8
                                       output.charsStr                                                                                      Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:117:9-50           165580        641    0.0    0.0     7.3    6.8
                                        output.chars                                                                                        Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:116:9-32           165581        641    0.0    0.0     7.3    6.8
                                         output.charss                                                                                      Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(122,9)-(134,28)   165582   28588966    5.4    6.2     7.3    6.8
                                          output.charss.(...)                                                                               Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:123:19-43          165585   14278065    1.4    0.6     1.7    0.6
                                           output.next                                                                                      Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:137:9-34           165586   14278065    0.3    0.0     0.3    0.0
                                          output.charss.y                                                                                   Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:123:19-43          165584   14278065    0.2    0.0     0.2    0.0
                                    parse                                                                                                   Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:35:1-19             165550          0    0.0    0.0    10.4   11.4
                                     dat                                                                                                    Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:(39,1)-(43,20)      165551   14278724    2.8    1.6     4.4    3.3
                                      &                                                                                                     Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:66:29-41           165587          0    1.0    1.0     1.0    1.0
                                      state                                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            165555          0    0.0    0.0     0.5    0.6
                                       expand                                                                                               Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     165556          0    0.0    0.0     0.5    0.6
                                        expand.res                                                                                          Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    165557          0    0.5    0.6     0.5    0.6
                                     state                                                                                                  Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            165552        649    0.0    0.0     6.0    8.1
                                      expand                                                                                                Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     165553   14279320    3.7    7.2     6.0    8.1
                                       expand.res                                                                                           Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    165554   14279320    2.3    0.8     2.3    0.8
                         readWithM                                                                                                          Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1027,1)-(1028,95)              131438         38    0.0    0.0    51.0   51.5
                          parseMarkdown                                                                                                     Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(355,1)-(372,12)       131465          0    0.0    0.0    51.0   51.5
                           parseBlocks                                                                                                      Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:482:1-44               131950         12    0.0    0.0    47.1   48.3
                            block                                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(485,1)-(512,12)       131962         12    0.0    0.0    47.1   48.3
                             table                                                                                                          Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1464,1)-(1489,62)     132271         12    0.0    0.0     0.1    0.1
                             definitionList                                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1019,1)-(1024,48)     133783         10    0.0    0.0     0.2    0.2
                              normalDefinitionList                                                                                          Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1033,1)-(1036,37)     135366          0    0.0    0.0     0.1    0.1
                               definitionListItem                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(987,1)-(993,46)       135367          0    0.0    0.0     0.1    0.1
                                defRawBlock                                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(996,1)-(1016,62)      135380          0    0.0    0.0     0.1    0.1
                             para                                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1043,1)-(1079,38)     134196         10    0.0    0.0    46.7   47.9
                              inlines1                                                                                                      Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:1499:1-35              134197         10    0.0    0.0    46.7   47.9
                               inline                                                                                                       Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1502,1)-(1530,30)     134198         16    0.1    0.1    46.7   47.9
                                autoLink                                                                                                    Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1879,1)-(1891,44)     134571         16    0.0    0.0     0.1    0.0
                                bracketedSpan                                                                                               Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1793,1)-(1799,42)     134360         16    0.0    0.0    12.6   13.1
                                 reference                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1752,1)-(1755,54)     134361         16    0.0    0.1    12.6   13.1
                                  inlinesInBalancedBrackets                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(138,1)-(156,38)       134371         16    0.0    0.0    12.4   13.0
                                   inlinesInBalancedBrackets.go                                                                             Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(144,9)-(156,38)       196538          0    0.2    0.3    12.4   12.9
                                    code                                                                                                    Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1582,1)-(1598,45)     196550          0    0.1    0.1     0.1    0.1
                                    escapedChar                                                                                             Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1548,1)-(1552,46)     196540          0    0.0    0.0     0.1    0.1
                                     escapedChar'                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1533,1)-(1538,37)     196542          0    0.1    0.1     0.1    0.1
                                    rawHtmlInline                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2008,1)-(2022,45)     196554          0    0.0    0.0    12.0   12.4
                                     htmlTag                                                                                                Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1183,1)-(1247,17)         196568         84    0.1    0.1    11.9   12.4
                                      htmlTag.ts                                                                                            Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1187,7)-(1190,43)         284842        286    0.7    0.9    11.9   12.3
                                       parseTagsOptions                                                                                     Text.HTML.TagSoup.Parser            Text/HTML/TagSoup/Parser.hs:25:1-39                    284844        286    0.0    0.0    11.1   11.4
                                        parseTagsOptions                                                                                    Text.HTML.TagSoup.Manual            Text/HTML/TagSoup/Manual.hs:12:1-54                    284845        286    0.0    0.0    11.1   11.4
                                         output                                                                                             Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(80,1)-(142,44)    284846        286    0.0    0.0     4.4    4.3
                                          output.go                                                                                         Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(84,9)-(105,27)    284847       1144    0.0    0.0     4.4    4.3
                                           output.go.(...)                                                                                  Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:89:19-36           284998        284    0.0    0.0     4.4    4.3
                                            output.charsStr                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:117:9-50           284999        284    0.0    0.0     4.4    4.3
                                             output.chars                                                                                   Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:116:9-32           285000        284    0.0    0.0     4.4    4.3
                                              output.charss                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(122,9)-(134,28)   285001   17962728    3.3    3.9     4.4    4.3
                                               output.charss.(...)                                                                          Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:123:19-43          285004    8971181    0.8    0.4     1.0    0.4
                                                output.next                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:137:9-34           285005    8971181    0.2    0.0     0.2    0.0
                                               output.charss.y                                                                              Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:123:19-43          285003    8971181    0.1    0.0     0.1    0.0
                                         parse                                                                                              Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:35:1-19             284848          0    0.0    0.0     6.7    7.1
                                          dat                                                                                               Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:(39,1)-(43,20)      284849    8971469    1.7    1.0     2.8    2.1
                                           &                                                                                                Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:66:29-41           284967          0    0.7    0.6     0.7    0.6
                                           state                                                                                            Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            284853          0    0.0    0.0     0.4    0.4
                                            expand                                                                                          Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     284854          0    0.0    0.0     0.4    0.4
                                             expand.res                                                                                     Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    284855          0    0.4    0.4     0.4    0.4
                                          state                                                                                             Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            284850        286    0.0    0.0     3.9    5.1
                                           expand                                                                                           Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     284851    8971517    2.5    4.5     3.9    5.1
                                            expand.res                                                                                      Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    284852    8971517    1.4    0.5     1.4    0.5
                                    rawLaTeXInline'                                                                                         Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1928,1)-(1933,39)     196576          0    0.0    0.1     0.1    0.1
                                cite                                                                                                        Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2042,1)-(2046,59)     134313         16    0.0    0.0     0.3    0.2
                                 normalCite                                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2101,1)-(2107,18)     134324         16    0.0    0.0     0.1    0.1
                                  citeList                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:2123:1-67              196498          0    0.0    0.0     0.1    0.1
                                   citation                                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2126,1)-(2141,20)     196500          0    0.0    0.0     0.1    0.1
                                    prefix                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2119,1)-(2120,69)     196502          0    0.1    0.0     0.1    0.1
                                 textualCite                                                                                                Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2049,1)-(2083,76)     134314         16    0.0    0.0     0.1    0.1
                                  citeKey                                                                                                   Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1380,1)-(1390,31)              134315         16    0.1    0.1     0.1    0.1
                                code                                                                                                        Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1582,1)-(1598,45)     134231         16    0.0    0.0     0.1    0.0
                                endline                                                                                                     Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1729,1)-(1744,59)     134227         16    0.1    0.1     0.2    0.1
                                escapedNewline                                                                                              Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1541,1)-(1545,29)     134643         16    0.0    0.0     0.1    0.0
                                inlineNote                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1921,1)-(1925,39)     134561         16    0.0    0.0     0.1    0.1
                                link                                                                                                        Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1784,1)-(1790,63)     134397         16    0.0    0.0     8.3    8.6
                                 reference                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1752,1)-(1755,54)     134398         16    0.1    0.1     8.2    8.6
                                  inlinesInBalancedBrackets                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(138,1)-(156,38)       134408         16    0.0    0.0     8.1    8.5
                                   inlinesInBalancedBrackets.go                                                                             Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(144,9)-(156,38)       196757          0    0.2    0.2     8.1    8.4
                                    code                                                                                                    Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1582,1)-(1598,45)     196769          0    0.1    0.1     0.1    0.1
                                    escapedChar                                                                                             Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1548,1)-(1552,46)     196759          0    0.0    0.0     0.1    0.0
                                     escapedChar'                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1533,1)-(1538,37)     196761          0    0.1    0.0     0.1    0.0
                                    rawHtmlInline                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2008,1)-(2022,45)     196773          0    0.0    0.0     7.7    8.0
                                     htmlTag                                                                                                Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1183,1)-(1247,17)         196787         84    0.1    0.0     7.7    8.0
                                      htmlTag.ts                                                                                            Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1187,7)-(1190,43)         285032        231    0.4    0.6     7.6    8.0
                                       parseTagsOptions                                                                                     Text.HTML.TagSoup.Parser            Text/HTML/TagSoup/Parser.hs:25:1-39                    285034        231    0.0    0.0     7.2    7.4
                                        parseTagsOptions                                                                                    Text.HTML.TagSoup.Manual            Text/HTML/TagSoup/Manual.hs:12:1-54                    285035        231    0.0    0.0     7.2    7.4
                                         output                                                                                             Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(80,1)-(142,44)    285036        231    0.0    0.0     2.9    2.8
                                          output.go                                                                                         Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(84,9)-(105,27)    285037        924    0.0    0.0     2.9    2.8
                                           output.go.(...)                                                                                  Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:89:19-36           285188        230    0.0    0.0     2.9    2.8
                                            output.charsStr                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:117:9-50           285189        230    0.0    0.0     2.9    2.8
                                             output.chars                                                                                   Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:116:9-32           285190        230    0.0    0.0     2.9    2.8
                                              output.charss                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(122,9)-(134,28)   285191   11600891    2.2    2.5     2.9    2.8
                                               output.charss.(...)                                                                          Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:123:19-43          285194    5793921    0.6    0.3     0.7    0.3
                                                output.next                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:137:9-34           285195    5793921    0.1    0.0     0.1    0.0
                                               output.charss.y                                                                              Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:123:19-43          285193    5793921    0.1    0.0     0.1    0.0
                                         parse                                                                                              Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:35:1-19             285038          0    0.0    0.0     4.3    4.6
                                          dat                                                                                               Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:(39,1)-(43,20)      285039    5794153    1.2    0.7     1.9    1.3
                                           &                                                                                                Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:66:29-41           285157          0    0.4    0.4     0.4    0.4
                                           state                                                                                            Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            285043          0    0.0    0.0     0.3    0.3
                                            expand                                                                                          Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     285044          0    0.0    0.0     0.3    0.3
                                             expand.res                                                                                     Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    285045          0    0.3    0.3     0.3    0.3
                                          state                                                                                             Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            285040        231    0.0    0.0     2.4    3.3
                                           expand                                                                                           Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     285041    5794177    1.5    2.9     2.4    3.3
                                            expand.res                                                                                      Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    285042    5794177    0.9    0.3     0.9    0.3
                                    rawLaTeXInline'                                                                                         Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1928,1)-(1933,39)     196795          0    0.0    0.0     0.0    0.1
                                ltSign                                                                                                      Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1555,1)-(1559,29)     134937         16    0.0    0.0     2.1    2.2
                                 htmlTag                                                                                                    Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1183,1)-(1247,17)         134938         16    0.0    0.0     2.1    2.2
                                  htmlTag.ts                                                                                                Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1187,7)-(1190,43)         285418        147    0.1    0.2     2.1    2.2
                                   parseTagsOptions                                                                                         Text.HTML.TagSoup.Parser            Text/HTML/TagSoup/Parser.hs:25:1-39                    285420        147    0.0    0.0     2.0    2.0
                                    parseTagsOptions                                                                                        Text.HTML.TagSoup.Manual            Text/HTML/TagSoup/Manual.hs:12:1-54                    285421        147    0.0    0.0     2.0    2.0
                                     output                                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(80,1)-(142,44)    285422        147    0.0    0.0     0.8    0.8
                                      output.go                                                                                             Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(84,9)-(105,27)    285423        588    0.0    0.0     0.8    0.8
                                       output.go.(...)                                                                                      Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:89:19-36           285764        146    0.0    0.0     0.8    0.8
                                        output.charsStr                                                                                     Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:117:9-50           285765        146    0.0    0.0     0.8    0.8
                                         output.chars                                                                                       Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:116:9-32           285766        146    0.0    0.0     0.8    0.8
                                          output.charss                                                                                     Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(122,9)-(134,28)   285767    3163135    0.6    0.7     0.8    0.8
                                           output.charss.(...)                                                                              Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:123:19-43          285770    1579744    0.2    0.1     0.2    0.1
                                     parse                                                                                                  Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:35:1-19             285424          0    0.0    0.0     1.2    1.3
                                      dat                                                                                                   Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:(39,1)-(43,20)      285425    1579892    0.3    0.2     0.5    0.4
                                       &                                                                                                    Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:66:29-41           285543          0    0.1    0.1     0.1    0.1
                                       state                                                                                                Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            285429          0    0.0    0.0     0.1    0.1
                                        expand                                                                                              Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     285430          0    0.0    0.0     0.1    0.1
                                         expand.res                                                                                         Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    285431          0    0.1    0.1     0.1    0.1
                                      state                                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            285426        147    0.0    0.0     0.7    0.9
                                       expand                                                                                               Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     285427    1579916    0.4    0.8     0.7    0.9
                                        expand.res                                                                                          Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    285428    1579916    0.2    0.1     0.2    0.1
                                math                                                                                                        Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1601,1)-(1604,67)     134443         16    0.0    0.0     0.2    0.1
                                 mathDisplay                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(637,1)-(642,39)                134444         16    0.0    0.0     0.1    0.1
                                 mathInline                                                                                                 Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(646,1)-(651,38)                134469         16    0.0    0.0     0.1    0.1
                                note                                                                                                        Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1904,1)-(1918,35)     134280         16    0.0    0.0     0.1    0.1
                                rawHtmlInline                                                                                               Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2008,1)-(2022,45)     134621         16    0.0    0.0    18.9   19.7
                                 guardEnabled                                                                                               Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       134625      10702    0.0    0.0     0.1    0.0
                                  getOption                                                                                                 Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       134626      10702    0.0    0.0     0.1    0.0
                                 htmlTag                                                                                                    Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1183,1)-(1247,17)         134622      10686    0.0    0.0    18.8   19.7
                                  htmlTag.ts                                                                                                Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1187,7)-(1190,43)         165494        656    1.3    1.4    18.8   19.6
                                   parseTagsOptions                                                                                         Text.HTML.TagSoup.Parser            Text/HTML/TagSoup/Parser.hs:25:1-39                    165496        656    0.0    0.0    17.5   18.2
                                    parseTagsOptions                                                                                        Text.HTML.TagSoup.Manual            Text/HTML/TagSoup/Manual.hs:12:1-54                    165497        656    0.0    0.0    17.5   18.2
                                     output                                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(80,1)-(142,44)    165498        656    0.0    0.0     7.1    6.8
                                      output.go                                                                                             Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(84,9)-(105,27)    165499       2628    0.0    0.0     7.1    6.8
                                       output.go.(...)                                                                                      Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:89:19-36           165529        641    0.0    0.0     7.1    6.8
                                        output.charsStr                                                                                     Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:117:9-50           165530        641    0.0    0.0     7.1    6.8
                                         output.chars                                                                                       Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:116:9-32           165531        641    0.0    0.0     7.1    6.8
                                          output.charss                                                                                     Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(122,9)-(134,28)   165532   28588966    5.3    6.2     7.1    6.8
                                           output.charss.(...)                                                                              Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:123:19-43          165535   14278065    1.3    0.6     1.6    0.6
                                            output.next                                                                                     Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:137:9-34           165536   14278065    0.3    0.0     0.3    0.0
                                           output.charss.y                                                                                  Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:123:19-43          165534   14278065    0.2    0.0     0.2    0.0
                                     parse                                                                                                  Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:35:1-19             165500          0    0.0    0.0    10.4   11.4
                                      dat                                                                                                   Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:(39,1)-(43,20)      165501   14278738    2.7    1.6     4.3    3.3
                                       &                                                                                                    Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:66:29-41           165537          0    1.1    1.0     1.1    1.0
                                       state                                                                                                Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            165505          0    0.0    0.0     0.5    0.6
                                        expand                                                                                              Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     165506          0    0.0    0.0     0.5    0.6
                                         expand.res                                                                                         Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    165507          0    0.5    0.6     0.5    0.6
                                      state                                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            165502        656    0.0    0.0     6.1    8.1
                                       expand                                                                                               Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     165503   14279411    3.8    7.2     6.1    8.1
                                        expand.res                                                                                          Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    165504   14279411    2.3    0.8     2.3    0.8
                                rawLaTeXInline'                                                                                             Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1928,1)-(1933,39)     134676         16    0.0    0.0     0.1    0.1
                                smart                                                                                                       Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2144,1)-(2147,58)     134729         16    0.0    0.0     0.5    0.4
                                 apostrophe                                                                                                 Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1286:1-68                       134773         16    0.1    0.1     0.1    0.1
                                 dash                                                                                                       Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1353,1)-(1363,35)              134788         16    0.1    0.0     0.1    0.0
                                 doubleQuoted                                                                                               Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2160,1)-(2164,37)     134730         16    0.0    0.0     0.1    0.1
                                  doubleQuoteStart                                                                                          Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1338,1)-(1341,50)              134731         16    0.0    0.0     0.1    0.1
                                   charOrRef                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1315,1)-(1318,32)              134732         16    0.0    0.0     0.1    0.1
                                 ellipses                                                                                                   Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1349:1-55                       134798         16    0.0    0.0     0.1    0.0
                                 singleQuoted                                                                                               Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2150,1)-(2154,37)     134758         16    0.0    0.0     0.1    0.1
                                  singleQuoteStart                                                                                          Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1322,1)-(1328,43)              134759         16    0.0    0.0     0.1    0.1
                                   charOrRef                                                                                                Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:(1315,1)-(1318,32)              134760         16    0.0    0.0     0.0    0.1
                                spanHtml                                                                                                    Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1952,1)-(1961,68)     134593         16    0.0    0.0     2.2    2.2
                                 htmlTag                                                                                                    Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1183,1)-(1247,17)         134594         16    0.0    0.0     2.1    2.2
                                  htmlTag.ts                                                                                                Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1187,7)-(1190,43)         157479        149    0.1    0.2     2.1    2.2
                                   parseTagsOptions                                                                                         Text.HTML.TagSoup.Parser            Text/HTML/TagSoup/Parser.hs:25:1-39                    157481        149    0.0    0.0     2.0    2.0
                                    parseTagsOptions                                                                                        Text.HTML.TagSoup.Manual            Text/HTML/TagSoup/Manual.hs:12:1-54                    157482        149    0.0    0.0     2.0    2.0
                                     output                                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(80,1)-(142,44)    157483        149    0.0    0.0     0.8    0.8
                                      output.go                                                                                             Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(84,9)-(105,27)    157484        596    0.0    0.0     0.8    0.8
                                       output.go.(...)                                                                                      Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:89:19-36           285675        146    0.0    0.0     0.7    0.8
                                        output.charsStr                                                                                     Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:117:9-50           285676        146    0.0    0.0     0.7    0.8
                                         output.chars                                                                                       Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:116:9-32           285677        146    0.0    0.0     0.7    0.8
                                          output.charss                                                                                     Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(122,9)-(134,28)   285678    3163135    0.6    0.7     0.7    0.8
                                           output.charss.(...)                                                                              Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:123:19-43          285681    1579744    0.1    0.1     0.2    0.1
                                     parse                                                                                                  Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:35:1-19             157485          0    0.0    0.0     1.2    1.3
                                      dat                                                                                                   Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:(39,1)-(43,20)      157486    1579896    0.3    0.2     0.5    0.4
                                       &                                                                                                    Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:66:29-41           157594          0    0.1    0.1     0.1    0.1
                                       state                                                                                                Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            157490          0    0.0    0.0     0.0    0.1
                                        expand                                                                                              Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     157491          0    0.0    0.0     0.0    0.1
                                         expand.res                                                                                         Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    157492          0    0.0    0.1     0.0    0.1
                                      state                                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            157487        149    0.0    0.0     0.7    0.9
                                       expand                                                                                               Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     157488    1579942    0.4    0.8     0.7    0.9
                                        expand.res                                                                                          Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    157489    1579942    0.3    0.1     0.3    0.1
                                str                                                                                                         Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1707,1)-(1725,39)     134223         16    0.1    0.1     0.1    0.1
                                strongOrEmph                                                                                                Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:1666:1-47              134249         16    0.0    0.0     0.1    0.1
                                 enclosure                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1611,1)-(1624,44)     134250         32    0.0    0.1     0.1    0.1
                                subscript                                                                                                   Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1693,1)-(1696,71)     134519         16    0.0    0.0     0.1    0.0
                                superscript                                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1687,1)-(1690,71)     134541         16    0.0    0.0     0.1    0.0
                                symbol                                                                                                      Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1573,1)-(1578,34)     134846         16    0.1    0.0     0.1    0.0
                                whitespace                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1699,1)-(1701,52)     134199         16    0.0    0.0     0.3    0.2
                                 spaceChar                                                                                                  Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:378:1-49                        134200         16    0.1    0.1     0.1    0.1
                                 whitespace.lb                                                                                              Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:1700:9-94              134852          8    0.0    0.0     0.2    0.2
                                  spaceChar                                                                                                 Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:378:1-49                        134853          8    0.1    0.1     0.1    0.1
                           titleBlock                                                                                                       Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:196:1-47               131466          0    0.0    0.0     3.9    3.3
                            pandocTitleBlock                                                                                                Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(199,1)-(214,64)       131467          0    0.0    0.0     3.9    3.3
                             guardEnabled                                                                                                   Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1199:1-78                       131468        612    0.0    0.0     3.9    3.3
                              getOption                                                                                                     Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:1092:3-64                       131469        638    0.0    0.0     3.9    3.3
                               htmlTag                                                                                                      Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1183,1)-(1247,17)         157616          0    0.0    0.0     2.1    2.2
                                htmlTag.ts                                                                                                  Text.Pandoc.Readers.HTML            Text/Pandoc/Readers/HTML.hs:(1187,7)-(1190,43)         157623        156    0.1    0.2     2.1    2.2
                                 parseTagsOptions                                                                                           Text.HTML.TagSoup.Parser            Text/HTML/TagSoup/Parser.hs:25:1-39                    157625        156    0.0    0.0     2.0    2.0
                                  parseTagsOptions                                                                                          Text.HTML.TagSoup.Manual            Text/HTML/TagSoup/Manual.hs:12:1-54                    157626        156    0.0    0.0     2.0    2.0
                                   output                                                                                                   Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(80,1)-(142,44)    157627        156    0.0    0.0     0.8    0.8
                                    output.go                                                                                               Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(84,9)-(105,27)    157628        623    0.0    0.0     0.8    0.8
                                     output.go.(...)                                                                                        Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:89:19-36           285700        146    0.0    0.0     0.8    0.8
                                      output.charsStr                                                                                       Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:117:9-50           285701        146    0.0    0.0     0.8    0.8
                                       output.chars                                                                                         Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:116:9-32           285702        146    0.0    0.0     0.8    0.8
                                        output.charss                                                                                       Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(122,9)-(134,28)   285703    3163135    0.6    0.7     0.8    0.8
                                         output.charss.(...)                                                                                Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:123:19-43          285706    1579744    0.2    0.1     0.2    0.1
                                   parse                                                                                                    Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:35:1-19             157629          0    0.0    0.0     1.1    1.3
                                    dat                                                                                                     Text.HTML.TagSoup.Specification     Text/HTML/TagSoup/Specification.hs:(39,1)-(43,20)      157630    1579910    0.3    0.2     0.5    0.4
                                     &                                                                                                      Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:66:29-41           157738          0    0.1    0.1     0.1    0.1
                                     state                                                                                                  Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            157634          0    0.0    0.0     0.1    0.1
                                      expand                                                                                                Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     157635          0    0.0    0.0     0.1    0.1
                                       expand.res                                                                                           Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    157636          0    0.1    0.1     0.1    0.1
                                    state                                                                                                   Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:73:1-31            157631        156    0.0    0.0     0.6    0.9
                                     expand                                                                                                 Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(49,1)-(60,30)     157632    1580077    0.4    0.8     0.6    0.9
                                      expand.res                                                                                            Text.HTML.TagSoup.Implementation    Text/HTML/TagSoup/Implementation.hs:(50,11)-(56,18)    157633    1580077    0.2    0.1     0.2    0.1
                               parseBlocks                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:482:1-44               131951          0    0.0    0.0     1.7    1.1
                                block                                                                                                       Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(485,1)-(512,12)       131967          0    0.0    0.0     1.7    1.1
                                 bulletList                                                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(967,1)-(971,49)       132055          0    0.0    0.0     0.1    0.0
                                  bulletListStart                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(808,1)-(814,69)       132056          0    0.0    0.0     0.1    0.0
                                   skipNonindentSpaces                                                                                      Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(125,1)-(127,61)       132066          9    0.0    0.0     0.1    0.0
                                    spaceChar                                                                                               Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:378:1-49                        132076          9    0.0    0.0     0.1    0.0
                                 definitionList                                                                                             Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1019,1)-(1024,48)     133785          0    0.0    0.0     0.1    0.0
                                 orderedList                                                                                                Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(951,1)-(964,77)       133489          0    0.0    0.0     0.1    0.0
                                  orderedListStart                                                                                          Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(819,1)-(843,34)       133490          4    0.0    0.0     0.1    0.0
                                 para                                                                                                       Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1043,1)-(1079,38)     134201          0    0.0    0.0     1.5    0.9
                                  inlines1                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:1499:1-35              134202          0    0.0    0.0     1.5    0.9
                                   inline                                                                                                   Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1502,1)-(1530,30)     134203          0    0.1    0.1     1.4    0.9
                                    autoLink                                                                                                Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1879,1)-(1891,44)     134572          0    0.0    0.0     0.1    0.0
                                    bracketedSpan                                                                                           Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1793,1)-(1799,42)     134362          0    0.0    0.0     0.3    0.2
                                     reference                                                                                              Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1752,1)-(1755,54)     134363          0    0.0    0.0     0.3    0.2
                                      inlinesInBalancedBrackets                                                                             Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(138,1)-(156,38)       134372          0    0.0    0.0     0.2    0.1
                                       inlinesInBalancedBrackets.go                                                                         Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(144,9)-(156,38)       196543          0    0.1    0.1     0.2    0.1
                                    cite                                                                                                    Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2042,1)-(2046,59)     134316          0    0.0    0.0     0.1    0.1
                                     normalCite                                                                                             Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2101,1)-(2107,18)     134325          0    0.0    0.0     0.1    0.1
                                      citeList                                                                                              Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:2123:1-67              196503          0    0.0    0.0     0.1    0.0
                                       citation                                                                                             Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2126,1)-(2141,20)     196504          0    0.0    0.0     0.1    0.0
                                        prefix                                                                                              Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2119,1)-(2120,69)     196505          0    0.0    0.0     0.1    0.0
                                    link                                                                                                    Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1784,1)-(1790,63)     134399          0    0.0    0.0     0.2    0.1
                                     reference                                                                                              Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1752,1)-(1755,54)     134400          0    0.0    0.0     0.2    0.1
                                      inlinesInBalancedBrackets                                                                             Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(138,1)-(156,38)       134409          0    0.0    0.0     0.2    0.1
                                       inlinesInBalancedBrackets.go                                                                         Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(144,9)-(156,38)       196762          0    0.1    0.1     0.2    0.1
                                    smart                                                                                                   Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2144,1)-(2147,58)     134733          0    0.0    0.0     0.1    0.1
                                    strongOrEmph                                                                                            Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:1666:1-47              134251          0    0.0    0.0     0.1    0.0
                                    whitespace                                                                                              Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1699,1)-(1701,52)     134204          0    0.0    0.0     0.2    0.1
                                     whitespace.lb                                                                                          Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:1700:9-94              134854          0    0.0    0.0     0.1    0.0
                                     whitespace.regsp                                                                                       Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:1701:9-52              150274          0    0.0    0.0     0.1    0.0
                                      spaceChar                                                                                             Text.Pandoc.Parsing                 Text/Pandoc/Parsing.hs:378:1-49                        150275          0    0.0    0.0     0.1    0.0
                                       str                                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1707,1)-(1725,39)     285595          0    0.0    0.0     0.1    0.0
                                        endline                                                                                             Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1729,1)-(1744,59)     285596          0    0.0    0.0     0.1    0.0
                                         code                                                                                               Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1582,1)-(1598,45)     285597          0    0.0    0.0     0.1    0.0
                                          strongOrEmph                                                                                      Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:1666:1-47              285598          0    0.0    0.0     0.1    0.0
                                           enclosure                                                                                        Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1611,1)-(1624,44)     285599          0    0.0    0.0     0.1    0.0
                                            note                                                                                            Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1904,1)-(1918,35)     285600          0    0.0    0.0     0.1    0.0
                                             noteMarker                                                                                     Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:442:1-74               285601          0    0.0    0.0     0.1    0.0
                                              cite                                                                                          Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2042,1)-(2046,59)     285602          0    0.0    0.0     0.1    0.0
                                               normalCite                                                                                   Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(2101,1)-(2107,18)     285605          0    0.0    0.0     0.1    0.0
                                                bracketedSpan                                                                               Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1793,1)-(1799,42)     285606          0    0.0    0.0     0.1    0.0
                                                 reference                                                                                  Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1752,1)-(1755,54)     285607          0    0.0    0.0     0.1    0.0
                                                  inlinesInBalancedBrackets                                                                 Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(138,1)-(156,38)       285608          0    0.0    0.0     0.1    0.0
                                 table                                                                                                      Text.Pandoc.Readers.Markdown        Text/Pandoc/Readers/Markdown.hs:(1464,1)-(1489,62)     132274          0    0.0    0.0     0.1    0.0
                        runPure                                                                                                             Text.Pandoc.Class                   Text/Pandoc/Class.hs:(958,1)-(961,26)                  160317         10    0.0    0.0     0.1    0.0
                         writeMarkdown                                                                                                      Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:(99,1)-(104,30)        160319         10    0.0    0.0     0.1    0.0
                          evalMD                                                                                                            Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:60:1-52                160320         10    0.0    0.0     0.1    0.0
                           pandocToMarkdown                                                                                                 Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:(177,1)-(228,46)       160321         10    0.0    0.0     0.1    0.0
                            blockListToMarkdown                                                                                             Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:(818,1)-(859,65)       160324         54    0.0    0.0     0.1    0.0
                             blockToMarkdown                                                                                                Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:(378,1)-(384,22)       160332        293    0.0    0.0     0.1    0.0
                              blockToMarkdown'                                                                                              Text.Pandoc.Writers.Markdown        Text/Pandoc/Writers/Markdown.hs:(390,1)-(645,36)       160333        293    0.0    0.0     0.1    0.0
@isovector
Copy link
Author

(the real profile is 44MB, and github won't let me upload it, so that's having trimmed out all of the non tagsoup/pandoc stuff)

@ndmitchell
Copy link
Owner

I'd describe the state as somewhat dormant. I started a rewrite that vastly improves performance, but only got halfway through, so there's nothing usable there. If you send a patch I'll apply it, but I don't really have the cycles to do any investigation/optimisation myself. I no longer really use the library. I'd welcome handing over maintainership if anyone stepped up.

@isovector
Copy link
Author

Darn. I suspected that was the case :(

@benjaminweb
Copy link

benjaminweb commented Nov 13, 2023

I have a similar experience using scalpel that internally uses TagSoup:
16 seconds for 58 html files averaging 0.8 MiB in size. Parallelising execution does not make a big difference.

@ndmitchell which steps would be required to bring TagSoup major performance improvements?

@benjaminweb
Copy link

https://github.com/vshabanov/fast-tagsoup is an in-place replacement for parseTags that gives in my case a 20x speed jump.
Why not integrate it into tagsoup?
What are they doing differently that explains the difference in speed?
How could a solution be even better than fast-tagsoup?

@malteneuss
Copy link
Contributor

That fast-tagsoup project looks either dead or complete. Or would you recommend to copy the code over an maintain it here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants