Re: [xml] performance of parsing docbook with xincludes

2018-05-15 Thread Nick Wellnhofer
On 14/05/2018 21:48, Stefan Sauer wrote: This part looks suspicious: |--22.98%--0xc2160 | xmlFreeDoc | | | --22.42%--xmlFreeDtd Can I tell it to not load dtds in the first place? Is it loading the dtd

Re: [xml] performance of parsing docbook with xincludes

2018-05-15 Thread Stefan Sauer
On 05/15/2018 12:42 PM, Nick Wellnhofer wrote: > On 14/05/2018 21:48, Stefan Sauer wrote: >> This part looks suspicious: >> >>     |--22.98%--0xc2160 >>     |  xmlFreeDoc >>     |  | >>     |   --22.42%--xmlFreeDtd > >> Can I t

Re: [xml] performance of parsing docbook with xincludes

2018-05-15 Thread Stefan Sauer
On 05/15/2018 08:40 PM, Stefan Sauer wrote: > On 05/15/2018 12:42 PM, Nick Wellnhofer wrote: >> On 14/05/2018 21:48, Stefan Sauer wrote: >>> This part looks suspicious: >>> >>>     |--22.98%--0xc2160 >>>     |  xmlFreeDoc >>>     |  | >>>

Re: [xml] performance of parsing docbook with xincludes

2018-05-15 Thread Nick Wellnhofer
On May 15, 2018, at 21:56 , Stefan Sauer wrote: > > On 05/15/2018 08:40 PM, Stefan Sauer wrote: >> On 05/15/2018 12:42 PM, Nick Wellnhofer wrote: >>> Can you try to change the line to >>> >>> xmlCtxtUseOptions(pctxt, ctxt->parseFlags); >>> >>> and see if it helps? >>> >> It does not help.