ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Re: Processing time
       [not found] <CAE0RQy=6jJ2tt7sd4Br_mGS8GU8ZR9gcp5ch9VChu8b4JeJeYQ@mail.gmail.com>
@ 2025-06-20 11:25 ` Wolfgang Schuster
       [not found]   ` <CAE0RQymh=4NVYhWZHwuA04Ymbhd93CfLn776_+kgWj0Ue0f2jg@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2025-06-20 11:25 UTC (permalink / raw)
  To: ntg-context

Am 20.06.2025 um 12:42 schrieb John Was:
> Hello
> 
> I am using a very short experimental file of five pages to acquaint 
> myself with ConTexT, and find that processing takes a long time (over a 
> minute or sometimes over two minutes) because at every run it is 
> checking on paths etc. - mainly verifying and searching for fonts.
> 
> Is there some way to prevent this, either by a command within the file 
> or by giving something after -- when I invoke ConText (which I do from 
> the Windows command line)?
> 
> I shall paste below a short section of a very long log (1452 lines) so 
> that ConTexperts can see what I mean.
> 
> Best wishes
> 
> John *🇪🇺 * Слава Україні!*🇺🇦
> *
> 
> system          >
> system          > ConTeXt  ver: 2025.02.28 18:12 LMTX  fmt: 2025.6.8 
>   int: english/english
> system          >
> system          > 'cont-new.mkxl' loaded
> open source     > level 1, order 1, name 'C:/texlive/2025/texmf-dist/ 
> tex/context/base/mkxl/cont-new.mkxl'
> system          > beware: some patches loaded from cont-new.mkiv
> close source    > level 1, order 1, name 'C:/texlive/2025/texmf-dist/ 
> tex/context/base/mkxl/cont-new.mkxl'
> system          > 'cont-sys.mkxl' loaded
> open source     > level 1, order 2, name 'C:/texlive/2025/texmf-dist/ 
> tex/context/texlive/cont-sys.mkxl'
> close source    > level 1, order 2, name 'C:/texlive/2025/texmf-dist/ 
> tex/context/texlive/cont-sys.mkxl'
> system          > files > jobname './GHILexp', input './GHILexp.tex', 
> result './GHILexp'
> fonts           > latin modern fonts are not preloaded
> languages       > language 'en' is active
> open source     > level 1, order 3, name './GHILexp.tex'
> fonts           > checks > registering extra script 'auto'
> fonts           > preloading latin modern fonts (second stage)
> fonts           > 'fallback modern rm 12pt' is loaded
> backend         > profiles > setting format 'pdf/ua-2' to 'pdf/ua-2'
> backend         > profiles > forcing pdf version 2.0, compression level 
> 3, object compression level 3
> backend         > profiles > permitted colorspaces: rgb 'yes', cmyk 'yes'
> colors          > defining > supported models: gray 'true', rgb 'true', 
> cmyk 'true', spot 'true'
> transparencies  > support > transparency is supported
> viewerlayers    > viewerlayers are not supported
> backend         > xmp > using file 'C:/texlive/2025/texmf-dist/tex/ 
> context/base/mkiv/lpdf-pua.xml'
> open source     > level 2, order 4, name 'D:/TEXFILES/TEXINPUT/TEXDOCS/ 
> UNIDEFS/uhyphens.tex'
> close source    > level 2, order 4, name 'D:/TEXFILES/TEXINPUT/TEXDOCS/ 
> UNIDEFS/uhyphens.tex'

Why is uhyphens.tex loaded and what is its content?

> structure       > sectioning > chapter @ level 2 : 0.1 -> The rain in 
> Spain...
> fonts           > defining > font 'BaskervilleMTPro-Regular', feature 
> 'locl', script 'latn', no language 'dflt'
> fonts           > names > font database has mismatching configuration 
> and file hashes

Show your font setup, something is wrong with it and triggers a refresh 
of the database.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: Processing time
       [not found]           ` <CAE0RQyk4uGQ1iL0_7Xbr_qkhkqjcjNuo+5Cq85rJsxv7Y6kXOA@mail.gmail.com>
@ 2025-06-20 15:22             ` Hans Hagen
  2025-06-22 15:16               ` Henning Hraban Ramm
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2025-06-20 15:22 UTC (permalink / raw)
  To: John Was, mailing list for ConTeXt users

On 6/20/2025 4:06 PM, John Was wrote:
> Dear Wolfgang
> 
> Both of these process very quickly - 2 seconds for each separately, and 
> less than that if I put the Baskerville definition plus simple text 
> after the default Comp. Modern text.

on a bit recent machine (say 5 years old) a simple few page run with 
lation modern should run way below a second and unless you do complex 
stuff performance should be some 30-40 pages per second .. if not, there 
is an issue with your installation

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: Processing time
  2025-06-20 15:22             ` Hans Hagen
@ 2025-06-22 15:16               ` Henning Hraban Ramm
       [not found]                 ` <CAE0RQynoTgd7GNvg6pk3U9LLxYNr1x5=aAGftD-YYd5BusTYqA@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Henning Hraban Ramm @ 2025-06-22 15:16 UTC (permalink / raw)
  To: ntg-context

Am 20.06.25 um 17:22 schrieb Hans Hagen:
> On 6/20/2025 4:06 PM, John Was wrote:
>> Dear Wolfgang
>>
>> Both of these process very quickly - 2 seconds for each separately, 
>> and less than that if I put the Baskerville definition plus simple 
>> text after the default Comp. Modern text.
> 
> on a bit recent machine (say 5 years old) a simple few page run with 
> lation modern should run way below a second and unless you do complex 
> stuff performance should be some 30-40 pages per second .. if not, there 
> is an issue with your installation

E.g. if TEXINPUT is set to a big tree, TeX will look through that for 
every file. (I had TEXINPUT.lualatex set for a LaTeX project and it 
increased processing time with that engine by minutes.)

Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [NTG-context] Re: Processing time
       [not found]                     ` <CAE0RQykJVo72Bm+Z_NU_DC9pkbb8rNRmDE5bpByH+hSH0fnu-Q@mail.gmail.com>
@ 2025-06-22 17:58                       ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2025-06-22 17:58 UTC (permalink / raw)
  To: John Was, mailing list for ConTeXt users

On 6/22/2025 6:03 PM, John Was wrote:
> Yes, it's an odd thing - even odder now since the last two runs have 
> been much faster.  This without any intervention from me.  It will be 
> interesting to see what happens when I switch off and resume tomorrow.  
> But it's not a serious issue for me at the moment since I'm only using 
> the machine to experiment with various features of the program.

just try this after a fresh start:

context --make

context --make

and note the difference in reported time ... the operating system caches 
files and programs like tex benefits from this

in the past when running on a network share - in most cases we use(d) 
opensuse linux servers - using e.g. installations like texlive was 
basically impossible due to the size which is why we had the minimal 
distributions, also for pdfex/mkii; i think that over time kpse lookups 
improved a bit but is is one of the reasons why we had agressive caching 
in the runners (texexec etc) just so to limit the number of nested 
kpsewhich database loading overhead and kept startup time bearable

in the meantime startup time of a context run in lmtx should be below .5 
seconds and that includes the runner as well as the engine (and on 
modern systems below .25 sec but i can't check that as i only have 
laptop hardware pre 2018 to test on)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-06-22 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAE0RQy=6jJ2tt7sd4Br_mGS8GU8ZR9gcp5ch9VChu8b4JeJeYQ@mail.gmail.com>
2025-06-20 11:25 ` [NTG-context] Re: Processing time Wolfgang Schuster
     [not found]   ` <CAE0RQymh=4NVYhWZHwuA04Ymbhd93CfLn776_+kgWj0Ue0f2jg@mail.gmail.com>
     [not found]     ` <893522b2-166a-4afc-9740-1de6b7bb9198@gmail.com>
     [not found]       ` <CAE0RQymLfD90ue1TXWm=UBKYVBuJPx60a1sCWau1P9yBUEmdsA@mail.gmail.com>
     [not found]         ` <ebd1ddee-9760-4072-b38e-d515d1d21960@gmail.com>
     [not found]           ` <CAE0RQyk4uGQ1iL0_7Xbr_qkhkqjcjNuo+5Cq85rJsxv7Y6kXOA@mail.gmail.com>
2025-06-20 15:22             ` Hans Hagen
2025-06-22 15:16               ` Henning Hraban Ramm
     [not found]                 ` <CAE0RQynoTgd7GNvg6pk3U9LLxYNr1x5=aAGftD-YYd5BusTYqA@mail.gmail.com>
     [not found]                   ` <eafbee08-9f27-4ab3-a322-46f49f0c1473@xs4all.nl>
     [not found]                     ` <CAE0RQykJVo72Bm+Z_NU_DC9pkbb8rNRmDE5bpByH+hSH0fnu-Q@mail.gmail.com>
2025-06-22 17:58                       ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).