[tlbuild] Re : Re: report on building locally on an old macos and a query
jfbu
jfbu at free.fr
Fri Mar 14 17:20:06 CET 2025
Hi,
I have tested now (still on my darwinglegacy macos of past ages)
newly built binaries using clang:
CC "clang"
CFLAGS "-O3"
CC-v "clang version 17.0.6"
CXX "clang++"
CXXFLAGS "-O3 -std=c++17"
CXX-v "clang version 17.0.6"
and also those built with gcc14:
CC "gcc"
CFLAGS "-O3"
CC-v "gcc (MacPorts gcc14 14.2.0_1+stdlib_flag) 14.2.0"
CXX "g++"
CXXFLAGS "-O3 -std=c++17"
CXX-v "g++ (MacPorts gcc14 14.2.0_1+stdlib_flag) 14.2.0"
This gives the two bottom entries in table below:
+-------------+------------+-------+-------+
| binaries | datestamp | tex | etex |
+-------------+------------+-------+-------+
| upstream | 2022/03/09 | 1.57s | 1.77s |
| local (O3) | 2022/05/28 | 1.37s | 1.44s |
| local (O3) | 2023/03/30 | 1.44s | 1.48s |
| local (O3) | 2024/03/30 | 1.45s | 1.50s |
| local (O3 + | 2025/03/11 | 1.42s | 1.43s |
| sys libs) | | | |
| local (O3) | 2025/03/13 | 1.43s | 1.43s |
| local (O3 + | 2025/03/14 | 1.44s | 1.51s |
| sys libs + | | | |
| clang17) | | | |
| local (O3 + | 2025/03/14 | 1.42s | 1.44s |
| sys libs + | | | |
| gcc14) | | | |
| upstream | 2025/03/01 | 1.61s | 1.74s |
+-------------+------------+-------+-------+
I am well aware my test is really insufficient, and the
hundredth of seconds not significant the sole point here
which motivated this thread is that for some reason the
build with gcc11 or gcc14 currently produces a seemingly
quite efficient etex (on that single silly test of mine,
though).
I did compile a somewhat big document with pdflatex and
xelatex and lualatex and for example for lualatex the
gcc11-compiled binary needed about 11.5s, the
clang-compiled one 12.4s and the gcc14-compiled one
again 11.5s. (document using default font setup).
With pdflatex the timings were about 8s for both the
gcc11 and gcc14 compiled binaries (with gcc14 faster)
and 8.1s for the clang
compiled one. On a (faster)
Linux box I was told the difference in timings for that
document between pdflatex and lualatex was closer to
17% and definitely not the 44% I observe on my
installation.
Jean-François
More information about the tlbuild
mailing list.