Same exact pdf file. I’m extracting the text from a pdf into a text file, and then converting the pdf into html.
These are my times in milliseconds. I don’t understand why I have such a huge difference in times. Any thoughts or suggestions. FYI I’m using -Xmx=2048 and -Xms=2048
- Standalone - using Java 8
* pdfExtractor.extractText() - 423ms
* doc.save - 3742ms
* Apache Tomcat Server 7.0.85 using Java 8
* pdfExtractor.extractText() - 7548ms
* doc.save - 14123ms