Too much time to generate pdf
Hi, can you advice please.
For testing purposes I've generated simple html page ~2.5 Mb size. It contains only TOC part + faker generated lore ipsum chapters (div, p). So, quite simple page that should generate ~500-700 A4 pdf pages. It took ~ 15min to generate pdf Is it ok that it takes so long time?
I've attached html and css files.
I used https://paged.design/ as a base for my css.
I tried several files version
- one contains 50 sections(chapters, so TOC items) with 100 paragraphs each - generated in 15 minutes
- another - 250 sections (chapters, so TOC items) with 1 paragraphs each - generated in 12 minutes
Initially I thought that number of items in TOC influence on generation time, but 50 or 250 items in TOC don't look like something really big.
250_sections_1_paragraphs_each.html