I have a large database of .tex files that I use to compile via the esami package. My company designs curriculum for math and science of all levels, so while latex provides beautiful graphics (yay!), I have close to 7,000 tex files that are stored on my hard drive. These are only the problems - I have another folder full of .pdfs that are often compiled within each problem. Of course, they are backed up nightly, but surely there must be another way to handle this. I am interested in creating a better storage system so that the files may be available when I am away from my computer.

I have considered cloud storage, but I was wondering if anyone had any input as to how this will affect compilation speed? I would assume that running the files directly from my hard drive would be the fastest way to compile, but I would love to hear any advice anyone may have.

Here is an example of a geometry problem (MWE):

This is the shell file that is run in TexWorks using pdfLatex+MakeIndex+Bibtex:

{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
\def\numcompiti{1}%%% The number of the versions
\def\Data{\longdate}%%% or \shortdate: the date in the heading



Here is the actual problem file that the code is referring to in the line "\esercizi{../g-0621}"


\begin{problem}Write a formal proof for the following:

\textbf{Given}&:m \angle 2 > m\angle 1\\
\textbf{Prove}&:m \angle 2 > m\angle 4\\

\fillin[e]{6cm}{$m \angle 2 > m\angle 1$}&\fillin[e]{6cm}{Given}\\[3ex]\hline
\fillin[e]{6cm}{$m \angle 1 > m\angle 3$}&\fillin[e]{6cm}{Exterior Angle Inequality}\\[3ex]\hline
\fillin[e]{6cm}{$m \angle 2 > m\angle 3$}&\fillin[e]{6cm}{Transitive Property of Inequality}\\[3ex]\hline
\fillin[e]{6cm}{$\angle 3 \cong \angle 4$}&\fillin[e]{6cm}{Vertical Angle Theorem}\\[3ex]\hline
\fillin[e]{6cm}{$m \angle 2 > m\angle 4$}&\fillin[e]{6cm}{Substitution Property}\\[3ex]\hline



For the record, if anyone is making a database of problems, I love the esami package. It has a learning curve, but is really spectacular once you get to know how to use the package.

Finally (and I apologize for the long post), if no one here has a direct answer, I could also test the compilation myself but is there a way to get a documented printout of the compilation speed?

I figured I could just setup the same problem on an external drive, cloud storage and my own desktop and test the 3 to see how much more time it takes to compile when using the other 2 methods.

closed as off-topic by cfr, egreg, Mensch, user13907, Werner Feb 16 '16 at 0:07

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – cfr, egreg, Mensch, Community, Werner
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 3
    Is this really related to (La)TeX? – Werner Feb 15 '16 at 15:04
  • I thought I put it in the right place. Is there another place that I should post this? – Metutel Feb 15 '16 at 16:04
  • Just keep your question open here and try it parallel on stackoverflow. – Eric Feb 15 '16 at 16:46
  • 1
    The 'cloud', ssh, external drive, the online LaTeX services ... how many options are there really if you want to access 7000 files from everywhere but the computer on which you wrote them? However, this does seem off-topic: the 'compile time' here would see to be influenced by factors other than the engine itself. – jon Feb 15 '16 at 18:59
  • 1
    Also, it depends on kinds of further things which have nothing to do with TeX: which OSs, firewall/security at workplace; policies related etc. etc. Somebody at your workplace should advise on this to ensure compliance with company policy. – cfr Feb 15 '16 at 23:30

Do you want to have your 7.000 files only on a cloud storage or both on your pc and on a cloud storage for backup purpose? I often compile files with the esami package and I have sometimes tried to put the master file and the exercises on my pc, synronized on a cloud storage. I did not notice any slowing in the compilation, as far as I turned off the sync feature when I compiled and turned it on when I was finished, to backup my work. I am not aware of any tool to trace the compilation time. I have not tried to compile with files only on a cloud storage, so I cannot help you with this. As for the external hard disk option, it is even more difficult to evaluate if it affects the compilation time, as it depends on the hard disk speed, on the usb ports speed, and so on.

Not the answer you're looking for? Browse other questions tagged or ask your own question.