■■■■ LATEX BENCHMARK ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■

©2024 Nicolai Lang, Institute for Theoretical Physics III, University of Stuttgart

This is a simple script & database to benchmark the performance of systems for the compilation of LaTeX documents.
The script measures the time needed to compile a stripped-down version of my lecture notes on quantum field theory (many packages, lots of equations, boxes, TikZ figures ...).
If you happen to compile a lot of heavy LaTeX documents, the scoreboard below might help you to decide which CPU to buy.

Requirements: git, curl, pdflatex, bibtex, bc, GNU utils (a full installation of TeX Live [or equivalent] is preferable).
            
  ↪ Debian/Ubuntu: sudo apt-get install git curl bc texlive-full 
  ↪ Arch/Manjaro:  sudo pacman -S git curl bc texlive
  ↪ Fedora/Rocky:  sudo dnf install git curl bc texlive-scheme-full

To run the benchmark on Linux or macOS:

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ bash -c "$(curl -L -s itp3.info/latexbench)"        ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

You can (and should) inspect what the script does in the Git repository.

You need a key to submit a score to our database; drop me a mail to get one. (I am particularly interested in systems that make it into the top 10.)
Please use the comment to indicate whether your system is "non-standard" (e.g., overclocked).


□□□□ SCOREBOARD □□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□□

This ranking contains 28 CPUs and has been generated at 2025-03-13 18:14:18.

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Sorted from BEST to WORST. LOWER scores are BETTER. ┃
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

 █ = minimum runtime  ▓ = average runtime  ░ = maximum runtime


 1 ┃ 9.3 s (9.3-9.3)    ┃ █████████████████████████████████████████████████████████████████████████████████████████████
CPU: AMD Ryzen 5 7600 6-Core Processor • System: 5.19.0-45-generic (Linux) • Submitted: 2024-02-12 18:47:53 • Comment: Nicolai Server
↑ -10.6 % ========================================================================================================================================================================================================
 2 ┃ 10.4 s (10.3-10.4) ┃ ███████████████████████████████████████████████████████████████████████████████████████████████████████▓
CPU: Apple M4 • System: 24.2.0 (Mac) • Submitted: 2025-01-05 17:41:24 • Comment: Nicolai MacMini M4
↑ -1.9 % ========================================================================================================================================================================================================
 3 ┃ 10.6 s (10.4-10.7) ┃ ████████████████████████████████████████████████████████████████████████████████████████████████████████▓▓░
CPU: AMD Ryzen 7 7840HS with Radeon 780M Graphics • System: 6.8.0-41-generic (Linux) • Submitted: 2025-02-08 23:34:39 • Comment: IdeaPad 5 Pro 14APH8
↑ 0.0 % ========================================================================================================================================================================================================
 4 ┃ 10.6 s (10.6-10.7) ┃ ██████████████████████████████████████████████████████████████████████████████████████████████████████████░
CPU: AMD Ryzen 7 7800X3D 8-Core Processor • System: 6.8.0-41-generic (Linux) • Submitted: 2025-02-08 23:52:22 
↑ -5.4 % ========================================================================================================================================================================================================
 5 ┃ 11.2 s (11.2-11.2) ┃ ████████████████████████████████████████████████████████████████████████████████████████████████████████████████
CPU: AMD Ryzen 7 5800X 8-Core Processor • System: 6.7.1-arch1-1 (Linux) • Submitted: 2024-01-26 17:17:18 
↑ -1.8 % ========================================================================================================================================================================================================
 6 ┃ 11.4 s (11.4-11.5) ┃ ██████████████████████████████████████████████████████████████████████████████████████████████████████████████████░
CPU: AMD EPYC 9374F 32-Core Processor • System: 5.15.0-86-generic (Linux) • Submitted: 2024-01-26 18:01:34 
↑ -8.1 % ========================================================================================================================================================================================================
 7 ┃ 12.4 s (12.3-12.6) ┃ ███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▓░░
CPU: AMD Ryzen 5 5600 6-Core Processor • System: 6.5.0-26-generic (Linux) • Submitted: 2024-04-04 00:05:11 
↑ 0.0 % ========================================================================================================================================================================================================
 8 ┃ 12.4 s (12.4-12.4) ┃ ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
CPU: 12th Gen Intel(R) Core(TM) i7-12700T • System: 6.1.0-26-amd64 (Linux) • Submitted: 2025-01-05 17:54:50 • Comment: ITP3 HP Desktop (2023)
↑ 0.0 % ========================================================================================================================================================================================================
 9 ┃ 12.4 s (12.3-12.4) ┃ ███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▓
CPU: Intel(R) Core(TM) i5-14500T • System: 6.1.0-28-amd64 (Linux) • Submitted: 2025-01-05 17:51:51 • Comment: ITP3 HP Desktop (2024)
↑ -0.8 % ========================================================================================================================================================================================================
10 ┃ 12.5 s (12.4-12.6) ┃ ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▓░
CPU: AMD Ryzen 9 6900HS with Radeon Graphics • System: 6.9.7-arch1-1 (Linux) • Submitted: 2024-01-26 17:15:42 
↑ -2.3 % ========================================================================================================================================================================================================
11 ┃ 12.8 s (12.5-13.1) ┃ █████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▓▓▓░░░
CPU: AMD Ryzen 5 5600G with Radeon Graphics • System: 5.15.0-91-generic (Linux) • Submitted: 2024-01-26 18:22:57 
↑ -3.0 % ========================================================================================================================================================================================================
12 ┃ 13.2 s (13.0-13.7) ┃ ██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▓▓░░░░░
CPU: AMD EPYC 9354 32-Core Processor • System: 6.5.0-14-generic (Linux) • Submitted: 2024-01-26 18:42:40 
↑ -0.8 % ========================================================================================================================================================================================================
13 ┃ 13.3 s (13.2-13.5) ┃ ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▓░░
CPU: Apple M2 • System: 23.2.0 (Mac) • Submitted: 2024-02-20 14:53:19 • Comment: MBA 2022 M2 Base Tex Live 2023
↑ -5.0 % ========================================================================================================================================================================================================
14 ┃ 14.0 s (14.0-14.0) ┃ ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
CPU: Apple M1 Pro • System: 23.3.0 (Mac) • Submitted: 2024-02-20 13:13:08 • Comment: MBP 2021 M1 Pro with TeX Live 2022
↑ -6.0 % ========================================================================================================================================================================================================
15 ┃ 14.9 s (14.9-15.0) ┃ █████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████░
CPU: Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz • System: 5.15.0-91-generic (Linux) • Submitted: 2024-01-26 18:10:33 
↑ -2.0 % ========================================================================================================================================================================================================
16 ┃ 15.2 s (15.1-15.3) ┃ ███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▓░
CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz • System: 6.9.10-arch1-1 (Linux) • Submitted: 2024-07-23 10:52:07 • Comment: fachschaft pc
↑ -3.8 % ========================================================================================================================================================================================================
17 ┃ 15.8 s (15.8-15.9) ┃ ██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████░
CPU: AMD EPYC 7453 28-Core Processor • System: 5.15.0-91-generic (Linux) • Submitted: 2024-01-26 17:43:18 
↑ -0.6 % ========================================================================================================================================================================================================
18 ┃ 15.9 s (15.9-16.0) ┃ ███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████░
CPU: AMD Ryzen 5 3600 6-Core Processor • System: 6.9.10-arch1-1 (Linux) • Submitted: 2024-07-21 17:44:36 • Comment: Desktop PC, full TeX Live 2024
↑ -0.6 % ========================================================================================================================================================================================================
19 ┃ 16.0 s (16.0-16.1) ┃ ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████░
CPU: AMD Ryzen 7 4800U with Radeon Graphics • System: 5.15.0-86-generic (Linux) • Submitted: 2024-01-26 18:06:25 
↑ -4.2 % ========================================================================================================================================================================================================
20 ┃ 16.7 s (16.7-16.7) ┃ ███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
CPU: Intel(R) Xeon(R) Gold 6230 CPU @ 2.10GHz • System: 5.15.0-75-generic (Linux) • Submitted: 2024-02-20 18:19:14 • Comment: Intel Computing Node
↑ 0.0 % ========================================================================================================================================================================================================
21 ┃ 16.7 s (16.7-16.7) ┃ ███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
CPU: Intel(R) Xeon(R) Gold 6230 CPU @ 2.10GHz • System: 5.15.0-75-generic (Linux) • Submitted: 2024-01-26 18:25:12 
↑ -12.6 % ========================================================================================================================================================================================================
22 ┃ 19.1 s (19.1-19.1) ┃ ███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
CPU: Apple M1 • System: 23.4.0 (Mac) • Submitted: 2024-05-22 08:09:49 • Comment: Mac Mini M1, MiKTeX 22.1
↑ -9.9 % ========================================================================================================================================================================================================
23 ┃ 21.2 s (21.2-21.2) ┃ ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
CPU: AMD EPYC 7352 24-Core Processor • System: 5.15.0-71-generic (Linux) • Submitted: 2024-01-26 18:22:36 
↑ -3.2 % ========================================================================================================================================================================================================
24 ┃ 21.9 s (21.1-22.5) ┃ ███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▓▓▓▓▓▓▓▓░░░░░░
CPU: Intel(R) Xeon(R) CPU X5482 @ 3.20GHz • System: 19.6.0 (Mac) • Submitted: 2024-02-14 04:37:51 • Comment: macOS Catalina (VM)
↑ -0.9 % ========================================================================================================================================================================================================
25 ┃ 22.1 s (22.0-22.3) ┃ ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▓░░
CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz • System: 5.15.0-91-generic (Linux) • Submitted: 2024-01-26 18:22:21 
↑ -4.7 % ========================================================================================================================================================================================================
26 ┃ 23.2 s (23.2-23.3) ┃ ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████░
CPU: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz • System: 5.15.0-75-generic (Linux) • Submitted: 2024-01-26 18:25:24 
↑ -0.4 % ========================================================================================================================================================================================================
27 ┃ 23.3 s (23.3-23.4) ┃ █████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████░
CPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx • System: 6.8.0-41-generic (Linux) • Submitted: 2025-02-09 11:14:32 • Comment: ThinkPad E495
↑ -2.5 % ========================================================================================================================================================================================================
28 ┃ 23.9 s (23.6-24.2) ┃ ████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████▓▓▓░░░
CPU: AMD Ryzen 3 PRO 3300U w/ Radeon Vega Mobile Gfx • System: 6.7.9-arch1-1 (Linux) • Submitted: 2024-03-13 10:47:04 • Comment: ThinkPad T495, full TeX Live 2023