Call for testing: builds of Tectonic for Apple Silicon #960
Replies: 4 comments 4 replies
-
Can confirm that rebuilding my master's thesis worked just fine with that binary! Please let me know if there's any specific sets of files you want me to test it on. Tested on a MacBook Pro with Apple M1 Pro processor (MacBookPro18,1). |
Beta Was this translation helpful? Give feedback.
-
@pkgw Working without issues so far, everything looks good to me 🚀 I've ran some benchmarks too, with xenia/paper.tex: $ time ./tectonic-0.12.0-x86_64 paper.tex
real 0m2.536s
user 0m2.358s
sys 0m0.162s
$ time ./tectonic-0.12.0-aarch64 paper.tex
real 0m1.975s
user 0m1.824s
sys 0m0.145s ≈ Normalized values with hyperfine: $ hyperfine -w 8 -r 64 './tectonic-0.12.0-aarch64 paper.tex' './tectonic-0.12.0-x86_64 paper.tex'
Benchmark 1: ./tectonic-0.12.0-aarch64 paper.tex
Time (mean ± σ): 1.970 s ± 0.030 s [User: 1.826 s, System: 0.136 s]
Range (min … max): 1.936 s … 2.104 s 64 runs
Benchmark 2: ./tectonic-0.12.0-x86_64 paper.tex
Time (mean ± σ): 2.545 s ± 0.066 s [User: 2.385 s, System: 0.140 s]
Range (min … max): 2.462 s … 2.835 s 64 runs
Summary
'./tectonic-0.12.0-aarch64 paper.tex' ran
1.29 ± 0.04 times faster than './tectonic-0.12.0-x86_64 paper.tex'
* Note: the marketing term would be Apple Silicon; Metal typically refers to Apple's graphics API, à la OpenGL. |
Beta Was this translation helpful? Give feedback.
-
More benchmarks compiling XeLaTeX:$ time latexmk -pdfxe -bibtex biblatex.tex
real 0m22.137s
user 0m21.508s
sys 0m0.558s LuaHBTeX:$ time latexmk -pdflua -bibtex biblatex.tex
real 0m54.335s
user 0m53.093s
sys 0m1.090s Tectonic (aarch64): 🚀$ time ./tectonic-0.12.0-aarch64 biblatex.tex
real 0m18.617s
user 0m18.265s
sys 0m0.278s Tectonic (x86_64, Rosetta 2):$ time ./tectonic-0.12.0-x86_64 biblatex.tex
real 0m22.370s
user 0m22.013s
sys 0m0.295s Software:
Hardware:
|
Beta Was this translation helpful? Give feedback.
-
@pkgw Do you think it's a good idea to have a centralized place to monitor, collect stats and keep tabs on |
Beta Was this translation helpful? Give feedback.
-
Hi all,
As per this comment, in #959 I've prototyped a CI build of Tectonic for Apple on ARM64 chips. A package of the binary is here:
https://newton.cx/~peter/files/tectonic-0.11.0+20221025-aarch64-apple-darwin.tar.gz
Would anyone be able to give it a test and report whether it seems to work? Thanks!
edit: oops, I labeled this "Apple Metal" first. I mean Apple Silicon!
Beta Was this translation helpful? Give feedback.
All reactions