We recently upgraded Aspose.Html from version 23.7 to version 25.1
We found that Converter.ConvertTemplate
is much slower for large file in version 25.1. We also tried version 25.5 and it is still slower than 23.7
I attached sample json data, html template, and output file.
Here’s how we call the function:
using Aspose.Html;
using Aspose.Html.Collections;
using Aspose.Html.Converters;
using Aspose.Html.Dom;
using Aspose.Html.Loading;
// Create html from template
using (HTMLDocument htmlDoc = Converter.ConvertTemplate(
templateFilePath,
new TemplateData(tempJsonFilePath),
new TemplateLoadOptions()))
{
. . .
htmlDoc.Save(tempOutputFilePath);
}
Aspose.Html.zip (7.6 MB)