Hi all,
Following Keith’s and Hraban’s reports, I tested how the command-line
options affect compilation time for the LuaMetaTeX manual.
Hardware/software: AMD Ryzen 5 5600 (6 cores, 12 threads), 31 GiB usable
RAM, Ubuntu 26.04.1 LTS, ext4; ConTeXt LMTX 2026.10.01 18:42 and
2026.10.29 17:34, both using LuaMetaTeX 2.11.10 (GCC builds).
Method: one unmeasured preparation compilation per version to populate
caches and stabilize references, followed by three runs per ordinary
command. Each profiling command was run once because of its substantial
overhead. Times below are elapsed wall-clock seconds for the complete
command, measured from Python; stdout/stderr were redirected to files.
No pass limit was imposed.
Command options (*) Oct 1 Oct 29
-----------------------------------------------------
(no options) 9.51 s 9.02 s
--silent 9.58 s 9.10 s
--noconsole 9.40 s 9.21 s
--profile --noconsole 70.85 s 68.85 s
--autopdf --profile --noconsole 71.01 s 68.03 s
(*) Added to: context [options] luametatex
All times are wall-clock times for the complete command, not the
internal “runtime” reported in the ConTeXt log. As you can see the first
three rows are medians. Each installation used its own manual sources:
754 pages for Oct 1, 762 for Oct 29. The Oct 1 sources failed under Oct
29 (`moduledata.repertoire` was nil), so these results compare options
within each version, not engine speed between versions.
Profiling increased elapsed time by about 7.5 times. On this Ryzen
system, profiling alone increased compilation time substantially; it may
therefore explain part of the difference between the reported results.
Without profiling, `--silent` and `--noconsole` greatly reduced output,
with similar timings. With `--profile --noconsole`, output became
verbose again, reproducing Hraban’s observation here.
Repeated tree-cache compilation messages were not observed, including
with `context --help` after preparation. `--autopdf` requested an
asynchronous viewer launch; successful PDF display was not verified, so
its full startup cost is not measured.
I also compared my Ryzen PC with my MacBook Pro M1 Pro using a separate,
identical 200-page synthetic document in Latin Modern, with the same two
ConTeXt versions (LuaMetaTeX 2.11.10; GCC on Linux, Clang on macOS).
Median elapsed times over ten subsequent runs were:
ConTeXt MacBook Pro M1 Pro Ryzen 5 5600
-----------------------------------------------
2026.10.01 1.050 s 1.196 s
2026.10.29 1.125 s 1.223 s
For this document, the Ryzen elapsed times were approximately 14% and 9%
longer, respectively. The Mac timings are the archived system `time`
measurements; the Ryzen timings use Python’s elapsed timer. The original
Mac launch command and cache conditions are not fully documented, so
this comparison is indicative. These are not LuaMetaTeX-manual timings,
and do not establish a general processor ranking.
Mac configuration: MacBook Pro, Apple M1 Pro (10 CPU cores), 32 GiB RAM,
macOS Tahoe 26.7.1 (build 25G241).
The LuaMetaTeX-manual command variants have not yet been measured on my
MacBook Pro.
Best,
JP
Le 30/10/2026 à 15:50, Henning Hraban Ramm a écrit :
Am 30.10.26 um 12:51 schrieb Keith McKay:
An arm mac is of coure faster than your intel, Keiths old M1 is
about 1.2 times faster than my old xeon 1505m laptop. Can you test a
modren mac?
Hans! You've upset my "old M1" mac mini. It ran the LuaMetaTeX manual
with context --silent luametatex in the terminal. The log file says
7.9 seconds runtime, see the attached log. It's calmed down a bit now
and is a wee bit happier since your "old Xenon" took 15 seconds. ;-)
I have a late 2012 mac mini, which my mac mini M1 replaced,
languishing in a cupboard somewhere. I might just resurrect it and
try running linux from an external ssd with it. Something to ponder
over as we leave autumn for those dark winter nights.
Well, I’m still working on a 2013 Mac mini (Intel) under MacOS 13.7
(Ventura).
context --autopdf --profile --noconsole luametatex
- gives looots of font cache messages like
system | lua | compiling
'/Users/hraban/context_2026-10-01/tex/texmf-cache/luametatex-cache/context/c821363a6b068765c2a3bbfe3917fcf5/trees/71c82419867f9a0df8a150196c03c86f.lua'
into
'/Users/hraban/context_2026-10-01/tex/texmf-cache/luametatex-cache/context/c821363a6b068765c2a3bbfe3917fcf5/trees/71c82419867f9a0df8a150196c03c86f.lud'
(even a simple "context --help" prints 14 lines of that)
- prints a lot to the console, i.e. --noconsole doesn’t seem to work
- needs 3 min after several minutes of font caching business:
runtime: 177.991 seconds, 762 processed pages, 762 shipped pages,
4.281 pages/second
- Slow Apple Terminal minimized, running MacPorts bash (don’t know if
that matters)
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry
to the Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net
(mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________