Minimal(or ideal) hardware requirements. #783
Replies: 3 comments 2 replies
-
1000 pages is quite long, but that said the resource requirements for QuestPDF aren't particularly demanding. On top of that would be any requirements your program has when generating the content, layout, etc, which could be significantly higher, however that's not something anyone else can really speculate on. |
Beta Was this translation helpful? Give feedback.
-
It all depends on the content of your document. For example, in one of the performance benchmarks, QuestPDF generates a 450 page long ebook in around 600ms on a MacBook with the Apple M2 processor. In another benchmark, a table with 1 million cells spanning nearly 3000 pages, takes around 30 seconds on the same machine. On the other hand, if your document consists of many images that need to be scaled and compressed, the generation time may be much longer and demanding. @girlpunk presented this problem very accurately - the required RAM is roughly double/triple the size of your per-document resources. The library can be used in a non-production environment without any limitations, so feel free to create a simple document with only the heaviest assets inside (e.g. images only), and then evaluate the process in the Release mode. |
Beta Was this translation helpful? Give feedback.
-
Thanks @girlpunk and @MarcinZiabek for share your insight. As I supposed the performance it will depend of the type of the content that is being generated, proportionally more complexy content more time generating is required. The document that I'm testing is with few images(two or less) but has a complex layout, that includes several cols and rows and tables with very much cols and rows(pure text). It's taking a very much time(some minutes) which is not an user acceptable time. I will try increase the hardware of the host and evaluate the performance improvements. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hello everyone!
I fell missing the information about the hardware requirements, I searched for in general web also in the documentation, and found no thread about this topic.
I would like to know the personal experience of what is the "Ideal hardware requirements" to run QuestPdf with an acceptable time of response for a medium page size for a given report, such as 1000 pages.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions