[tex-live] Request for performance check of legacy darwin (luatex)
jfbu
jfbu at free.fr
Thu Mar 8 14:38:13 CET 2018
Le 8 mars 2018 à 14:26, jfbu <jfbu at free.fr> a écrit :
> Hi
>
> Le 8 mars 2018 à 12:25, Mojca Miklavec <mojca.miklavec.lists at gmail.com> a écrit :
>
>> Hi,
>>
>> Last year there were many complaints about the slowness of darwin
>> legacy binaries.
>>
>> Is anyone willing to test these and compare them with, say, TL2016 and
>> the non-legacy darwin binaries compiled by Dick which are already in
>> TL pretest?
>> http://dl.contextgarden.net/build/texlive/darwin/
>>
>> There's currently one variant of the build available, but I'll prepare
>> a couple more.
>>
>> The binaries above (x86_64-darwinlegacy_libc++_nomods.tar.xz) were
>> compiled with clang 5.0 on 10.6 and should in principle work out of
>> the box on 10.7 and later. On 10.6 they only work for those who have
>> libc++ installed (for example from MacPorts) and a few further
>> modifications are needed to make them work entirely out of the box on
>> 10.6, but that's a different topic.
>>
>> Mojca
>
>
> I made test, only for tex binary
>
> Downloads$ time tex temptest.tex
> This is TeX, Version 3.14159265 (TeX Live 2018) (preloaded format=tex)
> (./temptest.tex . . . . . . . . . . )
> No pages of output.
> Transcript written on temptest.log.
>
> real 0m2.310s
> user 0m2.295s
> sys 0m0.013s
>
> Downloads$ time tex temptest.tex
> This is TeX, Version 3.14159265 (TeX Live 2017) (preloaded format=tex)
> (./temptest.tex . . . . . . . . . . )
> No pages of output.
> Transcript written on temptest.log.
>
> real 0m2.168s
> user 0m2.150s
> sys 0m0.016s
>
> Downloads$ time tex temptest.tex
> This is TeX, Version 3.14159265 (TeX Live 2017/MacPorts 2017_1) (preloaded format=tex)
> (./temptest.tex . . . . . . . . . . )
> No pages of output.
> Transcript written on temptest.log.
>
> real 0m1.669s
> user 0m1.654s
> sys 0m0.011s
>
> I tried a few more times the testing with the new binary and got similar result.
>
> This is on an iMac under 10.9.5.
>
> The test file is this
>
> \def\A{\B\B\B\B\B\B\B\B\B\B}% 10
> \def\B{\C\C\C\C\C\C\C\C\C\C}% 100
> \def\C{\noexpand\A\noexpand\A\noexpand\A\noexpand\A
> \noexpand\A\noexpand\A\noexpand\A\noexpand\A
> \noexpand\A\noexpand\A}% 1000
> \edef\D{\A}% 1000
> \edef\E{\D}% 1000000
>
> \def\A{\edef\z{666}}
>
> \E\message{.}
> \E\message{.}
> \E\message{.}
> \E\message{.}
> \E\message{.}
> \E\message{.}
> \E\message{.}
> \E\message{.}
> \E\message{.}
> \E\message{.}
> \bye
>
> With TeXLive 2016 :
>
> Downloads$ time tex temptest.tex
> This is TeX, Version 3.14159265 (TeX Live 2016) (preloaded format=tex)
> (./temptest.tex . . . . . . . . . . )
> No pages of output.
> Transcript written on temptest.log.
>
> real 0m1.660s
> user 0m1.622s
> sys 0m0.014s
>
>
> which is similar to the timing for my MacPorts 2017 binary (I installed it in August 2017).
>
> Is there any other experiment I can contribute ?
>
> The TeX file above is perhaps not a good testbed.
>
> On the plus side, the binary did execute ;-)
>
> Best,
>
> (I will do some random trials and report if I find a binary not working on 10.9.5)
>
> Jean-François
>
Here is with luatex on the same test file
$ time luatex temptest.tex
This is LuaTeX, Version 0.95.0 (TeX Live 2016)
restricted system commands enabled.
(./temptest.tex . . . . . . . . . .)
warning (pdf backend): no pages of output.
Transcript written on temptest.log.
real 0m1.585s
user 0m1.561s
sys 0m0.018s
$ time luatex temptest.tex
This is LuaTeX, Version 1.0.4 (TeX Live 2017/MacPorts 2017_1)
restricted system commands enabled.
(./temptest.tex . . . . . . . . . .)
warning (pdf backend): no pages of output.
Transcript written on temptest.log.
real 0m1.745s
user 0m1.716s
sys 0m0.025s
$ time luatex temptest.tex
This is LuaTeX, Version 1.07.0 (TeX Live 2018)
restricted system commands enabled.
(./temptest.tex . . . . . . . . . .)
warning (pdf backend): no pages of output.
Transcript written on temptest.log.
real 0m2.618s
user 0m2.593s
sys 0m0.020s
Best,
Jean-François
More information about the tex-live
mailing list