[OS X TeX] Mulicores?

Denis Bitouzé denis.bitouze at univ-littoral.fr
Thu Jul 7 08:43:37 CEST 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
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex



More information about the macostex-archives mailing list.