I'm working on a big LyX document and I've added a build script capable of converting assets from many formats (Inkscape SVG, PlantUML, QCAD DXF) to PDF. This improved a lot the time needed to generate the PDF: although LyX has the feature of adding converters and configuring cache, I work in many machines and whenever I pull the project, LyX create a temp dir and convert all of the images.
In my solution, I use a fixed (not temporary) dir for cached images, and check the modified timestamp on the source files to convert things only when needed. There's an auxiliary SQLite file for helping with this.
However, I ended up standardizing everything to PDF (including PNG and JPG). Since LaTeX reads these raster images direcly, Would it be faster to (i) use them or (ii) their PDF counterparts?
Thanks in advance.