octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #66012] printing to the pdflatex device is slo


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #66012] printing to the pdflatex device is slow
Date: Thu, 25 Jul 2024 17:56:29 -0400 (EDT)

Follow-up Comment #13, bug #66012 (group octave):

On my system I see the timings for the three operations
are 

tic; for ii = 1:10, system ('latex tst.tex'); end; toc   ## -> 0.140 s/call
tic; for ii = 1:20, system ('dvipng tst.dvi'); end; toc  ## -> 0.135 s/call
tic; for ii = 1:20, system ('dvisvgm tst.dvi'); end; toc ## -> 0.235 s/call

So 45 % of the time is spent preparing an svg image that will only be useful
if the user finally prints with the svgconvert tool. So, for an improvement of
a factor of almost 2, instead of storing the content of the svg file in the
cache, as we currently do, we may want to store the content of the dvi
(binary) file and let the gl2ps_renderer run dvisvgm only when needed. 


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66012>

_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]