We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose-pdf taking too much time to convert html doc into odf

Hi Support team,

my html doc size 21kb only . aspose.pdf taking around 5 sec to convert it into pdf doc.

using aspose-pdf 19.4

my code snipet

String basePath = “/asd.html”;
HtmlLoadOptions htmloptions = new HtmlLoadOptions(basePath);

	System.out.println("time taken "+(System.currentTimeMillis() - t1));
	// Load HTML file
	Document doc = new Document(basePath , htmloptions);

attach pdf doc fileasd1.pdf (103.4 KB)

however i try to upload html doc but unable to upload html doc so uploading converted pdf file

@yogesh.kumar

Please add your HTML file to ZIP Archive and attach with your post. We will surely test the scenario in our environment and address it accordingly.

@asad.ali

please find zip archive of html file.

htmlforpdf.zip (7.0 KB)

@yogesh.kumar

We have logged an investigation ticket as PDFJAVA-39254 in our issue tracking system to further investigate the scenario. We will further check the possibilities to improve the API performance and keep you posted with the status of ticket resolution. Please be patient and spare us little time.

We are sorry for the inconvenience.