[tex4ht] performance of tex4ht on WSL linux vs. VBox linux

Nasser M. Abbasi nma at 12000.org
Mon Nov 18 01:28:12 CET 2024


> 
> Here is summary table of performance. All on same latex file of
> about 500 pages.
> 
>             +---------------+---------------+----------+
>             |window/Miktex  |  WSL/TexLive  | speed up |
> ----------+---------------+---------------+----------+
> lualatex  |  0m 9.4s      |  1m 15s       |7.5 times |
> ----------+---------------+---------------+----------+
> make4ht   |  5m 7s        |  6m 12s       |1.08 times|
> ----------+---------------+---------------+----------+
> 

I forgot to add the draft option timing. On Virtual box it was

real 2m6.559s
user 1m16.150s
sys  0m12.077s

Most of time I was seeing dvilualatex using almost 90-100% of the
CPU.

On widows, same command using draft option, the timing was

----------------------------
G:\public_html\my_notes\ODE_algorithms>ptime.exe make4ht --shell-escape -ulm draft -a warning -f html5+join_colors -c nma_mathjax.cfg -e MAIN.mk4 index.tex "mathjax,htm,5,fn-in,notoc*,p-width,charset=utf-8,cut-fullname,nostyle" "-cunihtf -utf8"

ptime 1.0 for Win32, Freeware - http://www.pc-tools.net/
Copyright(C) 2002, Jem Berkes <jberkes at pc-tools.net>

===  make4ht --shell-escape -ulm draft -a warning -f html5+join_colors -c nma_mathjax.cfg -e MAIN.mk4 index.tex "mathjax,htm,5,fn-in,notoc*,p-width,charset=utf-8,cut-fullname,nostyle" "-cunihtf -utf8" ===
This is LuaTeX, Version 1.18.1 (MiKTeX 24.4)
  system commands enabled.

Execution time: 126.038 s
------------------------------

Which is not much different than Virtual box.

I wonder why lualatex is so much faster on windows than tex4ht.

--Nasser



More information about the tex4ht mailing list.