[OS X TeX] Mulicores?

Murray Eisenberg murrayeisenberg at gmail.com
Wed Jul 6 20:38:38 EDT 2022


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 6 Jul2022, at 7:21 PM, George Gratzer via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
> 
> Murray,
> 
> Still, how do you time it?
> 
> I have just finished a 44 page long book. To typeset it takes about 4-5 secs. Hundreds of illustrations, 2 tocs, index.
> 
> With pdflatexmk, after deleting all the aux files, less than 15 secs. I use makeindex.
> 
> I trult believe that you reeky messed up something.
> 
> My computer is fast, Apple Studio with an M1 Max chip, I do not believe that this makes much difference.
> 
> GG
> 
>> On Jul 6, 2022, at 7:10 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>> 
>> Not so fast at all — minutes for me — when I’m pdflatexmk’ing a 600+page book with table of contents, nomenclature, bibliography, and index where it takes something like 5 or 6 latex runs among the executions of makeindex and biber to get all references resolved.
>> 
>>> On 6 Jul2022, at 7:05 PM, George Gratzer via MacOSX-TeX <macosx-tex at email.esm.psu.edu> wrote:
>>> 
>>> Seriously, how long TeX-ing takes?
>>> 
>>> BTW, how can I clock how long TeX-ing takes. Too fast to use a stopwatch.
>>> 
>>>> On Jul 5, 2022, at 3:09 PM, Luís Sequeira <lfsequeira at gmail.com> wrote:
>>>> 
>>>> 
>>>> pdflatex is a single threaded program and I believe that other tex engines, xelatex and lualatex, are too.
>>>> The processing of a latex file is pretty much sequential anyway, so it is hard to see how multithreading might help in this case. If someone has a different understanding of this, I would like to learn about it.
>>>> 
>>>>> Dear TeXers,
>>>>> 
>>>>> pdf(la)tex is using only one core on my Intel-Mac.  Is there a version which uses more cores?
>>>> 
>>>> Mike
>>>> 
>>>> Sent from my iPhone
>>>> ----------- 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
>>> 
>>> ----------- 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
>> 
>> ---
>> Murray Eisenberg		murrayeisenberg at gmail.com
>> Mobile (413)-427-5334
>> 503 King Farm Blvd #101		
>> Rockville, MD 20850-6667	
>> 
>> 
>> 
>> ----------- 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
> 
> ----------- 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

---
Murray Eisenberg		murrayeisenberg at gmail.com
Mobile (413)-427-5334
503 King Farm Blvd #101		
Rockville, MD 20850-6667	





More information about the MacOSX-TeX mailing list