That would just be for the PDF generation. The 8 hours would also include the signing and emailing.
I have a complex document generation tool based on latex. I’ve been working on replacing it with typst. Typst is simply 10x faster.
Crazy example of how fast typst is: 30”x30” document with 2600 tiny images generates a 40MB PDF in under a half second.
Check typst out. It’s amazing. Not quite latex equivalent in some ways but moving fast on an amazing foundation.
They should absolutely switch to Typst for programmatically generating PDFs. pdflatex is notoriously slow.
Gave this a look at, as PDF generation has been the bane of web app development for us.
This looks much more reasonable than fpdf's bare bones nature, or wkhtmltopdf / snappy / puppeteer needing esoteric, old CSS specs and having a lot of quirks because of it.
Particularly happy at how it can swap page size as needed.
> By converting our HTML templates into TEX formats and utilizing pdflatex for PDF generation, we observed a 10X increase in speed compared to the original Puppeteer way of generating
8*60/10 = 48 minutes. So this speedup alone would've been enough, wouldn't it?