[OS X TeX] Mulicores?
Denis Bitouzé
denis.bitouze at univ-littoral.fr
Thu Jul 7 02:43:37 EDT 2022
Le 06/07/22 à 20h38, Murray Eisenberg a écrit :
> Given that a complete pdflatexmk run takes several minutes on my iMac,
> timing with sufficient precision is easy:
>
> (1) run the following shell file “now.sh””
>
> #! /bin/bash
> today=$(date +%Y-%m-%d_%H-%M-%S)
> echo $today%
>
> (2) immediately press the TeXShop Typeset button
>
> (3) as soon as I see in the console that execution of pdflatexmk has completed, run that same shell command again
>
> (4) subtract the time given by (1) from the time given by (3)
On GNU/Linux (and maybe on macOS), it is enough to prepend the `latexmk`
command by `time`. For instance, for a rather complex `beamer`
document of mine:
┌────
│ $ time latexmk presentation
│ [...]
│ 394,41s user 96,46s system 98% cpu 8:16,95 total
└────
--
Denis
More information about the MacOSX-TeX
mailing list